hg status vs. commit

Alpar Juttner ajuttner.list at googlemail.com
Mon Aug 16 15:21:18 UTC 2010


Hi,

I would like to believe if 'hg status' says nothing, then 'hg commit'
will do nothing, as well. Unfortunately, it is not always the case.

        $ hg status     #Says nothing
        $ hg ci -m 'X'  #Doesn't commit anything
        nothing changed
        $ hg branch t
        marked working directory as branch t
        $ hg status     #Says nothing
        $ hg ci -m 'X'  #Does create a chgset
        $ hg status
        $ hg ci -m 'X'
        nothing changed
        
Is this considered a bug?

Regards,
Alpar




More information about the Mercurial mailing list