logo       

[hg] Tailor 0.9.29 cant checkout with mercurial 0.9.4: msg#00005

version-control.tailor

Subject: [hg] Tailor 0.9.29 cant checkout with mercurial 0.9.4


When trying to convert a hg repo to svn I get:

$ tailor --config tailor.conf
21:48:37 [I] Bootstrapping "project" in
"/home/henning/playground/hg2svn/transfer"
21:48:37 [I] $ svn ls file:///home/henning/playground/hg2svn/svn_server
21:48:38 [I] [Ok]
21:48:38 [I] $ svn ls
file:///home/henning/playground/hg2svn/svn_server/testrepo01
21:48:38 [I] [Ok]
21:48:38 [I] Extracting revision 'HEAD' from
'/home/henning/playground/hg2svn/hg_server/testrepo_hg_01' into
'/home/henning/playground/hg2svn/transfer'
21:48:38 [C] Checkout of project failed!
Traceback (most recent call last):
File "/usr/bin/tailor", line 35, in ?
main()
File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 339, in main
tailorizer()
File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 144, in __call__
self.bootstrap()
File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 74, in bootstrap
actual = dwd.checkoutUpstreamRevision(revision)
File "/var/lib/python-support/python2.4/vcpx/source.py", line 253, in
checkoutUpstreamRevision
last = self._checkoutUpstreamRevision(revision)
File "/var/lib/python-support/python2.4/vcpx/repository/hg.py", line 91, in
_checkoutUpstreamRevision
repo.update(node)
File "/var/lib/python-support/python2.4/mercurial/localrepo.py", line 102, in
__getattr__
raise AttributeError, name
AttributeError: update


tailor.conf looks like this:
[DEFAULT]
verbose = True

[project]
target = svn:target
start-revision = HEAD
root-directory = /home/henning/playground/hg2svn/transfer
state-file = tailor.state
source = hg:source
subdir = .

[hg:source]
repository = /home/henning/playground/hg2svn/hg_server/testrepo_hg_01

[svn:target]
repository = file:///home/henning/playground/hg2svn/svn_server
module = testrepo01


Henning

--
GPG Public Key:
http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851
Fingerprint: 344F 4072 F038 BB9E B35D E6AB DDD6 D36D 4191 1851


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise