Importing to hg from perforce with large binary files
Frank Kingswood
frank at kingswood-consulting.co.uk
Thu Jan 27 05:18:28 CST 2011
On 26/01/11 18:20, Mark Mason wrote:
> I'm trying to convert a p4 depot to Mercurial. The depot in question
> contains many large binary files, which I would like to handle under
> Mercurial with one of the big/binary file extensions.
> After several hours of crunching through the data, I ended up with a 25G
> hg repo, and an empty binaries directory :(. I was hopeful that this
> would just work[tm], but not too surprised that it didn't. I'm a
> reasonably fluent python programmer, but I'm not familiar enough with
> the inner workings of Mercurial yet to craft my own extension to do this.
> Or do I have to frankenstein the binary file support into the perfarce
> extension? I'm not sure I have the time to do that within our evaluation
> schedule (besides, I also have my day job of writing firmware), even
> though it sounds like fun.
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.
This would be good to get some input from other users on too.
Frank
More information about the Mercurial
mailing list