#152: failure tailorizing libcurl's CVS history
---------------------+------------------------------------------------------
  Reporter:  zooko   |       Owner:  lele      
      Type:  defect  |      Status:  reopened  
  Priority:  major   |   Milestone:  VersionOne
 Component:  tailor  |     Version:  0.9       
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------

Comment(by zooko):

 No, this can't be an instance of http://bugs.darcs.net/issue687 because it
 just happened again even though I've stopped messing with the
 {{{tailored}}} directory while tailor is working.  It stopped like this:

 {{{
 15:23:54 [I] Changeset #923
 15:23:54 [I] Changeset "2007-03-31 21:01:18 by bagder"
 15:23:54 [I] Log message: Better deal with NULL pointers.
 CID 3 and 4 from the coverity.com scan.
 15:23:54 [I] /Users/wonwinmcbrootles/playground/libcurl/tailored $ cvs -f
 -d :pserver:[EMAIL PROTECTED]:/cvsroot/curl -q update -d -P -r 1.99
 lib/formdata.c
 15:23:57 [I] [Ok]
 15:23:57 [I] /Users/wonwinmcbrootles/playground/libcurl/tailored $ darcs
 record --all --pipe
 15:23:57 [W] [Status 1]
 15:23:57 [C] Couldn't replay changeset
 15:23:57 [C] Upstream change application failed
 Traceback (most recent call last):
   File "/usr/local/bin/tailor", line 8, in <module>
     load_entry_point('tailor==0.9.32', 'console_scripts', 'tailor')()
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/tailor.py", line 342, in main
     tailorizer()
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/tailor.py", line 147, in
 __call__
     self.update()
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/tailor.py", line 111, in
 update
     applyable=self._applyable, applied=self._applied)
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/dualwd.py", line 97, in
 applyPendingChangesets
     applied=applied)
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/source.py", line 141, in
 applyPendingChangesets
     replay(c)
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/dualwd.py", line 108, in
 replayChangeset
     self.target.replayChangeset(changeset)
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/target.py", line 126, in
 replayChangeset
     entries, tags = changeset.tags)
   File "/usr/local/stow/python-release25-maint-2008-05-15/lib/python2.5
 /site-packages/tailor-0.9.32-py2.5.egg/vcpx/repository/darcs/target.py",
 line 86, in _commit
     "%s returned status %d" % (str(record), record.exit_status))
 vcpx.source.ChangesetApplicationFailure:
 /Users/wonwinmcbrootles/playground/libcurl/tailored $ darcs record --all
 --pipe returned status 1

 real 166m45.849s
 user 12m33.818s
 sys  7m16.449s
 }}}

 {{{
 $ darcs whatsnew -s
 M ./lib/formdata.c -9 +15
 $ darcs record --all -m 'test' -A 'aythor'
 Finished recording patch 'test'
 $ echo $?
 0
 }}}

 And then resuming tailor resumed successfully:

 {{{
 $ time tailor --configfile=./tailor.config
 15:28:50 [I] Updating "project" in
 "/Users/wonwinmcbrootles/playground/libcurl/tailored"
 15:28:50 [I] $ cvs -f -d :pserver:[EMAIL PROTECTED]:/cvsroot/curl
 rlog -d "2007-03-31 20:47:23 UTC<" -b curl 2>&1
 15:29:26 [I] [Ok]
 15:29:30 [I] Cached information about 1492 pending changesets
 15:29:30 [I] Applying pending upstream changesets
 15:29:30 [I] Changeset #1
 15:29:30 [I] Changeset "2007-03-31 21:01:18 by bagder"
 15:29:30 [I] Log message: Better deal with NULL pointers.
 CID 3 and 4 from the coverity.com scan.
 15:29:30 [I] /Users/wonwinmcbrootles/playground/libcurl/tailored $ darcs
 record --all --pipe
 15:29:31 [I] [Ok]
 15:29:31 [I] -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 }}}

 So I really need to edit tailor to capture the darcs stdout/stderr in a
 case like this!

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