mercurial/commands.py
changeset 33771 96f43981c1c4
parent 33730 52c5ff856b49
child 33772 d434a7f0685c
equal deleted inserted replaced
33770:119e1c6be1ce 33771:96f43981c1c4
  4708 
  4708 
  4709       It terses the output of only those status which are passed. The ignored
  4709       It terses the output of only those status which are passed. The ignored
  4710       files are not considered while tersing until 'i' is there in --terse value
  4710       files are not considered while tersing until 'i' is there in --terse value
  4711       or the --ignored option is used.
  4711       or the --ignored option is used.
  4712 
  4712 
       
  4713       --verbose option shows more context about the state of the repo
       
  4714       like the repository is in unfinised merge, shelve, rebase state etc.
       
  4715       You can have this behaviour turned on by default by following config:
       
  4716 
       
  4717       [commands]
       
  4718       status.verbose = true
       
  4719 
       
  4720       You can also skip some states like bisect by adding following in
       
  4721       configuration file.
       
  4722 
       
  4723       [commands]
       
  4724       status.skipstates = bisect
       
  4725 
  4713       Examples:
  4726       Examples:
  4714 
  4727 
  4715       - show changes in the working directory relative to a
  4728       - show changes in the working directory relative to a
  4716         changeset::
  4729         changeset::
  4717 
  4730 
  4797                 fm.condwrite(showchar, 'status', '%s ', char, label=label)
  4810                 fm.condwrite(showchar, 'status', '%s ', char, label=label)
  4798                 fm.write('path', fmt, repo.pathto(f, cwd), label=label)
  4811                 fm.write('path', fmt, repo.pathto(f, cwd), label=label)
  4799                 if f in copy:
  4812                 if f in copy:
  4800                     fm.write("copy", '  %s' + end, repo.pathto(copy[f], cwd),
  4813                     fm.write("copy", '  %s' + end, repo.pathto(copy[f], cwd),
  4801                              label='status.copied')
  4814                              label='status.copied')
       
  4815 
       
  4816     if ((ui.verbose or ui.configbool('commands', 'status.verbose'))
       
  4817         and not ui.plain()):
       
  4818         cmdutil.morestatus(repo, fm)
  4802     fm.end()
  4819     fm.end()
  4803 
  4820 
  4804 @command('^summary|sum',
  4821 @command('^summary|sum',
  4805     [('', 'remote', None, _('check for push and pull'))], '[--remote]')
  4822     [('', 'remote', None, _('check for push and pull'))], '[--remote]')
  4806 def summary(ui, repo, **opts):
  4823 def summary(ui, repo, **opts):