jhbuild r2188 - in trunk: . jhbuild/versioncontrol



Author: johncarr
Date: Sat Jul 26 10:11:37 2008
New Revision: 2188
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2188&view=rev

Log:
2008-07-26  John Carr  <john carr unrouted co uk>

	* jhbuild/versioncontrol/bzr.py: Have a default checkoutdir for
	bzr branches


Modified:
   trunk/ChangeLog
   trunk/jhbuild/versioncontrol/bzr.py

Modified: trunk/jhbuild/versioncontrol/bzr.py
==============================================================================
--- trunk/jhbuild/versioncontrol/bzr.py	(original)
+++ trunk/jhbuild/versioncontrol/bzr.py	Sat Jul 26 10:11:37 2008
@@ -63,6 +63,10 @@
             if module is None:
                 module = name
             module = urlparse.urljoin(self.href, module)
+
+        if checkoutdir is None:
+            checkoutdir = name
+
         return BzrBranch(self, module, checkoutdir)
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]