Dan McDonald wrote:
> On Wed, Nov 05, 2008 at 08:02:38PM -0500, Bill Sommerfeld wrote:
>> I'd report this to scm-migration-dev at opensolaris.org for initial triage.
> 
> Okay!
> 
> Hello scm-migration-dev folks!
> 
>>>  Here's the deal:

Please confirm my suspicion that this is unrelated to the .hgignore file 
in the root of the workspace, by moving that file out of the way and 
making sure these still aren't reported.

Also, "hg list" isn't really (I think) what you're looking for here. 
What does "hg status" tell you in the same directory?

What are the mount options for the filesystem on which this workspace 
resides?

--Mark

>>> kebe(common/inet)[0]% hg outgoing -v
>>> comparing with /home/danmcd/zclones/onnv
>>> searching for changes
>>>
>>> changeset:   8018:8d3d37257d10
>>> tag:         tip
>>> user:        Dan McDonald <danmcd at sun.com>
>>> date:        Wed Nov 05 19:47:25 2008 -0500
>>>
>>> description:
>>>         6762791 race condition found in ipsecah during ipsec-persock test
>>>
>>> modified:
>>>    usr/src/uts/common/inet/ip/sadb.c
>>>
>>> kebe(common/inet)[0]% diff -r . ~/zclones/onnv/usr/src/uts/common/inet | 
>>> egrep -v "Common subdir|Only in" | grep diff
>>> diff -r ./sadb.h /home/danmcd/zclones/onnv/usr/src/uts/common/inet/sadb.h
>>> diff -r ./ip/ip_sadb.c 
>>> /home/danmcd/zclones/onnv/usr/src/uts/common/inet/ip/ip_sadb.c
>>> diff -r ./ip/sadb.c 
>>> /home/danmcd/zclones/onnv/usr/src/uts/common/inet/ip/sadb.c
>>> kebe(common/inet)[1]% 
>>>
>>> So definitely hg isn't picking up my changes in sadb.h and ip_sadb.c.  As 
>>> the
>>> kids say... WTF?  :)

But "hg outgoing" only reports committed changesets, not changes in the 
working directory, so you haven't (with the output above) demonstrated 
that hg is failing on those files.  How was this changeset committed?

>> I have a theory for something you can try.
>>
>> Before you do any modifications to your workspace, try a "zfs snapshot"
>> to preserve the crime scene.
> 
> I've done that.  It's not NFS-exported, but it's on
> kebe.east:/export/home/danmcd/crimescene/.
> 
>> once you've done that, try "touch sadb.h" and "touch ip_sadb.c" to
>> change the mod times on the file to see if it picks it up.
> 
> kebe(common/inet)[0]% touch sadb.h ip/ip_sadb.c
> kebe(common/inet)[0]% hg list
> modified:
>         usr/src/uts/common/inet/ip/sadb.c
> kebe(common/inet)[0]% 
> 
>> i believe that hg caches mod times somehow or other in a "dirstate"
>> file, but (because of python limitations) only has 1-second granularity
>> of timestamps.  
> 
> Could be, but just touching the files didn't work.
> 
> Help?!?
> 
> Dan
> _______________________________________________
> scm-migration-dev mailing list
> scm-migration-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/scm-migration-dev


Reply via email to