On 14.09.2017 15:04, Paul Hammant wrote: > My aim was to minimally impact the prod source. The context object is > a good idea. > > I've been using https://amoffat.github.io/sh/ and quite enjoying it > for my other python/svn project.
Yes, that one's pretty nice, but as a rule we try not to burden our users with dependencies outside the standard library. The script uses os.system, what, twice? Hardly worth replacing. On the other hand, we have wrappers around subprocess.Popen in subversion/tests/cmdline/svntest/main.py; you should be able to recycle those. -- Brane