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 with python 2.4.2, and I'm using the latest and greatest version bzr (bazaar-0.8.2), 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 (log included at end of email). I haven't looked through all the outstanding tickets, so I apologise if this is a known issue. This email is quick check with the list to see if anyone is aware of this before raising a ticket.
----
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
19:48:10 [E] Couldn't replay changeset
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/source.py", line 133, in applyPendingChangesets
replay(c)
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/dualwd.py", line 107, in replayChangeset
self.target.replayChangeset(changeset)
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
19:48:10 [I] 72 pending changesets in state file
19:48:10 [C] Upstream change application failed
Traceback (most recent call last):
File "/home/tbe/var/fromtheweb/tailor-0.9.23/tailor", line 33, in ?
main()
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/tailor.py", line 332, in main
tailorizer()
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/tailor.py", line 144, in __call__
self.update()
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/tailor.py", line 107, in update
last, conflicts = dwd.applyPendingChangesets(
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/dualwd.py", line 97, in applyPendingChangesets
applied=applied)
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/source.py", line 133, in applyPendingChangesets
replay(c)
File "/home/tbe/var/fromtheweb/tailor-0.9.23/vcpx/dualwd.py", line 107, in replayChangeset
self.target.replayChangeset(changeset)
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)
bzrlib.errors.BzrError: file_id {activemq-20060601183730-09e8451336cf752d} not found in inventory
----
_______________________________________________ Tailor mailing list [email protected] http://lists.zooko.com/mailman/listinfo/tailor
