Yann please, use the ML where there are people more expert than me on git related issues.

Yann DIRSON wrote:
It fails in the same place, with the same log.  /me wonders why I thought I
read the problem came from the log message :(

$  ~/tools/git/tailor-0.9.23/tailor --configfile
/homelocal/ydirson/test/tailor.conf
14:08:03 [I] Updating "project" in "/homelocal/ydirson/test/root"
14:08:04 [I] Applying pending upstream changesets
14:08:04 [I] Changeset "2006-05-09 09:40:55 by csousbie"
14:08:04 [I] Log message: #65 cahier d'int?gration : ajout de "synchronize"
devant la methode erHandleMessageInfoCommande
14:08:04 [I] /homelocal/ydirson/test/root $ git commit -a -F -
14:08:04 [W] [Status 1]
14:08:04 [C] Couldn't replay changeset
14:08:04 [C] Upstream change application failed
Failure applying upstream changes: /homelocal/ydirson/test/root $ git
commit -a -F - returned status 1


I tried to force displaying stderr using "(out, err) =
c.execute(stdout=PIPE, env=env, input=logmessage)" and showing "err" it on
failure in _commit, but it is "None".

You need to add also a "stderr=STDOUT" and change the very first import to include also the STDOUT symbol. So, the first import becomes:

from shwrap import ExternalCommand, \
            ReopenableNamedTemporaryFile, PIPE, STDOUT

while the execute becomes:

(out, err) = c.execute(stdout=PIPE, stderr=STDOUT, env=env, input=logmessage)

Search for "STDOUT" in the other sources for examples.

If I cd there and run "git commit -a -F -" and feed the commit message
myself, it does proceed.
Then if I rerun tailor, it proceeds with the remaining patchsets.

Probably unrelated, looking at the mixed cvs/git repo, I find it strange in
many places subdirectories are not referenced in CVS/Entries files.

Any idea where to look ?  I'm no python expert...

Any chance of being able to retry it from here? Is the CVS repo private stuff?


ciao, lele.
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to