From: Rocco Rutte Date: Mon, 19 Mar 2007 09:05:51 +0000 (+0000) Subject: hg-fast-export.py: Fix option presence checking X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=f1397c068ba8a458a700cea5983f9d3d2b10390a;p=python%2Ffast-export.git hg-fast-export.py: Fix option presence checking Signed-off-by: Rocco Rutte --- 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: