On Sat, Jun 21, 2008 at 03:01:58PM +1000, James Sadler <[EMAIL PROTECTED]> 
wrote:
> I have posted on this mailing list before (and reported bugs) about
> various Darcs performance issues.
> Ultimately it means I can no longer use Darcs on my old large repo.  I
> have since moved to another DVCS
> and took a snapshot of the tree of the old repo and used that as a
> starting point for the new history.
> 
> I have tried many different conversion tools (tailor, darcs-2-git etc)
> but they all invoke Darcs under the hood
> and on my large repo Darcs hits the exponential time/space issue (yes,
> even Darcs 2).

I have no idea what is the size of your repo. About a year ago I had to
convert a repo with about 30k patches. I had to do it fast, so I did not
do proper solutions, but hacks. It's available here:

http://vmiklos.hu/project/tailor/

During the last year I submitted back most of the changes to tailor, but
the performance issue is still there. I broke the possibility of an
incremental conversion, but this way I was able to convert such a big
repo, too.

NOTE: IIRC there were a few differences when I replaced _darcs with
.git, but they were really minor, so I would not worry about it.

> The GitHub URL for my converter:
> http://github.com/freshtonic/darcs-fast-export/tree/master
> 
> The clone URL:
> git://github.com/freshtonic/darcs-fast-export.git
> 
> Thanks in advance for any advice/code/time.

If you use fast-import...

http://repo.or.cz/w/darcs2git.git

did you try this one?

It properly parses the darcs patch format and maps darcs conflict
resolutions to git merges. My problem with it was it did not handle
special authors names, like empty author and other small problems.

I also did a lot of work on tailor when I found darcs2git. But I think
if you want to work on something, darcs2git would worth at least a look.

Ah and sorry for not commenting your code, but I don't know Ruby at all.
;-)

Attachment: pgpfTOH3OGm1W.pgp
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to