From: Rocco Rutte Date: Thu, 08 Mar 2007 09:01:07 GMT Subject: Re: mercurial to git Message-ID: <20070308090107.GB2881@peter.daprodeges.fqdn.th-h.de> In-Reply-To: <20070306215459.GI18370@thunk.org> Hi, * Theodore Tso [07-03-06 16:54:59 -0500] wrote: >Hmm.... the way I was planning on handling the performance bottleneck >was to use "hg manifest --debug " and diffing the hashes against >its parents. Using "hg manifest" only hits .hg/00manifest.[di] and >.hg/00changelog.[di] files, so it's highly efficient. With the >--debug option to hg manifest (not needed on some earlier versions of >hg, but it seems to be needed on the latest development version of >hg), it outputs the mode and SHA1 hash of the files, so it becomes >easy to see which files were changed relative to the revision's >parent(s). >Once we know which files we need to feed to git-fast-import, it's just >a matter of using "hg cat -r " to feed the individual >changed file to git-fast-import. I've done that now and the repositories come out as before in about 10 minutes. Also I sanitized the tags handling and will push out the changed version somewhere soon. bye, Rocco -- :wq!