Bug#543777: arch2darcs: Fails when multiple files are moved
Package: arch2darcs
Version: 1.0.13
Severity: normal
Hi,
I've run arch2darcs to convert a arch
repo to darcs. It seems to fail when I've
moved multiple files in the same tla commit.
Note that this is a guess. All I know is that
when it fails there are files that need to be moved.
The workaround is, for each file, to:
mv the moved file back where it came from
darcs add the file with the old path
darcs mv the file to the new path
darcs record -a -pipe to record the patch
Then do a darcs whatsnew -l and darcs add any
file that didn't get added when arch2darcs crashed.
To get the darcs record right I look at the output
of tla changelog and darcs changes --xml-output
so the formatting is consistent.
FWIW, I'm converting into a darcs --hashed repo.
(By the time a fixed version gets into Debian
stable there probably won't be any more arch
repos out there. ;-(
)
-- Arch version follows ---
$ tla --version
tla lord@emf.net--gnu-arch-2004/dists--tla--1.3[configs/gnu/tla-devo.cfg] from regexps.com
Copyright 2003 Tom Lord
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to lord@emf.net.
lord@emf.net--gnu-arch-2004/dists--tla--1.3[configs/gnu/tla-devo.cfg]
;; arch-tag: Tom Lord Tue Oct 5 16:14:10 2004 (devo/=RELEASE-ID)
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages arch2darcs depends on:
ii darcs 2.0.2-3 an advanced revision control syste
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgmp3c2 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii tla 1.3.5+dfsg-14 GNU Arch revision control system
arch2darcs recommends no packages.
arch2darcs suggests no packages.
-- no debconf information
Reply to: