I can add and view subrepositories just fine if I manually edit the .hgsub
file.

I am trying to add a git repository "~/vimfiles/bundle/vim-abolish" as a
subrepository of my mercurial repository at "~/vimfiles". The "bundle"
folder is currently part of my hg repository but not vim-abolish (as I
mentioned, that's a git repo).

But when I right-click on the vimfiles repository in the workbench, and
choose "add subrepository", then navigate to the
vimfiles/bundle/vim-abolish folder, I get an error message:

"Cannot add subrepository
A repository cannot be added as a subrepo of itself"

I was using TortoiseHg 3.2.1, but I upgraded to 3.5.2, and the issue
persists.

Obviously I'm using this feature wrong somehow. What is the correct way to
add a subrepository via the GUI? Can the folder not be already present in
the top-level repository for some reason?

I've searched through the user manual which came with the latest TortoiseHg
install, but it does not mention how to use this "add subrepository"
context menu item. Web searching was equally unhelpful.
------------------------------------------------------------------------------
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to