equal
deleted
inserted
replaced
371 [(b'l', b'limit', b'', _(b'limit number of changes displayed'), _(b'NUM'))], |
371 [(b'l', b'limit', b'', _(b'limit number of changes displayed'), _(b'NUM'))], |
372 _(b'[-l LIMIT] [REVRANGE]'), |
372 _(b'[-l LIMIT] [REVRANGE]'), |
373 helpcategory=command.CATEGORY_CHANGE_NAVIGATION, |
373 helpcategory=command.CATEGORY_CHANGE_NAVIGATION, |
374 ) |
374 ) |
375 def view(ui, repo, *etc, **opts): |
375 def view(ui, repo, *etc, **opts): |
376 b"start interactive history viewer" |
376 """start interactive history viewer""" |
377 opts = pycompat.byteskwargs(opts) |
377 opts = pycompat.byteskwargs(opts) |
378 os.chdir(repo.root) |
378 os.chdir(repo.root) |
379 optstr = b' '.join( |
379 optstr = b' '.join( |
380 [b'--%s %s' % (k, v) for k, v in pycompat.iteritems(opts) if v] |
380 [b'--%s %s' % (k, v) for k, v in pycompat.iteritems(opts) if v] |
381 ) |
381 ) |