From: Rocco Rutte Date: Thu, 25 Oct 2007 13:23:17 +0000 (+0200) Subject: hg-fast-export.py: Don't attempt to dump revs beyond tip with -m X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=431c32de6b0879f4a8ae0447923ccc4a28577395;p=python%2Ffast-export.git hg-fast-export.py: Don't attempt to dump revs beyond tip with -m Signed-off-by: Rocco Rutte --- diff --git a/hg-fast-export.py b/hg-fast-export.py index 8113333..6b501f8 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -305,7 +305,7 @@ def hg2git(repourl,m,marksfile,headsfile,tipfile,authors={},sob=False,force=Fals min=int(state_cache.get('tip',0)) max=_max - if _max<0: + if _max<0 or max>tip: max=tip c=0