hg status lying about real situation... - fixed

Alessandro Dentella sandro at e-den.it
Fri Dec 12 20:56:00 UTC 2008


On Fri, Dec 12, 2008 at 09:25:37AM -0800, Peter Hosey wrote:
> On Dec 12, 2008, at 04:37:37, Alessandro Dentella wrote:
>> In this example "from colorize..." was added in rev. 117, hg cat finds 
>> it but "hg st" doesn't really understarts it's different.
>
>
> Your message seems to say that:
>
> 1. Someone added that line.
> 2. They committed it in r117.
> 3. You expect hg status to show the change, even though it's committed.
>
> That's not how hg status works. hg status shows changes that *aren't*  
> committed as of the current parent revision (hg parent).

No, my complain was that the file in the working directory is different from
what it should be and the file doesn't detects it.

The genesis was here:

sandro at bluff:/misc/src/hg/isi/isi-checkup.ko$ hg up
abort: untracked file in working directory differs from file in requested revision: 'log'

I didn't realize that is aborted update, so that parent directory was not
the tip:

sandro at bluff:/misc/src/hg/isi/isi-checkup.studio$ hg parents 
changeset:   111:848db102c450
user:        Simone <simone.castellazzi at gmail.com>
date:        Tue Oct 28 11:40:47 2008 +0100
summary:     inserita classe Colorize

sandro at bluff:/misc/src/hg/isi/isi-checkup.studio$ hg tip
changeset:   124:8ab9c99a92d5
tag:         tip
user:        Simone <simone.castellazzi at gmail.com>
date:        Fri Dec 12 09:00:03 2008 +0100
summary:     fix


thanks for the answer

sandro
*:-)




-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy



More information about the Mercurial mailing list