hgext/blackbox.py
changeset 40295 fa88170c10bb
parent 40293 c303d65d2e34
child 40504 25f1c7bd649d
equal deleted inserted replaced
40294:fabbf9310025 40295:fa88170c10bb
   224         if lastui is None:
   224         if lastui is None:
   225             lastui = ui
   225             lastui = ui
   226 
   226 
   227     repo._wlockfreeprefix.add('blackbox.log')
   227     repo._wlockfreeprefix.add('blackbox.log')
   228 
   228 
   229 @command('^blackbox',
   229 @command('blackbox',
   230     [('l', 'limit', 10, _('the number of events to show')),
   230     [('l', 'limit', 10, _('the number of events to show')),
   231     ],
   231     ],
   232     _('hg blackbox [OPTION]...'),
   232     _('hg blackbox [OPTION]...'),
   233     helpcategory=command.CATEGORY_MAINTENANCE)
   233     helpcategory=command.CATEGORY_MAINTENANCE,
       
   234     helpbasic=True)
   234 def blackbox(ui, repo, *revs, **opts):
   235 def blackbox(ui, repo, *revs, **opts):
   235     '''view the recent repository events
   236     '''view the recent repository events
   236     '''
   237     '''
   237 
   238 
   238     if not repo.vfs.exists('blackbox.log'):
   239     if not repo.vfs.exists('blackbox.log'):