You're not currently signed in.

Importing history from a Darcs repo

% darcs get --to-patch 'initial import'  http://example.org/repo bar

% cd bar

% darcs changes --last 1 | svk import -t //repo/trunk/bar -F -



Now, you need to note how many patches there are to pull in. Do that by doing a 'darcs pull' and then just quitting immediately. Say the number was 76. Then, run this:

% for $(seq 1 76) ; do \

    (echo y ; echo d) | darcs pull && \

    darcs changes --last 1 | svk import -f //repo/trunk/bar -F - ; \

  done


An alternate method and using the zsh shell

How you initially create the local repository is up to you. Once done :

% svk co //repo/trunk/bar

% cd bar

% darcs init

% svk propset svn:ignore _darcs



Now, you need to note how many patches there are to pull in. Do that by doing a 'darcs pull' and then just quitting immediately. Say the number was 76. Then, run this:

% for ((x=0;x<76;x++)); do \

    (echo y ; echo d) | darcs pull && \

    darcs changes --last 1 | svk import -f //repo/trunk/bar -F - ; \

  done