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:
parent
75301a4588
commit
23df5e40f0
@ -373,10 +373,6 @@ def export_ref(repo, name, kind, head):
|
|||||||
ename = '%s/%s' % (kind, name)
|
ename = '%s/%s' % (kind, name)
|
||||||
tip = marks.get_tip(ename)
|
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)
|
revs = xrange(tip, head.rev() + 1)
|
||||||
count = 0
|
count = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user