diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-26 16:12:32 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-26 15:20:26 -0700 |
commit | 23df5e40f01ec75fd8f1032dcd34a945e8ce51c0 (patch) | |
tree | 1a4dd1a7a059ac3d55f9be75b2ef77b7c7a4f86b /contrib | |
parent | 75301a45887dfaab2f1458a2a56f7ed9b8f474ce (diff) | |
download | git-23df5e40f01ec75fd8f1032dcd34a945e8ce51c0.tar.gz |
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>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/remote-helpers/git-remote-hg | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index cfa96c16b2..80b3606737 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/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 |