What does this symbol mean in Mercurial?
I've majorly refactored my project. I've added some new classes, but I've also RightClick > Deleted classes from within Visual Studio Solution Explorer.
What does the ! symbol mean?
All of the items marked with ! were things I'v开发者_如何学Pythone deleted in VS2010. Will this delete them from the repository as well?
Those files are "missing." You haven't explicitly removed those files from the repository, and yet mercurial can't find them.
If you commit with hg commit --addremove
then mercurial will remove all of the missing files from the repository. In this case, I think this is what you want to do - you've purposely deleted these files, and you don't want them to appear in future versions of your code. You'll still be able to go to an earlier version and call those files back if you want to.
As @Riley pointed out, it means they're missing. An alternative method of removing them from the repository is to use hg remove --after <filename>
. The comments in the hgbook point out the you can issue the command without specifying the filename, and it will remove all of the missing files, too, but it does complain for every file that isn't missing.
精彩评论