[issue650] Unmodified file considered modified

Markus F.X.J. Oberhumer mercurial-bugs at selenic.com
Wed Jul 25 07:16:20 CDT 2007


New submission from Markus F.X.J. Oberhumer <markus at oberhumer.com>:

I have encountered a strange situation where hg incorrectly considers a file as
modified (doc/Makefile in the log below). I can reproduce that with 0.9.4 and
current tip.

The hg_test.sh script to reproduce this bug report is attached, and I can also
provide more info for debugging.

~Markus


+ set -x
+ ./hg version
Mercurial Distributed SCM (version a0d37976cd5b+20070725)

Copyright (C) 2005-2007 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.
+ ./hg showconfig
paths.default=http://selenic.com/hg/
+ ./hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
663 files, 4997 changesets, 9466 total revisions
+ ./hg identify
a0d37976cd5b+ tip
+ ./hg status
M doc/Makefile
+ ./hg diff
+ ls -l doc/Makefile
-rw-r--r-- 1 mfx users 918 Jul 20 13:45 doc/Makefile
+ md5sum doc/Makefile
8c45d77c37712b1ff2241029e2fdee7b  doc/Makefile
+ ./hg -vv commit -u testuser -m 'test commit 1'
doc/Makefile
+ ls -l doc/Makefile
-rw-r--r-- 1 mfx users 918 Jul 20 13:45 doc/Makefile
+ md5sum doc/Makefile
8c45d77c37712b1ff2241029e2fdee7b  doc/Makefile
+ hg -vv log -r-1
changeset:   4997:1f339623522f
tag:         tip
user:        testuser
date:        Wed Jul 25 14:08:50 2007 +0200
description:
test commit 1


+ ./hg status
+ ./hg -vv commit -u testuser -m 'test commit 2'
nothing changed

----------
files: hg_test.sh
messages: 3597
nosy: mfx
priority: bug
status: unread
title: Unmodified file considered modified

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue650>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg_test.sh
Type: application/x-shellscript
Size: 306 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20070725/55bd3bc6/attachment-0001.bin 


More information about the Mercurial-devel mailing list