1
0
mirror of https://github.com/git/git.git synced 2024-10-19 12:58:13 +02:00

remote-hg: remove extra check

Not needed since we use xrange ourselves.

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-04-26 16:12:32 -05:00 committed by Junio C Hamano
parent 75301a4588
commit 23df5e40f0

@ -373,10 +373,6 @@ def export_ref(repo, name, kind, head):
ename = '%s/%s' % (kind, name)
tip = marks.get_tip(ename)
# mercurial takes too much time checking this
if tip and tip == head.rev():
# nothing to do
return
revs = xrange(tip, head.rev() + 1)
count = 0