Hi

I'm trying to convert an old bzr repository to git, I have the
following config file:

[DEFAULT]
verbose = True

[project]
target = git:target
start-revision = INITIAL
root-directory = /Users/ram/git
state-file = tailor.state
source = bzr:source
subdir = /tmp/tailor/

[bzr:source]
repository = /User/ram/tmp/config

[git:target]
repository = /Users/ram/git/config

When I then call tailor (0.9.35) I get the following error:

$ tailor -D -c tailor.conf
11:42:41 [I] Bootstrapping "project" in "/Users/ram/git"
11:42:41 [D] bzr not found as new-style vcs, trying as monolithic
11:42:41 [I] /tmp $ git init-db
11:42:41 [D] Executing  git init-db ('/tmp')
11:42:41 [C] Something unexpected!
Traceback (most recent call last):
  File "/opt/local/lib/python2.5/site-packages/vcpx/tailor.py", line
151, in __call__
    self.bootstrap()
  File "/opt/local/lib/python2.5/site-packages/vcpx/tailor.py", line
69, in bootstrap
    dwd = self.workingDir()
  File "/opt/local/lib/python2.5/site-packages/vcpx/project.py", line
204, in workingDir
    self.dwd = DualWorkingDir(self.source, self.target)
  File "/opt/local/lib/python2.5/site-packages/vcpx/dualwd.py", line
68, in __init__
    self.target.prepareTargetRepository()
  File "/opt/local/lib/python2.5/site-packages/vcpx/target.py", line
585, in prepareTargetRepository
    self._prepareTargetRepository()
  File "/opt/local/lib/python2.5/site-packages/vcpx/repository/git/target.py",
line 256, in _prepareTargetRepository
    self.repository.create()
  File "/opt/local/lib/python2.5/site-packages/vcpx/repository/git/__init__.py",
line 126, in create
    self.runCommand(['init-db'])
  File "/opt/local/lib/python2.5/site-packages/vcpx/repository/git/__init__.py",
line 73, in runCommand
    output = c.execute(stdout=PIPE)[0]
  File "/opt/local/lib/python2.5/site-packages/vcpx/repository/git/__init__.py",
line 156, in execute
    return ExternalCommand.execute(self, *args, **kwargs)
  File "/opt/local/lib/python2.5/site-packages/vcpx/shwrap.py", line
159, in execute
    return self._execute(allargs, **kwargs)
  File "/opt/local/lib/python2.5/site-packages/vcpx/shwrap.py", line
257, in _execute
    raise OSError("%r does not exist!" % self._last_command[0])
OSError: 'git' does not exist!
$

but git is available:

$ which git
/opt/local/bin/git

Any ideas how to get round this?

Cheers

Adam
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to