HG Convert Extension

Matt Mackall mpm at selenic.com
Thu Sep 12 18:28:05 CDT 2013


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