提交 eb7976e7 编写于 作者: F Felipe Contreras 提交者: Junio C Hamano

remote-hg: trivial cleanups

Drop unused "global", and remove redundant comparison of two files.
Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 b387c77b
......@@ -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():
......
......@@ -455,8 +455,6 @@ test_expect_success 'hg author' '
git_log gitrepo-$x > git-log-$x
done &&
test_cmp git-log-hg git-log-git &&
test_cmp hg-log-hg hg-log-git &&
test_cmp git-log-hg git-log-git
'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册