equal
deleted
inserted
replaced
1843 if bundletype not in bundle2.bundletypes: |
1843 if bundletype not in bundle2.bundletypes: |
1844 raise error.Abort(_(b'unknown bundle type specified with --type')) |
1844 raise error.Abort(_(b'unknown bundle type specified with --type')) |
1845 bundle2.writebundle(ui, bundle, bundlepath, bundletype) |
1845 bundle2.writebundle(ui, bundle, bundlepath, bundletype) |
1846 |
1846 |
1847 |
1847 |
1848 @command(b'debugignore', [], b'[FILE]') |
1848 @command(b'debugignore', [], b'[FILE]...') |
1849 def debugignore(ui, repo, *files, **opts): |
1849 def debugignore(ui, repo, *files, **opts): |
1850 """display the combined ignore pattern and information about ignored files |
1850 """display the combined ignore pattern and information about ignored files |
1851 |
1851 |
1852 With no argument display the combined ignore pattern. |
1852 With no argument display the combined ignore pattern. |
1853 |
1853 |
2626 False, |
2626 False, |
2627 _(b'display the on disk meta data for the nodemap'), |
2627 _(b'display the on disk meta data for the nodemap'), |
2628 ), |
2628 ), |
2629 ] |
2629 ] |
2630 ), |
2630 ), |
2631 _(b'-c|-m|FILE REV'), |
2631 _(b'-c|-m|FILE'), |
2632 ) |
2632 ) |
2633 def debugnodemap(ui, repo, file_=None, **opts): |
2633 def debugnodemap(ui, repo, file_=None, **opts): |
2634 """write and inspect on disk nodemap""" |
2634 """write and inspect on disk nodemap""" |
2635 if opts.get('changelog') or opts.get('manifest') or opts.get('dir'): |
2635 if opts.get('changelog') or opts.get('manifest') or opts.get('dir'): |
2636 if file_ is not None: |
2636 if file_ is not None: |