mirror of
https://github.com/git/git
synced 2024-10-28 19:25:47 +00: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:
parent
75301a4588
commit
23df5e40f0
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue