remote-bzr: change global repo
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:24:23 +0000 (21:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 14:43:18 +0000 (07:43 -0700)
It's not used anyway.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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')