[darcs-users] Re: Colin Walters blogs on Arch changesets vs Darcs

Ketil Malde ketil at ii.uib.no
Thu Nov 25 04:55:06 UTC 2004


John Goerzen <jgoerzen at complete.org> writes:

> Perhaps, but this is exactly the case I tried to test recently, which
> wound up with a virtual spinlock.  (I say "virtual" because apparently
> it stops spinning after several hours.)

Is it a big repository?  You don't have any conflicts, or anything
like that?

> So I'd say that for all practical purposes, darcs can't do this yet.

Hmm...it seems to work nicely in my tiny test case, but perhaps it is
a scalability issue that affects larger repos?

    sefirot:~/tmp/repo % darcs init
    sefirot:~/tmp/repo % touch file
    sefirot:~/tmp/repo % darcs add file
    sefirot:~/tmp/repo % darcs rec -am "added file"
    Finished recording patch 'added file'
    sefirot:~/tmp/repo % cd ..
    sefirot:~/tmp % darcs get repo repo2
    Copying patches...
    .
    Finished getting.
    sefirot:~/tmp % cd repo
    sefirot:~/tmp/repo % darcs mv file new_file
    sefirot:~/tmp/repo % darcs rec -am "moved file"
    Finished recording patch 'moved file'
    sefirot:~/tmp/repo % cd ../repo2
    sefirot:~/tmp/repo2 % echo added a line > file 
    sefirot:~/tmp/repo2 % darcs rec -am "added a line"
    Finished recording patch 'added a line'
    sefirot:~/tmp/repo2 % cd ../repo
    sefirot:~/tmp/repo % darcs pull ../repo2

    Thu Nov 25 05:51:11 CET 2004  ketil at ii.uib.no
       * added a line
    Shall I pull this patch? (1/1) [ynWvxqadjk?] y
    Finished pulling.
    sefirot:~/tmp/repo % cat new_file 
    added a line

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants




More information about the darcs-users mailing list