[issue1429] hg status wrongly indicates files as modified on fresh clone

Dorin Marinca mercurial-bugs at selenic.com
Tue Dec 9 19:37:18 CST 2008


New submission from Dorin Marinca <dorin.marinca at gmail.com>:

Hi,
In the following type of scenario the hg status wrongly indicates some random
files in a fresh clone as being modified (one in this case). This is
reproducible systematically on different 3 clones but each time different files
are indicated as modified. The initial repository that is cloned is created with
same mercurial version (v1.1). The repository is quite big. FYI time
measurements are included on Dell Latitude D610, 2GB RAM. From my point of view,
it seems priority should be urgent or critical...

enabled extensions:

 extdiff
 fetch        pulling, updating and merging in one command
 graphlog     show revision graphs in terminal windows
 imerge
 mq           patch management and development
 patchbomb    sending Mercurial changesets as a series of patch emails
 purge        (no help text available)
 transplant   (no help text available)
 win32text    (no help text available)


Here is the sample session:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\dmarinca>cd d:\tmp

C:\Documents and Settings\dmarinca>d:

D:\tmp>cd d:\rootwa\os_fb

D:\rootwa\os_fb>hg verify --time
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
30575 files, 1 changesets, 30575 total revisions
Time: real 137.976 secs (user 60.858+0.000 sys 51.995+0.000)

D:\rootwa\os_fb>hg glog --time
@  changeset:   0:1a6bc2b2b98f
   tag:         tip
   user:        dim <dim at dim.dim>
   date:        Sun Dec 07 09:53:11 2008 +0100
   summary:     initial fetch

Time: real 0.226 secs (user 0.030+0.000 sys 0.180+0.000)

D:\rootwa\os_fb>hg status --time
Time: real 1.699 secs (user 0.631+0.000 sys 0.951+0.000)

D:\rootwa\os_fb>hg clone --time . ../os_fb_cmp
updating working directory
30575 files updated, 0 files merged, 0 files removed, 0 files unresolved
Time: real 943.544 secs (user 114.825+0.000 sys 75.739+0.000)

D:\rootwa\os_fb>cd ../os_fb_cmp

D:\rootwa\os_fb_cmp>hg verify --time
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
30575 files, 1 changesets, 30575 total revisions
Time: real 164.809 secs (user 55.790+0.000 sys 50.723+0.000)

D:\rootwa\os_fb_cmp>hg glog --time
@  changeset:   0:1a6bc2b2b98f
   tag:         tip
   user:        dim <dim at dim.dim>
   date:        Sun Dec 07 09:53:11 2008 +0100
   summary:     initial fetch

Time: real 0.243 secs (user 0.040+0.000 sys 0.160+0.000)

D:\rootwa\os_fb_cmp>hg status --time
M common\test\functional\xxxxxx\yyyyyyyyyyyyyy\Common\Bas\BAS_ZZZZZZZZZZ.vb
Time: real 10.344 secs (user 1.242+0.000 sys 1.182+0.000)

D:\rootwa\os_fb_cmp>hg diff --time
Time: real 2.303 secs (user 0.701+0.000 sys 1.442+0.000)

D:\rootwa\os_fb_cmp>hg --version
Mercurial Distributed SCM (version 1.1+20081203)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hope you can reproduce it on other configs.

----------
messages: 8145
nosy: dim
priority: urgent
status: unread
title: hg status wrongly indicates files as modified on fresh clone
topic: surprise, windows

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



More information about the Mercurial-devel mailing list