mercurial/debugcommands.py
changeset 31864 70d163b86316
parent 31689 57a22f699179
child 32209 85dc5a25f1fc
equal deleted inserted replaced
31863:cd7aaf344d83 31864:70d163b86316
    60     smartset,
    60     smartset,
    61     sslutil,
    61     sslutil,
    62     streamclone,
    62     streamclone,
    63     templater,
    63     templater,
    64     treediscovery,
    64     treediscovery,
       
    65     upgrade,
    65     util,
    66     util,
    66     vfs as vfsmod,
    67     vfs as vfsmod,
    67 )
    68 )
    68 
    69 
    69 release = lockmod.release
    70 release = lockmod.release
  2070     repository data is swapped in. This window will be as long as it takes to
  2071     repository data is swapped in. This window will be as long as it takes to
  2071     rename some directories inside the ``.hg`` directory. On most machines, this
  2072     rename some directories inside the ``.hg`` directory. On most machines, this
  2072     should complete almost instantaneously and the chances of a consumer being
  2073     should complete almost instantaneously and the chances of a consumer being
  2073     unable to access the repository should be low.
  2074     unable to access the repository should be low.
  2074     """
  2075     """
  2075     return repair.upgraderepo(ui, repo, run=run, optimize=optimize)
  2076     return upgrade.upgraderepo(ui, repo, run=run, optimize=optimize)
  2076 
  2077 
  2077 @command('debugwalk', commands.walkopts, _('[OPTION]... [FILE]...'),
  2078 @command('debugwalk', commands.walkopts, _('[OPTION]... [FILE]...'),
  2078          inferrepo=True)
  2079          inferrepo=True)
  2079 def debugwalk(ui, repo, *pats, **opts):
  2080 def debugwalk(ui, repo, *pats, **opts):
  2080     """show how files match on given patterns"""
  2081     """show how files match on given patterns"""