From f1397c068ba8a458a700cea5983f9d3d2b10390a Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Mon, 19 Mar 2007 09:05:51 +0000 Subject: [PATCH] hg-fast-export.py: Fix option presence checking Signed-off-by: Rocco Rutte --- hg-fast-export.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hg-fast-export.py b/hg-fast-export.py index 54e6868..6bd2e4c 100755 --- a/hg-fast-export.py +++ b/hg-fast-export.py @@ -362,9 +362,9 @@ if __name__=='__main__': if options.max!=None: m=options.max if options.marksfile==None: bail(parser,'--marks') - if options.marksfile==None: bail(parser,'--heads') - if options.marksfile==None: bail(parser,'--status') - if options.marksfile==None: bail(parser,'--repo') + if options.headsfile==None: bail(parser,'--heads') + if options.statusfile==None: bail(parser,'--status') + if options.repourl==None: bail(parser,'--repo') a={} if options.authorfile!=None: -- 2.11.0