example usage of hg copy

Matt Mackall mpm at selenic.com
Fri Jul 1 06:11:40 UTC 2005


On Fri, Jul 01, 2005 at 11:25:18AM +0530, Aneesh Kumar K.V wrote:
> 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.

Rename only half works right now. It stores all the necessary data in
the history, but nothing currently uses or displays it. 

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list