Robert Zeh wrote:
> Max Bowsher wrote:
>
>>
>> Argument escaping might be a problem.
>> The 1.2 bindings provide svn.core.argv_to_command_string(), which
>> could help out here.
>>
>> It takes a python list of arguments - e.g. ["sccs", "-p", ... ] - and
>> makes an escaped string which will do the right thing on whichever
>> platform it is running on.
>>
>> Also, 2>/dev/null isn't very cross-platform. Could it simply be left
>> out? or does sccs spew unwanted stuff on stderr?
>>
>
> sccs spews a lot of unwanted stuff on stderr --- which brings me to
> another question. Isn't SCCS itself rather non cross-platform?
There's a GNU implementation of it, which I imagine can be compiled most
places. :-)
> I'm a
> little leary of switching to the 1.2 bindings because I won't be able to
> test it myself --- my debian box is at 1.1.1.
Well, you could just grab the bits you need, since they are in the pure
python part of the bindings...
But, I think the current situation is acceptable, at least for the initial
revision of a contrib script. I may tidy it up after it's got into the
subversion repository.
> I've made all of the other changes, and I found a few places where the
> user id was hard coded.
Excellent! Time to post an updated version here, then.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 4 02:24:57 2005