![]() When in doubt, always try to repeat what you do (up until the push) in a command line, to see what a Hg CLI (command Line Interface) session can show you. hgsub to do anything.įor instance, if rather than creating a local nested repository you attempt to link to a pre-existing remote one, you must ALSO clone that repository: $ echo nested = >. ![]() Note that the nested repository must actually exist for the line in. hgsub with " subdir = subdir" directive is not enough to make subdir a subrepo, if it was just a sub directory of main repo (without any. In your first step, did you have actual nested Mercurial repos in the root repo? hgsub fileĪm I doing something wrong, or is it a bug? Had the opposite happened (all subrepos treated as regular folders of the main repo rather than being treated as unversioned), I would have thought it's a bug caused by not treating subrepos. What they do looks rather sophisticated, so not probable to happen by a bug - they both ignore all folders that are in. both tortoise and eclipse do the same thing, so it's less probable to be a bug in either oneĢ. What makes me suspect it's some error on my side, is thatġ. I see the same behavior also in tortoiseHG - When I am browsing files under /root, the files belonging directly to the root repo have an small icon (a V sign) on them marking they are version controlled, while the subrepos' folders aren't marked as such. Now I see that all the subrepos appear as though they are unversioned (no "orange cylinder" icon next to their corresponding folders in the eclipse file explorer).įurthermore, when I right click on one of the subrepos, I don't get all the hg commands in the "team" menu as I usually get, with root projects - no "pull", "push" etc.Īlso, when I made a change to a file in a subrepo, and then "committed" the root project, it told me there were no changes found. Then, I pulled the root repo in eclipse, using import->mercurial. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |