#178: git backend problem with mv ??
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  new       
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------

Comment(by lele):

 Using DisjunctWorkingDirectories fixes the problem with that changeset.
 The following script uses the "chunked" trick for a faster migration:
 {{{
 mkdir /tmp/testtahoe
 cd /tmp/testtahoe

 cat <<EOF >test-darcs2git.tailor
 [DEFAULT]
 verbose = True
 replace-badchars = {'\xb4': '&#180;', '\xc1': '&#193;', '\xc4': '&#196;',
 '\xc5': '&#197;', '\xc9': '&#201;', '\xcd': '&#205;', '\xd3': '&#211;',
 '\xd5': '&#336;', '\xd6': '&#214;', '\xda': '&#218;', '\xdb': '&#368;',
 '\xdc': '&#220;', '\xdf': '&#223;', '\xe1': '&#225;', '\xe5': '&#229;',
 '\xe9': '&#233;', '\xed': '&#237;', '\xf1': '&#241;', '\xf3': '&#243;',
 '\xf5': '&#337;', '\xf6': '&#246;', '\xfa': '&#250;', '\xfb': '&#369;',
 '\xfc': '&#252;', '\xc2': 'A'}

 [project]
 root-directory = /tmp/testtahoe/rootdir
 source = darcs:source
 target = git:target
 start-revision = INITIAL

 [darcs:source]
 repository = /tmp/testtahoe/intermediary-repo
 init-options = --hashed
 subdir = darcs-side

 [git:target]
 subdir = git-side
 EOF

 mkdir /tmp/testtahoe/intermediary-repo
 cd /tmp/testtahoe/intermediary-repo
 darcs init --hashed

 while python -c "print 'y'*200+'d'" | darcs pull --quiet ~/wip/tahoe
 do
   ~/wip/tailor/tailor.hashed/tailor -c /tmp/testtahoe/test-
 darcs2git.tailor
 done
 }}}

 I will try to understand why the normal case (without DWD) fails...

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/178#comment:1>
Tailor <http://progetti.arstecnica.it/tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
Tailor@lists.zooko.com
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to