Mercurual doesn't see changes

Benoit Boissinot bboissin at gmail.com
Fri Nov 14 12:06:09 CST 2008


On Fri, Nov 14, 2008 at 09:00:05PM +0300, Igor Kostenko wrote:
> >>> Using "hg debugstate" can help too.
> >> lin # hg debugstate | grep commondef
> >> n 755       3082 2008-11-13 10:24:53 defs/GNUdefs/makefile.commondef
> >> n 755       2449 2008-11-12 15:15:13 defs/makefile.commondef
> >> win >hg debugstate | grep commondef
> >> n 755       3082 2008-11-13 10:24:53 defs/GNUdefs/makefile.commondef
> >> n 666       2449 2008-11-12 15:15:14 defs/makefile.commondef
> >>
> >
> > And if you compare with 'ls -l' is the length or the date different ?
> 
> ls show the same time and date
> # ll defs/GNUdefs/makefile.commondef
> -rwxr-xr-x 1 1000 users 3082 Nov 13 10:24 defs/GNUdefs/makefile.commondef
> # hg debugstate | grep commondef | grep GNU
> n 755       3082 2008-11-13 10:24:53 defs/GNUdefs/makefile.commondef

Ok, so it's expected that hg doesn't find any change.

> 
> but repository contains different file. I removed all files from
> working copy and then:
> # hg update -C
> 3649 files updated, 0 files merged, 0 files removed, 0 files unresolved
> # ll defs/GNUdefs/makefile.commondef
> -rwxr-xr-x 1 root root 2967 Nov 14 20:43 defs/GNUdefs/makefile.commondef
> # hg debugstate | grep commondef | grep GNU
> n   0         -1 unset               defs/GNUdefs/makefile.commondef
> # hg debugstate | grep commondef | grep GNU
> n 755       2967 2008-11-14 20:43:39 defs/GNUdefs/makefile.commondef

Why did the length change ? was the previous debugstate with a dirstate
generated under windows ? do you use inotify ? or encode/decode filters
under windows ?

regards,

Benoit
-- 
:wq


More information about the Mercurial mailing list