#71: Tailor fails on darcs->svn conversion: non-existing file cannot be removed
----------------------+-----------------------------------------------------
 Reporter:  eschnett  |       Owner:  lele      
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  VersionOne
Component:  tailor    |     Version:  0.9       
 Keywords:            |  
----------------------+-----------------------------------------------------
 I am trying to convert a rather large darcs repository
 (http://www.carpetcode.org/~darcs/carpet-stable-3) to svn.  Tailor fails
 at some point with the following error message:

 {{{
 17:36:32 [I] Changeset "CarpetWeb: Update web pages"
 17:36:32 [I] Log message: Update the web pages.
 Explain stable and development versions better.
 Update darcs binaries and documentation.
 17:36:32 [I] /Users/eschnett/DC/carpet $ darcs pull --all --quiet --match
 "hash 20050606193150-891bb-dad36762ac41517fe0a9136ea14fff32b2930f0d.gz"
 17:36:46 [I] [Ok]
 17:36:46 [I] /Users/eschnett/DC/carpet $ darcs changes --match "hash
 20050606193150-891bb-dad36762ac41517fe0a9136ea14fff32b2930f0d.gz" --xml-
 output --summ
 17:36:46 [I] [Ok]
 17:36:46 [I] /Users/eschnett/DC/carpet $ svn remove --quiet --force
 Carpet/CarpetWeb/binaries/darcs-1.0.3-static-linux-i386.gz
 Carpet/CarpetWeb/doc/darcs-1.0.2.ps.gz
 17:36:46 [I] [Ok]
 17:36:46 [I] /Users/eschnett/DC/carpet $ svn add --quiet --no-auto-props
 --non-recursive Carpet/CarpetWeb/doc/darcs-1.0.3.ps.gz
 17:36:46 [I] [Ok]
 17:36:46 [I] /Users/eschnett/DC/carpet $ svn commit --file
 /tmp/tailorqKMpa3svn Carpet/CarpetWeb/doc/darcs-1.0.3.ps.gz
 Carpet/CarpetWeb/binaries/darcs-1.0.3-static-linux-i386.gz
 Carpet/CarpetWeb/doc/darcs-1.0.2.ps.gz Carpet/CarpetWeb/get-carpet-
 darcs.html Carpet/CarpetWeb/index.html Carpet/CarpetWeb/olds.html
 Carpet/CarpetWeb/work-with-darcs.html
 17:36:46 [W] [Status 1]
 17:36:46 [C] Couldn't replay changeset
 17:36:46 [I] 409 pending changesets in state file
 17:36:46 [C] Upstream change application failed
 Failure applying upstream changes: /Users/eschnett/DC/carpet $ svn commit
 --file /tmp/tailorqKMpa3svn Carpet/CarpetWeb/doc/darcs-1.0.3.ps.gz
 Carpet/CarpetWeb/binaries/darcs-1.0.3-static-linux-i386.gz
 Carpet/CarpetWeb/doc/darcs-1.0.2.ps.gz Carpet/CarpetWeb/get-carpet-
 darcs.html Carpet/CarpetWeb/index.html Carpet/CarpetWeb/olds.html
 Carpet/CarpetWeb/work-with-darcs.html returned status 1 saying
 svn: Commit failed (details follow):
 svn: '/Users/eschnett/DC/carpet/Carpet/CarpetWeb/binaries/darcs-1.0.3
 -static-linux-i386.gz' is not under version control
 }}}

 And tailor is right: This file is indeed not under version control at this
 point.  It appears that darcs allows removing this non-existing file,
 which svn does not allow.

 {{{
 $ darcs --version
 1.0.8 (release)
 [EMAIL PROTECTED]:~/DC/carpet (18:24:43)
 $ LANG=en_US $HOME/src/tailor/tailor --version
 0.9.23
 }}}

 I just updated tailor.  My latest tailor patch is:
 {{{
 Tue Aug 15 20:01:01 EDT 2006  [EMAIL PROTECTED]
   * Insert add_dir entries at the right place
   This is an adaption of a patch by Jeff Licquia <[EMAIL PROTECTED]>:
   instead of appending the ADD entries for the parent directories, place
   them at the right place, ie before the entry that triggers the
   creation.
 }}}

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