#130: darcs -> svn -- renaming thing and its directory in the same patch
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  new       
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------
Comment (by zooko):

 To be more verbose, tailor will error, like this:

 {{{
 15:52:32 [I] Changeset #64
 15:52:32 [I] Changeset "zfec: use setuptools to construct executables, fix
 bug on Windows -- forgot "BINARY" flag to output files"
 15:52:32 [I] /home/source/tailorizers/darcs-to-svn/trunk $ darcs pull
 --all --quiet --match "hash 20070421020612-92b7f-
 ba871189300929b269a024d512327a4b0702d548.gz"
 15:52:33 [I] [Ok]
 15:52:33 [I] /home/source/tailorizers/darcs-to-svn/trunk $ darcs changes
 --match "hash 20070421020612-92b7f-
 ba871189300929b269a024d512327a4b0702d548.gz" --xml-output --summ
 15:52:33 [I] [Ok]
 15:52:33 [I] /home/source/tailorizers/darcs-to-svn/trunk $ svn add --quiet
 --no-auto-props --non-recursive pyfec pyfec/zfec
 15:52:33 [I] [Ok]
 15:52:33 [I] /home/source/tailorizers/darcs-to-svn/trunk $ svn mv --quiet
 --force pyfec/cmdline pyfec/zfec/cmdline
 15:52:34 [I] [Ok]
 15:52:34 [I] /home/source/tailorizers/darcs-to-svn/trunk $ svn add --quiet
 --no-auto-props --non-recursive pyfec/zfec/cmdline
 15:52:34 [I] [Ok]
 15:52:34 [I] /home/source/tailorizers/darcs-to-svn/trunk $ svn mv --quiet
 --force pyfec/zfec/cmdline/zfec pyfec/zfec/cmdline/zfec.py
 15:52:35 [W] [Status 1]
 15:52:35 [E] Failure replaying: Revision: zfec: use setuptools to
 construct executables, fix bug on Windows -- forgot "BINARY" flag to
 output files
 Date: 2007-04-21 02:06:12+00:00
 Author: zooko [at] zooko [dot] com
 Entries: pyfec/zfec/cmdline(REN from pyfec/cmdline),
 pyfec/zfec/cmdline/zfec.py(REN from pyfec/zfec/cmdline/zfec),
 pyfec/zfec/cmdline/zunfec.py(REN from pyfec/zfec/cmdline/zunfec),
 pyfec/setup.py(UPD), pyfec/zfec/cmdline/__init__.py(ADD),
 pyfec/zfec/cmdline/zfec.py(UPD), pyfec/zfec/cmdline/zunfec.py(UPD),
 pyfec/zfec/filefec.py(UPD), pyfec/zfec/test/test_pyfec.py(UPD)
 Log:
 Traceback (most recent call last):
   File "build/bdist.linux-i686/egg/vcpx/target.py", line 117, in
 replayChangeset
     self._replayChangeset(changeset)
   File "build/bdist.linux-i686/egg/vcpx/target.py", line 312, in
 _replayChangeset
     action(group)
   File "build/bdist.linux-i686/egg/vcpx/target.py", line 474, in
 _renameEntries
     self._renamePathname(e.old_name, e.name)
   File "build/bdist.linux-i686/egg/vcpx/repository/svn.py", line 648, in
 _renamePathname
     err.read()))
 ChangesetApplicationFailure: /home/source/tailorizers/darcs-to-svn/trunk $
 svn mv --quiet --force pyfec/zfec/cmdline/zfec pyfec/zfec/cmdline/zfec.py
 returned status 1 saying
 svn: Cannot copy or move 'pyfec/zfec/cmdline/zfec': it's not in the
 repository yet; try committing first

 15:52:35 [C] Couldn't replay changeset
 15:52:35 [I] 1 pending changesets in state file
 15:52:35 [C] Upstream change application failed
 Failure applying upstream changes: /home/source/tailorizers/darcs-to-
 svn/trunk $ svn mv --quiet --force pyfec/zfec/cmdline/zfec
 pyfec/zfec/cmdline/zfec.py returned status 1 saying
 svn: Cannot copy or move 'pyfec/zfec/cmdline/zfec': it's not in the
 repository yet; try committing first
 }}}

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/130#comment:2>
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