[Pkg-bazaar-commits] ./bzr/unstable r455: - fix 'bzr root'

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:25 UTC 2009


------------------------------------------------------------
revno: 455
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Wed 2005-05-11 12:27:13 +1000
message:
  - fix 'bzr root'
modified:
  bzrlib/branch.py
-------------- next part --------------
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2005-05-11 02:22:26 +0000
+++ b/bzrlib/branch.py	2005-05-11 02:27:13 +0000
@@ -41,7 +41,7 @@
 
 
 def find_branch(f, **args):
-    if f.startswith('http://') or f.startswith('https://'):
+    if f and (f.startswith('http://') or f.startswith('https://')):
         import remotebranch 
         return remotebranch.RemoteBranch(f, **args)
     else:



More information about the Pkg-bazaar-commits mailing list