equal
deleted
inserted
replaced
1235 v.encode('string-escape'))) |
1235 v.encode('string-escape'))) |
1236 |
1236 |
1237 def debugrevspec(ui, repo, expr): |
1237 def debugrevspec(ui, repo, expr): |
1238 '''parse and apply a revision specification''' |
1238 '''parse and apply a revision specification''' |
1239 if ui.verbose: |
1239 if ui.verbose: |
1240 tree = revset.parse(expr) |
1240 tree = revset.parse(expr)[0] |
1241 ui.note(tree, "\n") |
1241 ui.note(tree, "\n") |
1242 func = revset.match(expr) |
1242 func = revset.match(expr) |
1243 for c in func(repo, range(len(repo))): |
1243 for c in func(repo, range(len(repo))): |
1244 ui.write("%s\n" % c) |
1244 ui.write("%s\n" % c) |
1245 |
1245 |