jhbuild r2518 - in trunk: . jhbuild/versioncontrol
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2518 - in trunk: . jhbuild/versioncontrol
- Date: Fri, 14 Nov 2008 18:55:58 +0000 (UTC)
Author: fpeters
Date: Fri Nov 14 18:55:58 2008
New Revision: 2518
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2518&view=rev
Log:
* jhbuild/versioncontrol/svn.py: reformat module HREF to resolve ..
before handing it to Subversion. (closes: #560246#c11)
Modified:
trunk/ChangeLog
trunk/jhbuild/versioncontrol/svn.py
Modified: trunk/jhbuild/versioncontrol/svn.py
==============================================================================
--- trunk/jhbuild/versioncontrol/svn.py (original)
+++ trunk/jhbuild/versioncontrol/svn.py Fri Nov 14 18:55:58 2008
@@ -164,6 +164,10 @@
if checkoutdir is None:
checkoutdir = name
+ splitted_href = list(urlparse.urlsplit(module_href))
+ splitted_href[2] = os.path.abspath(splitted_href[2])
+ module_href = urlparse.urlunsplit(splitted_href)
+
if self.svn_program == 'bzr' and not revision:
return bzr.BzrBranch(self, module_href, checkoutdir)
elif self.svn_program == 'git-svn':
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]