[issue890] file changes not detected if commits are made in a quick pace

Csaba Henk mercurial-bugs at selenic.com
Fri Dec 21 18:55:12 CST 2007


New submission from Csaba Henk <csaba.henk+hgbts at gmail.com>:

echo 1 > file1
echo 2 > file2
hg init
touch file
hg add file
for i in 1 2 
  do cp -v file$i file
  hg ci -m rev=$i || break
done

yields:

`file1' -> `file'
`file2' -> `file'
nothing changed

Note1: this was seen with hg 9d6ad26fab10, on Linux, on an ext3 fs.

Note2: this is based on a real life example: I had a sequence of file revisions
and I wanted to "mercurialize" them using a shell script similar to the above
one. So you can't say this never happens because commits don't follow each other
so fast...

----------
messages: 4668
nosy: csabahenk
priority: bug
status: unread
title: file changes not detected if commits are made in a quick pace

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



More information about the Mercurial-devel mailing list