[darcs-users] coping with latency?

Conal Elliott conal at conal.net
Thu Nov 27 03:59:43 UTC 2008


Hi Trent,

I have mostly darcs-1 repos.  Perhaps just one darcs-2, according to 'darcs
show repo'.  For instance,

    conal at compy-doble:~/Haskell/reactive$ darcs show repo
              Type: darcs
            Format: darcs-1.0
              Root: /home/conal/Haskell/reactive
          Pristine: PlainPristine "_darcs/pristine"
             Cache: thisrepo:/home/conal/Haskell/reactive
    Default Remote: conal at code.haskell.org:/srv/code/reactive
       Num Patches: 270

Am I likely to get better performance by converting my repo to darcs-2
format?

>From the darcs manual, it looks like my friends are "darcs convert d1repo
d2repo" and "darcs init --darcs2" for new projects.  I've placed "init
darcs2" in my ~/.darcs/defaults, which seems to do the trick.  I also see
some advanced options to 'darcs convert', particularly -ssh-cm and
-http-pipelining.  Is either of those options relevant to my problem?

Once I convert a repo to darcs2 format, do I simply push to the server, or
do I have to start over with a put?

Thanks!

   - Conal

On Wed, Nov 26, 2008 at 7:29 PM, Trent W. Buck <trentbuck at gmail.com> wrote:

> "Conal Elliott" <conal at conal.net> writes:
>
> > I am running darcs 2.1.0 (release) locally.  One server I use has 2.1.0
> > installed, while another (code.haskell.org) has 2.0.2.
> >
> > To get a sense of how many times I'm making new connections, I renamed by
> > ~/.ssh.  When I try a push, I get prompted for my password over & over &
> > over.
>
> That's strange, I thought that had been fixed.
>
> Are you using darcs-2 format repos?  That is, what does "darcs show
> repo" say?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20081126/2acd89f4/attachment.htm 


More information about the darcs-users mailing list