[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: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-21 21:05:57 CET

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)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
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.