]> granicus.if.org Git - git/commitdiff
remote-hg: remove extra check
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 26 Apr 2013 21:12:32 +0000 (16:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Apr 2013 22:20:26 +0000 (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 cfa96c16b2fe6bb50ad1df57f9fbd1bcf7a4b587..80b36067374226447c1bdcb96273fd7ec67b4d31 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