example usage of hg copy

Aneesh Kumar K.V aneesh.kumar at hp.com
Fri Jul 1 05:55:18 UTC 2005


Hi,

Can somebody point me to the usage of hg copy with an example. Can i use 
  it to rename a file ? If so how ?

i did

mv a.c d.c
hg copy a.c d.c

and after i was trying hg log d.c . I was expecting it will show me the 
history of a.c also with rename as one entry.

-aneesh



More information about the Mercurial mailing list