[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SCCS to Subversion Python script

From: Robert Zeh <rzeh_at_efs-us.com>
Date: 2005-01-03 23:51:18 CET

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? 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.

I've made all of the other changes, and I found a few places where the
user id was hard coded.

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 3 23:53:00 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.