Hi, i use tailor to convert from bzr to hg.
with the 9.30 version it work fine.
with the 9.35 (from darcs repo) it fail.
with exactly the same repo to convert (dvc actually)

,----[ bzr2hg with 9.35 ]
| 18:34:20 [I] 290 pending changesets in state file
| 18:34:20 [C] Upstream change application failed: Changes left in working
| dir after commit: ['lisp/contrib/package-maint.el']
| Most probably a tailor bug, not everything has been committed.: Changes
| left in working dir after commit: ['lisp/contrib/package-maint.el']
`----

With 9.30, when i want to convert from hg to bzr (always with the same
repo) tailor fail.

,----[ hg2bzr with 9.30 ]
| 20:04:17 [I] Bootstrapping "dvc" in "/home/thierry/labo/dvc-test/dvc"
| 20:04:17 [I] Extracting revision 'INITIAL' from 
'/home/thierry/labo/dvc-stefan/dvc' into '/home/thierry/labo/dvc-test/dvc/dvc'
| 20:04:17 [C] Checkout of dvc failed!
| Traceback (most recent call last):
|   File "/usr/bin/tailor", line 35, in <module>
|     main()
|   File "/usr/lib64/python2.5/site-packages/vcpx/tailor.py", line 339, in main
|     tailorizer()
|   File "/usr/lib64/python2.5/site-packages/vcpx/tailor.py", line 144, in 
__call__
|     self.bootstrap()
|   File "/usr/lib64/python2.5/site-packages/vcpx/tailor.py", line 74, in 
bootstrap
|     actual = dwd.checkoutUpstreamRevision(revision)
|   File "/usr/lib64/python2.5/site-packages/vcpx/source.py", line 253, in 
checkoutUpstreamRevision
|     last = self._checkoutUpstreamRevision(revision)
|   File "/usr/lib64/python2.5/site-packages/vcpx/repository/hg.py", line 91, 
in _checkoutUpstreamRevision
|     repo.update(node)
|   File "/usr/lib64/python2.5/site-packages/mercurial/localrepo.py", line 117, 
in __getattr__
|     raise AttributeError, name
| AttributeError: update
`----

With 9.35, it fail also with the same error than when trying bzr ==> hg.
With a test repo with one small file_test inside, 9.35 work fine in both sens. 
Here the conf file i use to convert from bzr to hg:

,----[ bzr to hg ]
| [DEFAULT]
| verbose = True
| 
| [dvc]
| source = bzr:source
| target = hg:target
| root-directory = ~/labo/dvc-stefan
| state-file = tailor.state
| start-revision = INITIAL
| subdir = dvc
| 
| [hg:target]
| repository = hg:/home/thierry/labo/dvc-stefan/dvc
| 
| [bzr:source]
| hg-command = /usr/bin/hg
| repository=/home/thierry/download/dvc
`----

Here the config file i use to (try to) convert from hg to bzr:

,----[ hg to bzr ]
| [DEFAULT]
| verbose = True
| 
| [dvc]
| source = hg:source
| target = bzr:target
| start-revision = INITIAL
| root-directory = /home/thierry/labo/dvc-stefan
| state-file = tailor.state
| subdir = dvc
| 
| [hg:source]
| repository = /home/thierry/labo/dvc-thierry
| 
| [bzr:target]
| repository = bzr:/home/thierry/labo/dvc-stefan/dvc
`----

Any ideas

-- 
A + Thierry
Pub key: http://pgp.mit.edu

_______________________________________________
Tailor mailing list
Tailor@lists.zooko.com
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to