tests/test-glog.t
changeset 35543 a7f7eff4ec08
parent 34866 1644623ab096
child 35548 b14c8bcfbad9
equal deleted inserted replaced
35542:beb667c9880f 35543:a7f7eff4ec08
    91   > )
    91   > )
    92   > 
    92   > 
    93   > def uisetup(ui):
    93   > def uisetup(ui):
    94   >     def printrevset(orig, ui, repo, *pats, **opts):
    94   >     def printrevset(orig, ui, repo, *pats, **opts):
    95   >         if opts.get('print_revset'):
    95   >         if opts.get('print_revset'):
    96   >             expr = cmdutil.getgraphlogrevs(repo, pats, opts)[1]
    96   >             expr = cmdutil.getlogrevs(repo, pats, opts)[1]
    97   >             if expr:
    97   >             if expr:
    98   >                 tree = revsetlang.parse(expr)
    98   >                 tree = revsetlang.parse(expr)
    99   >             else:
    99   >             else:
   100   >                 tree = []
   100   >                 tree = []
   101   >             ui.write('%r\n' % (opts.get('rev', []),))
   101   >             ui.write('%r\n' % (opts.get('rev', []),))