Better darcs support needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi!
After recently migrated from darcs to bzr, I'm naturally looking for the best way to migrate my old darcs repos to Bazaar.
I've tried using darcs-2git front-end, but all I get is something like:
gour@nitai ~/r/b/fish> python ../../git/
reading patches.
Starting afresh at -1
Trying None -> patch 0
Pull patch 0
conflict, going one back
Export -3 -> 0 (total 1732)
Trying patch 0 -> patch 1
Pull patch 1
Trying None -> patch 1
Pull patch 1
conflict, going one back
Can't import patch 1, need conflict resolution patch?
Trying patch 0 -> patch 2
Rewinding 1 patches
yes: standard output: Broken pipe
yes: write error
Pull patch 2
Trying patch 0 -> patch 2
Rewinding 2 patches
yes: standard output: Broken pipe
yes: write error
Pull patch 2
conflict, going one back
Can't import patch 2, need conflict resolution patch?
Trying patch 0 -> patch 3
Rewinding 2 patches
yes: standard output: Broken pipe
yes: write error
Pull patch 3
Trying patch 1 -> patch 3
Pulling 1 patches to go to 1
Pull patch 3
conflict, going one back
Trying patch 0 -> patch 3
Rewinding 2 patches
yes: standard output: Broken pipe
yes: write error
Pull patch 3
conflict, going one back
Can't import patch 3, need conflict resolution patch?
Trying patch 0 -> patch 4
Rewinding 1 patches
yes: standard output: Broken pipe
yes: write error
Pull patch 4
Trying patch 2 -> patch 4
Rewinding 1 patches
yes: standard output: Broken pipe
yes: write error
....
i.e. it fails after looooong run on quite a small repo.
I tried another tool darcs-to-git and it works, but, afaik, cannot be used as 'bzr fast-import' front-end.
So, the only remaining tool to try was tailor which works nicely.
At the moment I'm converting darcs-2 repository to bzr and will report how long it takes.
Sincerely,
Gour
tags: | added: other-exporters |
Changed in bzr-fastimport: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Hi!
I just tried to convert darcs-2 repo with the help of darcs-to-git, but it fails as well:
gour@nitai ~/r/g/darcs-bzr> ruby ../darcs- to-git/ darcs-to- git ../../darcs/ darcs.net/ ../../darcs/ darcs.net/ ", "--xml", "--summary"] to-git/ darcs-to- git:323: in `darcs_ date_to_ git_date' : Wrong darcs date format (RuntimeError) to-git/ darcs-to- git:220: in `initialize' to-git/ darcs-to- git:248: in `new' to-git/ darcs-to- git:248: in `read_from_repo' to-git/ darcs-to- git:244: in `map' to-git/ darcs-to- git:244: in `read_from_repo' to-git/ darcs-to- git:408
Running: ["darcs", "-v"]
Initialising the working area.
Running: ["darcs", "init"]
Running: ["git-init"]
Initialized empty Git repository in .git/
Running: ["darcs", "changes", "--reverse", "--repodir=
../darcs-
from ../darcs-
from ../darcs-
from ../darcs-
from ../darcs-
from ../darcs-
from ../darcs-
Sincerely,
Gour