HG Convert Extension

Mcadams, Philip W philip.w.mcadams at intel.com
Fri Sep 13 12:40:55 CDT 2013


Matt,

Thank you for your prompt reply!  Your assistance is highly appreciated!

Thank you.

Philip McAdams
Systems Administrator - NVM Solutions Group Systems Engineering Apps & Infrastructure
Desk: (916) 377-6156 Cell: (916) 534-0092 Pole: FM3-1-D7


-----Original Message-----
From: Matt Mackall [mailto:mpm at selenic.com] 
Sent: Thursday, September 12, 2013 4:28 PM
To: Mcadams, Philip W
Cc: mercurial-devel at selenic.com; Akhter, Farzana
Subject: Re: HG Convert Extension

On Thu, 2013-09-12 at 18:57 +0000, Mcadams, Philip W wrote:
> Hello,
> 
> I'm utilizing the hg convert extension and from my understanding using 
> filemap ensures that both the necessary files/folders and history of 
> the removed files/folder is excluded from the newly created converted 
> repo.  As of now I don't see way to access the history in the new repo 
> of the old files (which is what I want) and also when comparing the 
> files sizes of the old repo, new repo and the removed files, the 
> entire content of the old files appears to be removed.  When reviewing 
> the actual documentation:
> http://mercurial.selenic.com/wiki/ConvertExtension I didn't see any 
> information that explicitly stated anything regarding the removed 
> files history.

Unlike many other commands where there's a concept of a working directory to delete things from that's separate from history, the convert extension operates on history and only history. So when you tell it to delete something, it implicitly deletes it from history.

But if you're in doubt, you can go into .hg/store/data and poke around for the corresponding files to ensure they're not there. Unless you've got unusual filenames, it should be pretty easy to figure out what's what. Don't try to delete files from there, though, as you'll make Mercurial very unhappy.

--
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list