diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-26 23:12:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-27 00:20:26 +0200 |
commit | 23df5e40f01ec75fd8f1032dcd34a945e8ce51c0 (patch) | |
tree | 1a4dd1a7a059ac3d55f9be75b2ef77b7c7a4f86b /contrib/remote-helpers/git-remote-hg | |
parent | remote-helpers: trivial cleanups (diff) | |
download | git-23df5e40f01ec75fd8f1032dcd34a945e8ce51c0.tar.xz git-23df5e40f01ec75fd8f1032dcd34a945e8ce51c0.zip |
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 '')
-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 |