-directory = DirectoryHasRepository()
-options = [make_option('-s', '--stat',
- help = 'show the diff stat',
- action = 'store_true'),
- make_option('--bare',
- help = 'bare file names (useful for scripting)',
- action = 'store_true')
- ] + argparse.diff_opts_option()
+args = [argparse.applied_patches, argparse.unapplied_patches,
+ argparse.hidden_patches]
+options = [
+ opt('-s', '--stat', action = 'store_true',
+ short = 'Show the diffstat'),
+ opt('--bare', action = 'store_true',
+ short = 'Bare file names (useful for scripting)'),
+ ] + argparse.diff_opts_option()
+
+directory = DirectoryHasRepository(log = False)