equal
deleted
inserted
replaced
343 revtree(ui, copy, repo, full, opts[r'max_count'], opts[r'parents']) |
343 revtree(ui, copy, repo, full, opts[r'max_count'], opts[r'parents']) |
344 |
344 |
345 @command('view', |
345 @command('view', |
346 [('l', 'limit', '', |
346 [('l', 'limit', '', |
347 _('limit number of changes displayed'), _('NUM'))], |
347 _('limit number of changes displayed'), _('NUM'))], |
348 _('[-l LIMIT] [REVRANGE]')) |
348 _('[-l LIMIT] [REVRANGE]'), |
|
349 helpcategory=command.CATEGORY_CHANGE_NAVIGATION) |
349 def view(ui, repo, *etc, **opts): |
350 def view(ui, repo, *etc, **opts): |
350 "start interactive history viewer" |
351 "start interactive history viewer" |
351 opts = pycompat.byteskwargs(opts) |
352 opts = pycompat.byteskwargs(opts) |
352 os.chdir(repo.root) |
353 os.chdir(repo.root) |
353 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) |
354 optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) |