example usage of hg copy

Thomas Arendsen Hein thomas at intevation.de
Fri Jul 1 01:08:41 CDT 2005


* Aneesh Kumar K.V <aneesh.kumar at hp.com> [20050701 08:02]:
> Can somebody point me to the usage of hg copy with an example. Can i use 
>  it to rename a file ? If so how ?
> 
> mv a.c d.c
> hg copy a.c d.c

This looks correct to me.

> 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.

This is not yet implemented. Though the information is stored,
hg log will not show it yet.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/


More information about the Mercurial mailing list