comparison mercurial/debugcommands.py @ 47128:bea4717415c0

merge with stable
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 07 May 2021 22:06:25 -0400
parents d55b71393907 f38bf44e077f
children c261899fb282
comparison
equal deleted inserted replaced
47127:5ffc6c18fb96 47128:bea4717415c0
2906 ui.write(_(b"%s not renamed\n") % rel) 2906 ui.write(_(b"%s not renamed\n") % rel)
2907 2907
2908 2908
2909 @command(b'debugrequires|debugrequirements', [], b'') 2909 @command(b'debugrequires|debugrequirements', [], b'')
2910 def debugrequirements(ui, repo): 2910 def debugrequirements(ui, repo):
2911 """ print the current repo requirements """ 2911 """print the current repo requirements"""
2912 for r in sorted(repo.requirements): 2912 for r in sorted(repo.requirements):
2913 ui.write(b"%s\n" % r) 2913 ui.write(b"%s\n" % r)
2914 2914
2915 2915
2916 @command( 2916 @command(
4084 repository data is swapped in. This window will be as long as it takes to 4084 repository data is swapped in. This window will be as long as it takes to
4085 rename some directories inside the ``.hg`` directory. On most machines, this 4085 rename some directories inside the ``.hg`` directory. On most machines, this
4086 should complete almost instantaneously and the chances of a consumer being 4086 should complete almost instantaneously and the chances of a consumer being
4087 unable to access the repository should be low. 4087 unable to access the repository should be low.
4088 4088
4089 By default, all revlog will be upgraded. You can restrict this using flag 4089 By default, all revlogs will be upgraded. You can restrict this using flags
4090 such as `--manifest`: 4090 such as `--manifest`:
4091 4091
4092 * `--manifest`: only optimize the manifest 4092 * `--manifest`: only optimize the manifest
4093 * `--no-manifest`: optimize all revlog but the manifest 4093 * `--no-manifest`: optimize all revlog but the manifest
4094 * `--changelog`: optimize the changelog only 4094 * `--changelog`: optimize the changelog only