Bug in Mercurial?

Octavian Râşniţă orasnita at gmail.com
Wed Dec 23 17:21:17 UTC 2009


Hi,

Today I've seen that Mercurial ignores some files from a program I made and 
I don't know if I am missing something or it has a bug.

I use to commit the changes using:

hg commit -A

Should this command add all the newly created files in the repository, even 
if they were not added before?

I also use to check if there are any uncommited changes using:

hg status

Well, I have used hg status for more times, with no results displayed so I 
thought that all the changes were commited.

After this step, I have pushed the changes to a central server as before, 
using:

hg push ssh://hg@my-site.ro:16007/hg/ProjectName

And then from that repository I cloned it with

hg clone

But 3 files were missing.

I have checked again my computer with hg status, but no uncommited changes 
were reported.

Then I added the files manually, using

hg add path/to/the/file

This command didn't tell me that those files were already added. After I 
added them this way, I was able to commit them, but I am not sure anymore 
that Mercurial is working correctly.

Is there another command than hg status which can tell me which are the 
non-commited files?

Thank you.

Octavian




More information about the Mercurial mailing list