Skip to content

Commit 23df5e4

Browse files
Felipe Contrerasgitster
authored andcommitted
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>
1 parent 75301a4 commit 23df5e4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

contrib/remote-helpers/git-remote-hg

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ def export_ref(repo, name, kind, head):
373373
ename = '%s/%s' % (kind, name)
374374
tip = marks.get_tip(ename)
375375

376-
# mercurial takes too much time checking this
377-
if tip and tip == head.rev():
378-
# nothing to do
379-
return
380376
revs = xrange(tip, head.rev() + 1)
381377
count = 0
382378

0 commit comments

Comments
 (0)