[issue391] log --copies can fail to detect copies
Alexis S. L. Carvalho
mercurial-bugs at selenic.com
Wed Oct 11 17:51:45 CDT 2006
New submission from Alexis S. L. Carvalho <alexis at cecm.usp.br>:
hg log --copies may fail to detect copies in some particular cases. For example:
hg init
echo foo > foo
echo bar > bar
hg add foo bar
hg ci -m 'add foo and bar'
hg mv foo quux
hg ci -m 'mv foo quux'
echo >> bar
hg ci -m 'change bar'
hg up -C 0
hg mv foo quux
echo bleh >> bar
hg ci -m 'mv foo quux again; change bar'
hg log -Cv -r tip
changeset: 3:22899480f998
tag: tip
parent: 0:6ddf9f5938cb
user: Alexis S. L. Carvalho <alexis at cecm.usp.br>
date: Wed Oct 11 19:50:01 2006 -0300
files: bar foo quux
description:
mv foo quux again; change bar
The problem is that manifest.readdelta returns a delta between rev-1 and rev
instead of between parent(rev) and rev.
----------
assignedto: brendan
messages: 2158
nosy: alexis, brendan
priority: bug
status: unread
title: log --copies can fail to detect copies
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue391>
____________________________________________________
More information about the Mercurial-devel
mailing list