[Bug 3495] New: Status does not print copy source but log does on specific merge

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Mon Jun 11 23:51:03 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3495

          Priority: normal
            Bug ID: 3495
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Status does not print copy source but log does on
                    specific merge
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: john at peberdy.ca
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

In this obscure situation status does not print the copy source of a file but
log does. I'm not sure it's a bug. 

To reproduce:
$ hg clone https://bitbucket.org/mercurialeclipse/main
$ hg log --rev a06450a60e5f --template {file_copies} 
   Observe copy source is printed for GChangeSet.java
plugin/src/com/vectrace/MercurialEclipse/model/GChangeSet.java
(src/com/vectrace/MercurialEclipse/model/GChangeSet.java)

$ hg status --change a06450a60e5f --copies
   Observe GChangeSet.java is present but copy source is not printed
[...]
A plugin/src/com/vectrace/MercurialEclipse/model/GChangeSet.java
[...]
R src/com/vectrace/MercurialEclipse/model/GChangeSet.java
[...]

$ hg parents --rev a06450a60e5f --template "{node}\n"
5721a6c78082c080e250cdc9c17a28f1fdaa1f3b
59dd0d31a796fd1268fc2b600f4da16df6cf3191

$ hg status --rev a06450a60e5f --rev 5721a6c78082 --copies 
   Same as for --change

$ hg status --rev a06450a60e5f --rev 59dd0d31a796 --copies | grep GChan
M plugin/src/com/vectrace/MercurialEclipse/model/GChangeSet.java

$ hg --version
Mercurial Distributed SCM (version 2.2.1)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list