Why are mercurial subrepos behaving as unversioned files in eclipse
Posted
by noam
on Stack Overflow
See other posts from Stack Overflow
or by noam
Published on 2010-05-22T05:49:53Z
Indexed on
2010/05/22
5:50 UTC
Read the original article
Hit count: 367
I am trying to use the subrepo feature of mercurial, using the mercurial eclipse plugin . I created and added the .hgsub
file in the root repo, put all the mappings of the sub repos in it, and committed + pushed.
Then, I pulled the root repo in eclipse, using import->mercurial.
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). Furthermore, 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. Also, 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.
© Stack Overflow or respective owner