On 1/31/2013 5:08 PM, Steve Borho wrote:


On Thu, Jan 31, 2013 at 6:45 PM, Ross Boylan <[email protected] <mailto:[email protected]>> wrote:

    Does tortoisehg provide a way to do an hg copy?  I see rename on the
    context menus, but not copy.

    I know there's a "detect renames" facility, which actually says
    "detect
    copy/renames" when it opens, but I find it quite slow and awkward.


The rename dialog has a checkbox that toggles between rename and copy. Also, if you do a right-click drag in explorer it will offer 'hg copy' and 'hg rename' as move options.

I tried right-click drag and got a bunch of alternatives including "Hg copy versioned item(s) here". When I clicked on it some Hg popup appeared extremely briefly, and then everything remained as before.

Should that work? I dragged to the same directory as the original file, and so making a copy with the same name would be undesirable. I was expecting either to get prompted for a new name or get the Windows standard "Copy of foo" when you copy file foo in the same directory.

Fortunately right clicking on the file (without drag) allowed me to select Hg rename; as you indicated it let me make a copy with a new name.

Ross
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to