jhbuild r2518 - in trunk: . jhbuild/versioncontrol



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]