mercurial/commands.py
changeset 50853 6bcfd44bc1cd
parent 50852 44be37c200b3
child 50854 1144c69c7f58
equal deleted inserted replaced
50852:44be37c200b3 50853:6bcfd44bc1cd
  7959     for more information about recovery from corruption of the
  7959     for more information about recovery from corruption of the
  7960     repository.
  7960     repository.
  7961 
  7961 
  7962     Returns 0 on success, 1 if errors are encountered.
  7962     Returns 0 on success, 1 if errors are encountered.
  7963     """
  7963     """
  7964     opts = pycompat.byteskwargs(opts)
       
  7965 
       
  7966     level = None
  7964     level = None
  7967     if opts[b'full']:
  7965     if opts['full']:
  7968         level = verifymod.VERIFY_FULL
  7966         level = verifymod.VERIFY_FULL
  7969     return hg.verify(repo, level)
  7967     return hg.verify(repo, level)
  7970 
  7968 
  7971 
  7969 
  7972 @command(
  7970 @command(