Hello,

I'm trying to convert a bzr repository in git format. I think I found a
bug, and wanted to add it to the BTS, but after creating an account on
Trac, I couldn't find how to submit it... Strange, I must have
misunderstood something... So I'm writing to this "low traffic"
mailing-list...

I have a project using "bzr" that I want to migrate to "git". Here's
what I have in my config file:

,----
| [DEFAULT]
| verbose = True
| 
| [project]
| target = git:target
| start-revision = INITIAL
| root-directory = /home/marc/git
| state-file = tailor.state
| source = bzr:source
| subdir = /tmp/tmp-dir/
| 
| [bzr:source]
| repository = /home/marc/bzr/j-bip-model-2
| 
| [git:target]
| repository = /home/marc/git/j-bip-model-2/
`----

I don't understand exactly what are 'subdir' or 'root-directory'...
When I run tailor (I tried both with latest debian package and latest
source using a darcs checkout):

,----
| Traceback (most recent call last):
|   File "/usr/bin/tailor", line 35, in ?
|     main()
|   File "/tmp/tailor/vcpx/tailor.py", line 337, in main
|     tailorizer = Tailorizer(projname, config)
|   File "/tmp/tailor/vcpx/project.py", line 95, in __init__
|     self._load()
|   File "/tmp/tailor/vcpx/project.py", line 140, in _load
|     self.target = self.__loadRepository('target')
|   File "/tmp/tailor/vcpx/project.py", line 187, in __loadRepository
|     return Repository(repname, self, which)
|   File "/tmp/tailor/vcpx/repository/__init__.py", line 79, in __init__
|     self._load(project)
|   File "/tmp/tailor/vcpx/repository/git/__init__.py", line 60, in _load
|     self.env['GIT_DIR'] = join(self.basedir, self.METADIR)
| AttributeError: 'GitRepository' object has no attribute 'basedir'
`----

The error is very similar to #68
( http://progetti.arstecnica.it/tailor/ticket/68 ), but I'm not in
between 2 commits...

Maybe this error comes from my lack of understanding in the config file,
but the error message does not help me very much :)

Any help appreciated !

Marc

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

Reply via email to