Mercurial > hg-stable
changeset 15949:d5edbbf55a75 stable
revset: allow slashes in symbols
suggested by Ryan Kelly
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 20 Jan 2012 14:18:51 -0600 |
parents | 536856769512 |
children | 27f56b73522c |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Fri Jan 20 13:19:32 2012 -0200 +++ b/mercurial/revset.py Fri Jan 20 14:18:51 2012 -0600 @@ -79,7 +79,7 @@ pos += 1 while pos < l: # find end of symbol d = program[pos] - if not (d.isalnum() or d in "._" or ord(d) > 127): + if not (d.isalnum() or d in "._/" or ord(d) > 127): break if d == '.' and program[pos - 1] == '.': # special case for .. pos -= 1