Help! repo conversion
Lele Gaifax
lele at nautilus.homeip.net
Fri Jul 1 04:30:10 CDT 2005
>>>>> "Andrew" == Andrew Walrond <andrew at walrond.org> writes:
Andrew> (lele cc'ed incase he has any insights)
Not needed, I'm subscribed to hg ML. But please, mentioning "tailor"
on subject line correctly hints my pycmail email rules :)
Andrew> This is currently running:
Andrew> tailor.py -b -s darcs -t hg -R /home/andrew/repo.darcs
Andrew> --subdir . -D repo.hg
Andrew> The subdir . is required to get the result in the top of
Andrew> repo.hg, rather than a subdir. But using --subdir . also
Andrew> has the effect of taking forever. Its been flat out 100%
Andrew> cpu (running darcs) for an hour now (and this is a fast
Andrew> x86_64 machine). Looking at the tailor code reveals:
Andrew> if subdir == '.': # This is currently *very* slow,
Andrew> compared to the darcs get # below!
Andrew> (Tailor uses darcs get if subdir != '.', which does indeed
Andrew> complete in a timely manner)
I'm afraid I cannot help here: I already chatted on the problem with
some darcs developer, but as of now I got no solutions. That's why I
implemented that double way of fetching initial version.
BTW, you get the same behaviour also on darcs own repository...
The fact is: get more or less takes a snapshot of current repository,
while pull tries the usual darcs magic of swapping patches at will.
Andrew> This occasional and unpredictable 'takes forever' darcs
Andrew> behaviour is the main reason I am looking at Hg as an
Andrew> alternative :)
Eh, darcs is the best around for almost anything, but it has a few
dark corners that are ruining its reputation :|
Andrew> I guess I'll leave it overnight and see what
Andrew> transpires. Otherwise, I guess I could not use --subdir
Andrew> . and just move the files up one directory after the
Andrew> conversion.
Oh yes, and darcs should be able to keep up fetching upstream changes
honoring the renames! :-)
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele at seldati.it | -- Fortunato Depero, 1929.
More information about the Mercurial
mailing list