#65: failure to rename back from -TAILOR-HACKED-TEMP-NAME
---------------------+------------------------------------------------------
  Reporter:  dato    |       Owner:  lele      
      Type:  defect  |      Status:  new       
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------
Comment (by elegant_dice):

 I would've set it to a 'blocking' priority if I hadn't figured out how to
 hack the source.


 Config file:

 [project]
 verbose = True
 source = svn:regi
 target = darcs:regi

 [svn:regi]
 repository = svn+ssh://host/home/svn/repos
 module = /trunk/
 subdir = svnside

 [darcs:regi]
 subdir = darcside



 tailor was checked out of the web repo just before I sent this message...
 so its the latest available I guess.

 verbose log, with my comments:

 22:36:42 [I] -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 22:36:42 [I] Changeset "12"
 22:36:42 [I] Log message: - Added a file, little reorganising.
 22:36:42 [I] /dir/svnside $ svn update --ignore-externals --revision 12 .
 22:36:53 [I] [Ok]
 22:36:53 [I] $ rsync --archive --exclude .svn --exclude _darcs
 /dir/svnside/ /dir/darcside
 22:36:53 [I] [Ok]

 *** NOTE: I hacked the code a little here and added a self.log.info() in
 the rename operations.  about here, tailor renames 'read_psn' to
 'read_psn-TAILOR-HACKED-TEMP-NAME'... which is why the darcs mv command
 fails.

 22:36:53 [I] /dir/darcside $ darcs mv read_psn/data data
 22:36:53 [I] [Ok]
 22:36:53 [E] Failure replaying: Revision: 12

 *** Once the above command fails, its all over red rover.  The file
 structure is in an inconsistent state and the rest of the operations will
 fail because of that.


 Date: 2005-05-13 05:52:49.293427+00:00
 Author: paul
 Entries: data(REN from read_psn/data), read_psn/src/somefile.txt(ADD)
 Log: - Added a file, little reorganising.
 Traceback (most recent call last):
   File "/dir/tailor/vcpx/target.py", line 117, in replayChangeset
     self._replayChangeset(changeset)
   File "/dir/tailor/tailor/vcpx/target.py", line 312, in _replayChangeset
     action(group)
   File "/dir/tailor/vcpx/target.py", line 479, in _renameEntries
     rename(absnew + '-TAILOR-HACKED-TEMP-NAME', absnew)
 OSError: [Errno 39] Directory not empty
 22:36:53 [E] Couldn't replay changeset

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