[Svnmerge] svnmerge: command execution failed (exit code: 1)

Todd Stafford staffordt at se-core.net
Wed Sep 13 13:03:28 PDT 2006


Sorry, i accidentally sent this as a reply...

> I changed this in the launch method:
> 
>     if os.name not in ['nt', 'os2']:
> 
> to
> 
>     if os.name not in ['nt', 'os2', 'posix']:
> 
> In order to use the second implementation and it seems to work this way.
> 
> So the problems seems to be related to using popen2.Popen4() vs os.popen4()


Recently, i have been having the same problems.  But applying the above
fix only stops the error being thrown, but the error still happens for
me.  I am using Linux RHE4 in my case.

I find that the problem is always occurring when the script gets the
"log --quiet" from the URL as indicated in the svnmerge-integrated
property.  Lately, the set of revisions I have been making spans through
quite a few.  Say i am trying to svnmerge revisions 1454, 2039, 2402.
The script attempts to get the svn log of 1454:2402.  Through some
research, i figured out that the popen2.popen4() call errors out if the
"cmd" returns more thank 4096 bytes of output.  The out that is
displayed by the LaunchError shows this by always displaying at most
4097 bytes of data, regardless of the span of revisions I give svnmerge.

I am not a python expert, and I have not been able to find anything on
the web that talks about how to handle the 512kb or more output.  Can
anyone chime in on this?

Todd Stafford




More information about the Svnmerge mailing list