Mercurial > hg-stable
diff tests/test-revset.t @ 20781:8ecfa225bd16
revrange: pass repo to revset parser
This allows handling of hyphenated symbols for command-line revsets.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Mar 2014 17:56:27 -0500 |
parents | b0203624ab20 |
children | 170d6d591a7d |
line wrap: on
line diff
--- a/tests/test-revset.t Tue Mar 18 17:54:42 2014 -0500 +++ b/tests/test-revset.t Tue Mar 18 17:56:27 2014 -0500 @@ -124,6 +124,7 @@ [255] $ log -a-b-c- # succeeds with fallback 4 + $ try -- -a-b-c--a # complains (minus (minus @@ -140,6 +141,13 @@ ('symbol', '\xc3\xa9') 9 +no quoting needed + + $ log ::a-b-c- + 0 + 1 + 2 + quoting needed $ try '"-a-b-c-"-a'