Browse Source

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>
maint
Felipe Contreras 12 years ago committed by Junio C Hamano
parent
commit
23df5e40f0
  1. 4
      contrib/remote-helpers/git-remote-hg

4
contrib/remote-helpers/git-remote-hg

@ -373,10 +373,6 @@ def export_ref(repo, name, kind, head): @@ -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…
Cancel
Save