Re: svn commit: rev 2181 - trunk/subversion/tests/clients/cmdline trunk/subversion/tests/clients/cmdline/svntest
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-15 01:40:35 CEST
On Thu, Jun 13, 2002 at 01:11:31PM +0100, Philip Martin wrote:
Well... "required" isn't strictly true :-)
When I was converting the code, I noticed the mixing of path styles. In
And it all seems to work... My assumption is that Windows is allowing
Now... *should* it ever pose a problem, then we can easily have a State
def os_path(self, *parts):
This allows constructs like:
state.os_path('A')
>...
The above would have lines like:
svntest.main.file_append(expected_status.os_path(rho_path), 'some text')
Hmm. Just thought of something. If wc.State() represents a working copy,
state.run_svn(...)
To have operations performed on items in the working copy referenced by the
> xxxx is some function (or method, or operator, or whatever) that
Well, a State object is already rooted at a wc_dir, so it would be handy for
Another alternative is to have the Sandbox object do it. Note that most of
wc_dir = sbox.wc_dir
It would be quite reasonable to do:
sbox.os_path('A', 'D')
etc.
I think it really depends on which method the .os_path makes the most sense.
Summary for comments:
* forward-slash seems to work fine on Windows
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Jun 15 01:39:22 2002 |
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.