hg-fast-export.py: Fix option presence checking

Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
Rocco Rutte
2007-03-19 09:05:51 +00:00
parent 8aff9df2c3
commit f1397c068b

View File

@@ -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: