[darcs-devel] [issue1255] darcs put tries to convert to darcs-2-format?

Zooko bugs at darcs.net
Fri Dec 5 12:37:14 UTC 2008


New submission from Zooko <zooko at zooko.com>:

When I do a darcs put of a darcs-1-format repo over ssh to a remote server, it
looks like it tries to make the new target repo be darcs-2-format:

zooko at hanford:~/server$ time darcs put  -v -v -v --debug --timing
zooko at allmydata.org:putserver-test 2>&1 | tee zooko.put.log.txt
Fri Dec  5 04:34:45 PST 2008: Creating repository
Fri Dec  5 04:34:45 PST 2008: Beginning identifying repository .
Fri Dec  5 04:34:45 PST 2008: Done identifying repository .
Fri Dec  5 04:34:45 PST 2008: ssh zooko at allmydata.org darcs initialize
--repodir='putserver-test' 
Fri Dec  5 04:34:45 PST 2008: Disabling progress reports...
Fri Dec  5 04:34:45 PST 2008: Reenabling progress reports.
Fri Dec  5 04:34:45 PST 2008: Beginning identifying repository .
Fri Dec  5 04:34:45 PST 2008: Done identifying repository .
Fri Dec  5 04:34:45 PST 2008: Identified darcs-1 repo: /home/zooko/server
Fri Dec  5 04:34:45 PST 2008: Beginning reading inventory of repository
/home/zooko/server
Fri Dec  5 04:34:45 PST 2008: Beginning reading inventory of repository
/home/zooko/server
Fri Dec  5 04:34:45 PST 2008: Done reading inventory of repository
/home/zooko/server
Fri Dec  5 04:34:45 PST 2008: Disabling progress reports...
Fri Dec  5 04:34:45 PST 2008: ssh zooko at allmydata.org darcs apply --all --debug
--repodir 'putserver-test'
Beginning identifying repository .
Done identifying repository .
Identified darcs-2 repo: /home/zooko/putserver-test

(Note that /home/zooko/putserver-test did not exist before this command was run.)

If I let that command run for a long time it will yield strange errors claiming
that patches are ill-formed.  In contrast if I add "--hashed" or
"--old-fashioned" to the command line then it emits:

zooko at hanford:~/server$ time darcs put --old-fashioned -v -v -v --debug --timing
zooko at allmydata.org:putserver-old 2>&1 | tee zooko.put.log.txt
...
Fri Dec  5 04:34:23 PST 2008: ssh zooko at allmydata.org darcs apply --all --debug
--repodir 'putserver-old'
Beginning identifying repository .
Done identifying repository .
Identified darcs-1 repo: /home/zooko/putserver-old

----------
messages: 6774
nosy: dagit, dmitry.kurochkin, kowey, simon, thorkilnaur, zooko
priority: bug
status: unread
title: darcs put tries to convert to darcs-2-format?

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1255>
__________________________________


More information about the darcs-devel mailing list