mercurial/commands.py
changeset 13396 3e66eec9a814
parent 13388 a184dbd9b2c5
child 13400 14f3795a5ed7
equal deleted inserted replaced
13395:104c9ed93fc5 13396:3e66eec9a814
  1348     ui.write("internal: %s %s\n" % d)
  1348     ui.write("internal: %s %s\n" % d)
  1349     ui.write("standard: %s\n" % util.datestr(d))
  1349     ui.write("standard: %s\n" % util.datestr(d))
  1350     if range:
  1350     if range:
  1351         m = util.matchdate(range)
  1351         m = util.matchdate(range)
  1352         ui.write("match: %s\n" % m(d[0]))
  1352         ui.write("match: %s\n" % m(d[0]))
       
  1353 
       
  1354 def debugignore(ui, repo, *values, **opts):
       
  1355     """display the combined ignore pattern"""
       
  1356     ignore = repo.dirstate._ignore
       
  1357     ui.write("%s\n" % ignore.includepat)
  1353 
  1358 
  1354 def debugindex(ui, repo, file_, **opts):
  1359 def debugindex(ui, repo, file_, **opts):
  1355     """dump the contents of an index file"""
  1360     """dump the contents of an index file"""
  1356     r = None
  1361     r = None
  1357     if repo:
  1362     if repo:
  4345         (debugdate,
  4350         (debugdate,
  4346          [('e', 'extended', None, _('try extended date formats'))],
  4351          [('e', 'extended', None, _('try extended date formats'))],
  4347          _('[-e] DATE [RANGE]')),
  4352          _('[-e] DATE [RANGE]')),
  4348     "debugdata": (debugdata, [], _('FILE REV')),
  4353     "debugdata": (debugdata, [], _('FILE REV')),
  4349     "debugfsinfo": (debugfsinfo, [], _('[PATH]')),
  4354     "debugfsinfo": (debugfsinfo, [], _('[PATH]')),
       
  4355     "debugignore": (debugignore, [], ''),
  4350     "debugindex": (debugindex,
  4356     "debugindex": (debugindex,
  4351                    [('f', 'format', 0, _('revlog format'), _('FORMAT'))],
  4357                    [('f', 'format', 0, _('revlog format'), _('FORMAT'))],
  4352                    _('FILE')),
  4358                    _('FILE')),
  4353     "debugindexdot": (debugindexdot, [], _('FILE')),
  4359     "debugindexdot": (debugindexdot, [], _('FILE')),
  4354     "debuginstall": (debuginstall, [], ''),
  4360     "debuginstall": (debuginstall, [], ''),