#178: git backend problem with mv ??
--------------------+-------------------------------------------------------
 Reporter:  zooko   |       Owner:  lele      
     Type:  defect  |      Status:  new       
 Priority:  major   |   Milestone:  VersionOne
Component:  tailor  |     Version:  0.9       
 Keywords:          |  
--------------------+-------------------------------------------------------
 Since lelit fixed my config file from #176 I tried again to convert
 Tahoe's history from darcs to git.  This time it stops with:

 {{{
 2009-03-16 11:29:33     INFO:
 /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ git update-ref
 HEAD 905525529e1da31ab8eab83bee4ba589b61bd2ab
 dabf91210eee51fb489b58d9e2e5c51ae71db1a9
 2009-03-16 11:29:33     INFO: [Ok]
 2009-03-16 11:29:33     INFO: Changeset #86
 2009-03-16 11:29:33     INFO:
 /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ darcs pull --all
 --quiet --match "hash 20061204080325-92b7f-
 9283831eccadf8dfb20a32c46dbb7b18ad73bda9.gz" 2>&1
 2009-03-16 11:29:42     INFO: [Ok]
 2009-03-16 11:29:42     INFO:
 /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ darcs changes
 --match "hash 20061204080325-92b7f-
 9283831eccadf8dfb20a32c46dbb7b18ad73bda9.gz" --xml-output --summ
 2009-03-16 11:29:43     INFO: [Ok]
 2009-03-16 11:29:43     INFO:
 /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ git mv
 amdlib/util/assertutil.py allmydata/util/assertutil.py
 2009-03-16 11:29:43  WARNING: [Status 128]
 2009-03-16 11:29:43    ERROR: Failure replaying: Revision: mv
 amdlib/util/* to allmydata/util/
 Date: 2006-12-04 08:03:25+00:00
 Author: [email protected]
 Entries: allmydata/util/assertutil.py(REN from amdlib/util/assertutil.py)
          allmydata/util/humanreadable.py(REN from
 amdlib/util/humanreadable.py)
          allmydata/bucketstore.py(UPD)
          amdlib/__init__.py(DEL)
          amdlib/util/__init__.py(DEL)
          amdlib/util[DIR](DEL)
          amdlib[DIR](DEL)
 Log:
 Traceback (most recent call last):
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 134, in
 replayChangeset
     self._replayChangeset(changeset)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 330, in
 _replayChangeset
     action(group)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 502, in
 _renameEntries
     self._renamePathname(e.old_name, e.name)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/repository/git/target.py", line 263,
 in _renamePathname
     self.repository.runCommand(['mv', oldname, newname])
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/repository/git/__init__.py", line
 77, in runCommand
     raise exception(str(c) + ' failed')
 Exception: /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ git mv
 amdlib/util/assertutil.py allmydata/util/assertutil.py failed
 2009-03-16 11:29:43 CRITICAL: Couldn't replay changeset:
 Revision: mv amdlib/util/* to allmydata/util/
 Date: 2006-12-04 08:03:25+00:00
 Author: [email protected]
 Entries: allmydata/util/assertutil.py(REN from amdlib/util/assertutil.py)
          allmydata/util/humanreadable.py(REN from
 amdlib/util/humanreadable.py)
          allmydata/bucketstore.py(UPD)
          amdlib/__init__.py(DEL)
          amdlib/util/__init__.py(DEL)
          amdlib/util[DIR](DEL)
          amdlib[DIR](DEL)
 Log:
 2009-03-16 11:29:43     INFO: 3713 pending changesets in state file
 2009-03-16 11:29:43 CRITICAL: Upstream change application failed:
 /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ git mv
 amdlib/util/assertutil.py allmydata/util/assertutil.py failed
 2009-03-16 11:29:43 CRITICAL: Something unexpected!
 Traceback (most recent call last):
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/tailor.py", line 156, in __call__
     self.update()
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/tailor.py", line 120, in update
     applyable=self._applyable, applied=self._applied)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/dualwd.py", line 102, in
 applyPendingChangesets
     applied=applied)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/source.py", line 136, in
 applyPendingChangesets
     replay(c)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/dualwd.py", line 113, in
 replayChangeset
     self.target.replayChangeset(changeset)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 134, in
 replayChangeset
     self._replayChangeset(changeset)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 330, in
 _replayChangeset
     action(group)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/target.py", line 502, in
 _renameEntries
     self._renamePathname(e.old_name, e.name)
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/repository/git/target.py", line 263,
 in _renamePathname
     self.repository.runCommand(['mv', oldname, newname])
   File "/usr/local/lib/python2.6/dist-
 packages/tailor-0.9.35-py2.6.egg/vcpx/repository/git/__init__.py", line
 77, in runCommand
     raise exception(str(c) + ' failed')
 Exception: /home/zooko/playground/allmydata/tahoe/tailored/tahoe $ git mv
 amdlib/util/assertutil.py allmydata/util/assertutil.py failed
 }}}

 Here is my current config file:

 {{{
 [DEFAULT]
 replace-badchars = {'\xb4': '´', '\xc1': 'Á', '\xc4': 'Ä',
 '\xc5': 'Å', '\xc9': 'É', '\xcd': 'Í', '\xd3': 'Ó',
 '\xd5': 'Ő', '\xd6': 'Ö', '\xda': 'Ú', '\xdb': 'Ű',
 '\xdc':'Ü', '\xdf': 'ß', '\xe1': 'á', '\xe5': 'å',
 '\xe9': 'é', '\xed': 'í', '\xf1': 'ñ', '\xf3': 'ó',
 '\xf5': 'ő', '\xf6': 'ö', '\xfa': 'ú', '\xfb': 'ű',
 '\xfc': 'ü','\xc2': 'A'}

 [project]
 target = git:target
 start-revision = INITIAL
 state-file = tailor.state
 source = darcs:source
 subdir = ./tahoe

 [git:target]

 [darcs:source]
 repository = /home/zooko/playground/allmydata/tahoe/trunk/pristine
 init-options = --hashed
 }}}

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