remote-hg: remove extra check
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 26 Apr 2013 21:12:32 +0000 (26 16:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Apr 2013 22:20:26 +0000 (26 15:20 -0700)
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>
contrib/remote-helpers/git-remote-hg

index cfa96c1..80b3606 100755 (executable)
@@ -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