equal
deleted
inserted
replaced
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', []),)) |