#170: BzrRenameFailedError: Could not rename...
--------------------+-------------------------------------------------------
Reporter: gour | Owner: lele
Type: defect | Status: new
Priority: major | Milestone: VersionOne
Component: tailor | Version: 0.9
Keywords: |
--------------------+-------------------------------------------------------
Hi!
Attempt to convert gtk2hs repo from darcs to bzr failed with:
{{{
[...]
20:04:14 [I] Committed revision 1188.
20:04:14 [I] -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
20:04:14 [I] Changeset #1188
20:04:14 [I] Changeset "Make the new tree and list stores default in the
new ModelView dir"
20:04:14 [I] /home/gour/repos/bzr/gtk2hs $ darcs pull --all --quiet
--match "hash
20061208103646-b4c10-3140e302311f95930ee5db3b98de35e587711f21.gz" 2>&1
20:04:18 [I] [Ok]
20:04:18 [I] /home/gour/repos/bzr/gtk2hs $ darcs changes --match "hash
20061208103646-b4c10-3140e302311f95930ee5db3b98de35e587711f21.gz" --xml-
output --summ
20:04:18 [I] [Ok]
20:04:18 [I] Renaming u'gtk/Graphics/UI/Gtk/ModelView/ListStoreNew.hs.pp'
to u'gtk/Graphics/UI/Gtk/ModelView/ListStore.hs.pp'...
20:04:18 [E] Failure replaying: Revision: Make the new tree and list
stores default in the new ModelView dir
Date: 2006-12-08 10:36:46+00:00
Author: Duncan Coutts <[EMAIL PROTECTED]>
Entries: gtk/Graphics/UI/Gtk/ModelView/ListStore.hs.pp(REN from
gtk/Graphics/UI/Gtk/ModelView/ListStoreNew.hs.pp),
gtk/Graphics/UI/Gtk/ModelView/TreeStore.hs(REN from
gtk/Graphics/UI/Gtk/ModelView/TreeStoreNew.hs),
gtk/Graphics/UI/Gtk/ModelView/ListStore.chs.pp(DEL),
gtk/Graphics/UI/Gtk/ModelView/TreeStore.chs.pp(DEL)
Log:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 134, in
replayChangeset
self._replayChangeset(changeset)
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 330, in
_replayChangeset
action(group)
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 502, in
_renameEntries
self._renamePathname(e.old_name, e.name)
File "/usr/lib/python2.6/site-packages/vcpx/repository/bzr.py", line
407, in _renamePathname
self._working_tree.rename_one(oldname, newname)
File "/usr/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 52,
in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/bzrlib/workingtree_4.py", line
1264, in rename_one
WorkingTree.rename_one(self, from_rel, to_rel, after)
File "/usr/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 52,
in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/bzrlib/workingtree.py", line
1431, in rename_one
errors.NotVersionedError(path=str(from_rel)))
BzrRenameFailedError: Could not rename ListStoreNew.hs.pp =>
ListStore.hs.pp: gtk/Graphics/UI/Gtk/ModelView/ListStoreNew.hs.pp is not
versioned.
20:04:19 [C] Couldn't replay changeset: Could not rename
ListStoreNew.hs.pp => ListStore.hs.pp:
gtk/Graphics/UI/Gtk/ModelView/ListStoreNew.hs.pp is not versioned.
20:04:19 [I] 628 pending changesets in state file
20:04:19 [C] Upstream change application failed
20:04:19 [C] Something unexpected!
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/vcpx/tailor.py", line 154, in
__call__
self.update()
File "/usr/lib/python2.6/site-packages/vcpx/tailor.py", line 118, in
update
applyable=self._applyable, applied=self._applied)
File "/usr/lib/python2.6/site-packages/vcpx/dualwd.py", line 102, in
applyPendingChangesets
applied=applied)
File "/usr/lib/python2.6/site-packages/vcpx/source.py", line 137, in
applyPendingChangesets
replay(c)
File "/usr/lib/python2.6/site-packages/vcpx/dualwd.py", line 113, in
replayChangeset
self.target.replayChangeset(changeset)
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 134, in
replayChangeset
self._replayChangeset(changeset)
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 330, in
_replayChangeset
action(group)
File "/usr/lib/python2.6/site-packages/vcpx/target.py", line 502, in
_renameEntries
self._renamePathname(e.old_name, e.name)
File "/usr/lib/python2.6/site-packages/vcpx/repository/bzr.py", line
407, in _renamePathname
self._working_tree.rename_one(oldname, newname)
File "/usr/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 52,
in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/bzrlib/workingtree_4.py", line
1264, in rename_one
WorkingTree.rename_one(self, from_rel, to_rel, after)
File "/usr/lib/python2.6/site-packages/bzrlib/mutabletree.py", line 52,
in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/bzrlib/workingtree.py", line
1431, in rename_one
errors.NotVersionedError(path=str(from_rel)))
BzrRenameFailedError: Could not rename ListStoreNew.hs.pp =>
ListStore.hs.pp: gtk/Graphics/UI/Gtk/ModelView/ListStoreNew.hs.pp is not
versioned.
tailor -c gtk2hs.tailor 4539,61s user 529,17s system 74% cpu 1:52:41,47
total
}}}
Here is the config file:
{{{
[DEFAULT]
verbose = True
[project]
patch-name-format = "%(revision)s"
target = bzr:target
start-revision = INITIAL
root-directory = /home/gour/repos/bzr
state-file = tailor.state
source = darcs:source
subdir = gtk2hs
[bzr:target]
repository = gtk2hs
[darcs:source]
repository = /home/gour/repos/darcs/gtk2hs
}}}
Sincerely,[[BR]]Gour
--
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/170>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor