[issue1747] repo corruption with local-fs clone in 1.3 on windows

Roman Neuhauser mercurial-bugs at selenic.com
Mon Jul 20 16:04:28 UTC 2009


New submission from Roman Neuhauser <roman.neuhauser at ge.com>:

hg 1.3 (installer from berkwood.com) on windows server 2003 ent.

we've been using hg for about half a year in a ms windows environment 
(oldest used version was 1.0.2 IIRC).  we've seen a few repo corruptions 
which we've attributed to "glitches" in the network, but today there's one 
that seems to point to the new hardlinks-on-windows feature.

hardlinks were definitely used (mv .hg .hg.broken.2009-07-20 I did later 
complained that it couldn't move a hardlink)

steps leading to the corruption:

cd /d/mine
hg clone /d/hg/trunk whatever
cd whatever
hg pull /f/my.bundle

(this was done in bash from msys)

changes pulled in from the bundle ended up in the source of the clone as 
well, and /d/hg/trunk was corrupted:

checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
 www/Hotline/class/commands/HTTP/queue/pager.php@?: rev 4 points to 
unexpected changeset 8479
 (expected 8024 8219 8468 8477 8505 8533)
 www/Hotline/class/commands/HTTP/queue/pager.php@?: 59e2db1d9221 not in 
manifests
 www/Hotline/class/commands/HTTP/queue/pager.php at 8505: bfb093decc05 not in 
manifests
 www/Hotline/class/commands/HTTP/queue/pager.php at 8533: 653bd91be416 not in 
manifests
 www/Hotline/class/commands/HTTP/queue/pager.php at 8505: 2e1be99e98c7 in 
manifests not found
 www/Hotline/class/commands/HTTP/queue/pager.php at 8533: 3c6c59983db0 in 
manifests not found
 www/Hotline/class/perms/manager.php@?: rev 19 points to unexpected 
changeset 8540
 (expected 8064 8308 8456 8510 8511 8512 8514 8515 8517 8520 8522 8523 8524 
8525 8527 8528 8529 8530 8531)
 www/Hotline/class/perms/manager.php@?: 84a0119e8d05 not in manifests
 www/Hotline/class/perms/manager.php@?: rev 20 points to nonexistent 
changeset 8543
 (expected 8064 8308 8456 8510 8511 8512 8514 8515 8517 8520 8522 8523 8524 
8525 8527 8528 8529 8530 8531)
 www/Hotline/class/perms/manager.php@?: ffbeb42fc26a not in manifests
5815 files, 8543 changesets, 29693 total revisions
3 warnings encountered!
10 integrity errors encountered!
(first damaged changeset appears to be 8505)

----------
messages: 10103
nosy: neuhauser
priority: bug
status: unread
title: repo corruption with local-fs clone in 1.3 on windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1747>
____________________________________________________



More information about the Mercurial-devel mailing list