This answer is not useful. Show activity on this post. Hg is the chemical symbol for Mercury, element # 80 in the periodic table: The symbol comes from Hydragyrum , the name for the substance using Greek roots, meaning (roughly) "silver water" (another name for Mercury was quicksilver).
hg status shows the status of a repository. Files are stored in a project's working directory (which users see), and the local repository (where committed snapshots are permanently recorded). hg add tells Mercurial to track files. hg commit creates a snapshot of the changes to 1 or more files in the local repository.
If you already have Mercurial installed, make sure you have version 1.7 or later. To check, enter hg --version at the command line.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With