From 2b4e98761ab6b2e3c3fe73c5b5e33952a1d3fbdc Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Fri, 26 Apr 2013 16:12:32 -0500 Subject: [PATCH] remote-hg: remove extra check Not needed since we use xrange ourselves. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- git-remote-hg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/git-remote-hg b/git-remote-hg index cfa96c1..80b3606 100755 --- a/git-remote-hg +++ b/git-remote-hg @@ -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