#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):

 Here's a similar problem with a slightly different order of entries:

 {{{
 15:47:41 [I] Changeset #2
 15:47:41 [I] Changeset "move them around"
 15:47:41 [I] /home/source/tailorizers/darcs-to-svn/trunk $ darcs pull
 --all --quiet --match "hash 20070424224653-e05de-
 87f01d87a46be4d96e769231edaa06ee1eaca5be.gz"
 15:47:42 [I] [Ok]
 15:47:42 [I] /home/source/tailorizers/darcs-to-svn/trunk $ darcs changes
 --match "hash 20070424224653-e05de-
 87f01d87a46be4d96e769231edaa06ee1eaca5be.gz" --xml-output --summ
 15:47:42 [I] [Ok]
 15:47:42 [I] /home/source/tailorizers/darcs-to-svn/trunk $ svn add --quiet
 --no-auto-props --non-recursive sub
 15:47:42 [I] [Ok]
 15:47:42 [E] Failure replaying: Revision: move them around
 Date: 2007-04-24 22:46:53+00:00
 Author: testcase2
 Entries: sub/breakfast.txt(REN from spam.txt), othersubname(REN from sub)
 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 320, 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 630, in
 _renamePathname
     shutil.move(newpath, oldpath)
   File "shutil.py", line 199, in move
     copy2(src,dst)
   File "shutil.py", line 91, in copy2
     copyfile(src, dst)
   File "shutil.py", line 46, in copyfile
     fsrc = open(src, 'rb')
 IOError: [Errno 2] No such file or directory: u'/home/source/tailorizers
 /darcs-to-svn/trunk/sub/breakfast.txt'
 15:47:42 [E] Couldn't replay changeset
 }}}

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