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

Re: svn commit: rev 1007 - trunk/subversion/tests/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-21 21:11:04 CET

Greg Stein <gstein@lyra.org> writes:

> On Mon, Jan 21, 2002 at 01:08:03PM -0600, philip@tigris.org wrote:
> >...
> > +++ NEW/trunk/subversion/tests/clients/cmdline/diff_tests.py Mon Jan 21 13:07:54 2002
> > @@ -561,10 +561,7 @@
> > svntest.main.run_svn(None, 'ci')
> > os.chdir(was_cwd)
> >
> > - url = os.path.join(svntest.main.test_area_url,
> > - svntest.main.general_repo_dir,
> > - sbox.name)
> > - print url
> > + url = svntest.main.test_area_url + '/' + svntest.main.current_repo_dir
>
> The best way to join URLs is with:
>
> import urlparse
> url = urlparse.urljoin(svntest.main.test_area_url, svntest.main.current_repo_dir)

Ah, OK. However as I don't really do Python I copied it from
actions.py...

I guess changing action.py as well will make

  -url http://localhost/

work, at present it must be specified without a trailing slash

  -url http://localhost

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:57 2006

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.