Importing to hg from perforce with large binary files

Mark Mason mason97123 at gmail.com
Thu Jan 27 08:52:42 CST 2011


Hello,

On Thu, 2011-01-27 at 11:18 +0000, Frank Kingswood wrote:
> I've never used any of the big files extensions so I can't say what would be 
> needed, and how automatic this could be. But I agree that it would be 
> reasonable to expect it to work if the big files are in some subdirectory.
> 
> With similar changes to perfarce I'd expect that subrepos could also be 
> populated, but again I'm unsure what would be needed.

I've been poking at this a bit more, and from the looks of it, the
'bigfiles' extension at least gets it's work done by adding new
commands. I've been taking a closer look at the 'snap' extension, and it
looks like a very good candidate for getting this to work automagically.
It appears to hook into Mercurial at a lower level (I think) such that
the perfarce extension might have a chance to work with it, without
having to have any (or too much) knowledge about it.

Not that I've gotten the two of them to work together (as yet). :( But,
I think this might be closer than with the other extensions. At least it
looks like a good place to start.

I do wish I understood the internals a bit better ;), more reading to do
on my part.

Any pointers on things to change or try are always appreciated.

Thanks,
Mark



More information about the Mercurial mailing list