comparison mercurial/commands.py @ 18962:c0b2cb62067f

debugstate: rename to debugdirstate There is a lot of state, but this command is for debugging the dirstate.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 15 Apr 2013 01:41:27 +0200
parents cd1ac2e54847
children c31b8dc9de67
comparison
equal deleted inserted replaced
18961:cd1ac2e54847 18962:c0b2cb62067f
2492 try: 2492 try:
2493 repo.setparents(r1, r2) 2493 repo.setparents(r1, r2)
2494 finally: 2494 finally:
2495 wlock.release() 2495 wlock.release()
2496 2496
2497 @command('debugstate', 2497 @command('debugdirstate|debugstate',
2498 [('', 'nodates', None, _('do not display the saved mtime')), 2498 [('', 'nodates', None, _('do not display the saved mtime')),
2499 ('', 'datesort', None, _('sort by saved mtime'))], 2499 ('', 'datesort', None, _('sort by saved mtime'))],
2500 _('[OPTION]...')) 2500 _('[OPTION]...'))
2501 def debugstate(ui, repo, nodates=None, datesort=None): 2501 def debugstate(ui, repo, nodates=None, datesort=None):
2502 """show the contents of the current dirstate""" 2502 """show the contents of the current dirstate"""