#58: Could not complete migration from svn to bzr
---------------------+------------------------------------------------------
  Reporter:  tbetbe  |       Owner:  lele           
      Type:  defect  |      Status:  new            
  Priority:  major   |   Milestone:  VersionOne     
 Component:  tailor  |     Version:  0.9            
Resolution:          |    Keywords:  bzr svn svn2bzr
---------------------+------------------------------------------------------
Old description:

> I'm trying to use the following tailor configuration to migrate
> http://hjb.trigris.org/svn/hjb to a bzr respository.
>
> I running tailor-0.9.23 on
> Ubuntu Breezy (python 2.4.2)
> with bzr-0.8.2
> and svn-1.2.0.
>
> ----
>
> [DEFAULT]
> verbose = True
> projects = fromtigris
>
> [fromtigris]
> root-directory = ~/var/tailor/http-jms-bridge
> source = svn:tigris
> target = bzr:tobzr
> state-file = reverse.state
>
> [svn:tigris]
> repository = http://hjb.tigris.org/svn/hjb
> module = /trunk
> #subdir = fromtigris
>
> [bzr:tobzr]
> repository = ~/var/bzr/fromtigris
> #subdir = tobzr
>
> ----
>
> It falls over at a revision when a directory is removed from subversion.
>
> ------
>
> {{{
>
> 19:48:09 [E] Failure replaying: Revision: 48
> Date: 2006-04-27 15:53:37.158524
> Author: tbetbe
> Modified: build.properties,build.xml
> Removed: webapps/activemq,webapps
> /standalone
> Added:
> docs/rst/developer,docs/rst/developer/clients.rst,docs/rst/developer/download.rst,docs/rst/developer/installation.rst,docs/rst/developer/prerequisites.rst,docs/rst/developer/repository.rst,hjb_deploy.properties.template,webapps/default,webapps/default
> /WEB-INF,webapps/default/WEB-INF/classes,webapps/default/WEB-
> INF/classes/log4j.properties,webapps/default/WEB-
> INF/web.xml,webapps/default/build.xml
> Log: Simplified building of HJB web applications; added developer
> documentation
> Traceback (most recent call last):
>   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 112,
> in replayChangeset
>     self._replayChangeset(changeset)
>   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 286,
> in _replayChangeset
>     action(group)
>   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 311,
> in _addEntries
>     self._addPathnames([e.name for e in entries])
>   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/bzr.py", line 156, in
> _addPathnames
>     diff = compare_trees(basis_tree, self._working_tree)
>   File "/home/tbe/lib/python2.4/bzrlib/delta.py", line 170, in
> compare_trees
>     specific_files)
>   File "/home/tbe/lib/python2.4/bzrlib/delta.py", line 192, in
> _compare_trees
>     if file_id in new_tree:
>   File "/home/tbe/lib/python2.4/bzrlib/workingtree.py", line 504, in
> has_id
>     path = inv.id2path(file_id)
>   File "/home/tbe/lib/python2.4/bzrlib/inventory.py", line 1117, in
> id2path
>     return '/'.join(reversed(
>   File "/home/tbe/lib/python2.4/bzrlib/inventory.py", line 1090, in
> _iter_file_id_parents
>     raise BzrError("file_id {%s} not found in inventory" % file_id)
> BzrError: file_id {activemq-20060601183730-09e8451336cf752d} not found in
> inventory
>
> }}}

New description:

 I'm trying to use the following tailor configuration to migrate
 http://hjb.trigris.org/svn/hjb to a bzr respository.

 I running tailor-0.9.23 on
 Ubuntu Breezy (python 2.4.2)
 with bzr-0.8.2
 and svn-1.2.0.

 ----

 {{{
 [DEFAULT]
 verbose = True
 projects = fromtigris

 [fromtigris]
 root-directory = ~/var/tailor/http-jms-bridge
 source = svn:tigris
 target = bzr:tobzr
 state-file = reverse.state

 [svn:tigris]
 repository = http://hjb.tigris.org/svn/hjb
 module = /trunk
 #subdir = fromtigris

 [bzr:tobzr]
 repository = ~/var/bzr/fromtigris
 #subdir = tobzr
 }}}

 ----

 It falls over at a revision when a directory is removed from subversion.

 ------

 {{{

 19:48:09 [E] Failure replaying: Revision: 48
 Date: 2006-04-27 15:53:37.158524
 Author: tbetbe
 Modified: build.properties,build.xml
 Removed: webapps/activemq,webapps
 /standalone
 Added:
 
docs/rst/developer,docs/rst/developer/clients.rst,docs/rst/developer/download.rst,docs/rst/developer/installation.rst,docs/rst/developer/prerequisites.rst,docs/rst/developer/repository.rst,hjb_deploy.properties.template,webapps/default,webapps/default
 /WEB-INF,webapps/default/WEB-INF/classes,webapps/default/WEB-
 INF/classes/log4j.properties,webapps/default/WEB-
 INF/web.xml,webapps/default/build.xml
 Log: Simplified building of HJB web applications; added developer
 documentation
 Traceback (most recent call last):
   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 112,
 in replayChangeset
     self._replayChangeset(changeset)
   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 286,
 in _replayChangeset
     action(group)
   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/target.py", line 311,
 in _addEntries
     self._addPathnames([e.name for e in entries])
   File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/bzr.py", line 156, in
 _addPathnames
     diff = compare_trees(basis_tree, self._working_tree)
   File "/home/tbe/lib/python2.4/bzrlib/delta.py", line 170, in
 compare_trees
     specific_files)
   File "/home/tbe/lib/python2.4/bzrlib/delta.py", line 192, in
 _compare_trees
     if file_id in new_tree:
   File "/home/tbe/lib/python2.4/bzrlib/workingtree.py", line 504, in
 has_id
     path = inv.id2path(file_id)
   File "/home/tbe/lib/python2.4/bzrlib/inventory.py", line 1117, in
 id2path
     return '/'.join(reversed(
   File "/home/tbe/lib/python2.4/bzrlib/inventory.py", line 1090, in
 _iter_file_id_parents
     raise BzrError("file_id {%s} not found in inventory" % file_id)
 BzrError: file_id {activemq-20060601183730-09e8451336cf752d} not found in
 inventory

 }}}

Comment (by lele):

 Fixed markup.

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/58>
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