equal
deleted
inserted
replaced
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'): |