#102: hg --> svn: AttributeError: 'localrepository' object has no attribute
'update'
---------------------------+------------------------------------------------
 Reporter:  ThurnerRupert  |       Owner:  lele      
     Type:  defect         |      Status:  new       
 Priority:  major          |   Milestone:  VersionOne
Component:  hg             |     Version:  0.9       
 Keywords:                 |  
---------------------------+------------------------------------------------
 when trying to run a tailor from a mercurial source to a svn target the
 first time, it fails, using the following versions, with the error below:
  * tailor version: 0.9.27
  * hg version: 0.9.3

 {{{
 $ tailor -D -v --configfile mycomp.tailor
 18:04:21 [W] Forcing UTF-8 encoding instead of ISO8859-1
 18:04:21 [I] Bootstrapping "project" in "/usr/local/sync/hg2svn/mycomp"
 18:04:21 [I] $ svn ls http://mysvn.net/svn/test/trunk/mycomp-hgsync
 18:04:23 [I] [Ok]
 18:04:23 [I] Extracting revision 'INITIAL' from '/usr/local/hg/mycomp'
 into '/usr/local/sync/hg2svn/mycomp'
 18:04:23 [C] Checkout of project failed!
 Traceback (most recent call last):
   File "/usr/local/bin/tailor", line 35, in <module>
     main()
   File "/usr/local/lib/python2.5/site-packages/vcpx/tailor.py", line 339,
 in main
     tailorizer()
   File "/usr/local/lib/python2.5/site-packages/vcpx/tailor.py", line 144,
 in __call__
     self.bootstrap()
   File "/usr/local/lib/python2.5/site-packages/vcpx/tailor.py", line 74,
 in bootstrap
     actual = dwd.checkoutUpstreamRevision(revision)
   File "/usr/local/lib/python2.5/site-packages/vcpx/source.py", line 252,
 in checkoutUpstreamRevision
     last = self._checkoutUpstreamRevision(revision)
   File "/usr/local/lib/python2.5/site-packages/vcpx/repository/hg.py",
 line 91, in _checkoutUpstreamRevision
     repo.update(node)
 AttributeError: 'localrepository' object has no attribute 'update'
 }}}

 what could be the reason for this? the only thing i found on the web is
 [http://lists.zooko.com/pipermail/tailor/2006-March/000399.html this from
 brendan].

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/102>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to