#139: git -> monotone conversion fails at 'git fetch'
-------------------------+--------------------------------------------------
Reporter: smartcat99s | Owner: lele
Type: defect | Status: new
Priority: major | Milestone: VersionOne
Component: git | Version: 0.9
Keywords: |
-------------------------+--------------------------------------------------
When converting a git repo to monotone, it fails as seen below.
{{{
14:38:51 [I] Bootstrap completed
14:38:51 [I] Updating "w32fahremote" in
"/home/xraytux/projects/conversion"
14:38:51 [I] /home/xraytux/projects/conversion/git-w32fahremote $ git
fetch
fatal: 'origin': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
Cannot get the repository state from origin
14:38:51 [W] [Status 1]
14:38:51 [C] Unable to get changes for "w32fahremote"
[EMAIL PROTECTED] conversion]$
}}}
Commenting out the 'git fetch' on line 53 of vcpx/repository/git/source.py
makes the conversion work with no side effects. (although origin has to be
the head of the repository, as the master ref on the source repo is moved
for each revision)
Tailor Config:
(git repo is a bare repository)
{{{
[DEFAULT]
target-repository=mtn-w32.db
target-keyid=<REDACTED>
target-passphrase=<REDACTED>
verbose=True
[w32fahremote]
source = git:w32fahremote
target = monotone:w32fahremote
[git:w32fahremote]
subdir=git-w32fahremote
repository=/home/xraytux/projects/conversion/w32fahremote.git
branch=master
[monotone:w32fahremote]
module=fahremote.client.win32
subdir=mtn-w32fahremote
}}}
* git version 1.5.2.2.1451.gb0e5e
* tailor version 0.9.28
* monotone version 0.35
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/139>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor