[issue1007] bad diff after "hg rename"

Shamil Bikineyev mercurial-bugs at selenic.com
Fri Feb 29 03:32:50 CST 2008


New submission from Shamil Bikineyev <shamilbi at gmail.com>:

os = winXP sp2
mercurial version = 0.9.5-434139080ed4

steps to reproduce:
1)  hg init
2)  mkdir a
3)  touch a/a.txt
4)  echo "aaa" > a/a.txt
5)  hg add
6)  hg commit -m "first import"

7)  hg rename a b
8)  hg commit -m "a --> b"

9)  echo "bbb" >> b/a.txt
10) hg diff b/a.txt
    > +bbb
11) hg diff -r 0 b/a.txt
    > +aaa
    > +bbb

----------
messages: 5424
nosy: shamilbi
priority: bug
status: unread
title: bad diff after "hg rename"

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



More information about the Mercurial-devel mailing list