remote-hg: trivial cleanups

Drop unused "global", and remove redundant comparison of two files.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Felipe Contreras
2013-05-13 23:36:24 -05:00
committed by Junio C Hamano
parent b387c77b12
commit eb7976e7dd
2 changed files with 1 additions and 3 deletions

View File

@ -538,7 +538,7 @@ def list_head(repo, cur):
g_head = (head, node)
def do_list(parser):
global branches, bmarks, mode, track_branches
global branches, bmarks, track_branches
repo = parser.repo
for bmark, node in bookmarks.listbookmarks(repo).iteritems():