From 431c32de6b0879f4a8ae0447923ccc4a28577395 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Thu, 25 Oct 2007 15:23:17 +0200 Subject: [PATCH] hg-fast-export.py: Don't attempt to dump revs beyond tip with -m Signed-off-by: Rocco Rutte --- hg-fast-export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.4.GIT