mirror of
https://github.com/frej/fast-export.git
synced 2025-11-01 00:45:47 +01:00
hg-fast-export.py: Fix option presence checking
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
@@ -362,9 +362,9 @@ if __name__=='__main__':
|
|||||||
if options.max!=None: m=options.max
|
if options.max!=None: m=options.max
|
||||||
|
|
||||||
if options.marksfile==None: bail(parser,'--marks')
|
if options.marksfile==None: bail(parser,'--marks')
|
||||||
if options.marksfile==None: bail(parser,'--heads')
|
if options.headsfile==None: bail(parser,'--heads')
|
||||||
if options.marksfile==None: bail(parser,'--status')
|
if options.statusfile==None: bail(parser,'--status')
|
||||||
if options.marksfile==None: bail(parser,'--repo')
|
if options.repourl==None: bail(parser,'--repo')
|
||||||
|
|
||||||
a={}
|
a={}
|
||||||
if options.authorfile!=None:
|
if options.authorfile!=None:
|
||||||
|
|||||||
Reference in New Issue
Block a user