remote-bzr: change global repo
[gitweb.git] / contrib / remote-helpers / git-remote-bzr
index 202a4f7f44ecf2fe51e1ce0cb0d073b456fafbd0..80ed59f430aaa41972a40542eb538c192e10b998 100755 (executable)
@@ -864,7 +864,7 @@ def get_repo(url, alias):
 
         branches[name] = remote_branch.base
 
-        return remote_branch.repository
+        return origin
     else:
         # repository
 
@@ -879,7 +879,7 @@ def get_repo(url, alias):
 
             branches[name] = remote_branch.base
 
-        return repo
+        return origin
 
 def fix_path(alias, orig_url):
     url = urlparse.urlparse(orig_url, 'file')