Show More
@@ -533,7 +533,7 b' def revrange(repo, revs):' | |||
|
533 | 533 | pass |
|
534 | 534 | |
|
535 | 535 | # fall through to new-style queries if old-style fails |
|
536 | m = revset.match(repo.ui, spec) | |
|
536 | m = revset.match(repo.ui, spec, repo) | |
|
537 | 537 | if seen or l: |
|
538 | 538 | dl = [r for r in m(repo, revset.spanset(repo)) if r not in seen] |
|
539 | 539 | l = l + dl |
@@ -124,6 +124,7 b' names that should work without quoting' | |||
|
124 | 124 | [255] |
|
125 | 125 | $ log -a-b-c- # succeeds with fallback |
|
126 | 126 | 4 |
|
127 | ||
|
127 | 128 | $ try -- -a-b-c--a # complains |
|
128 | 129 | (minus |
|
129 | 130 | (minus |
@@ -140,6 +141,13 b' names that should work without quoting' | |||
|
140 | 141 | ('symbol', '\xc3\xa9') |
|
141 | 142 | 9 |
|
142 | 143 | |
|
144 | no quoting needed | |
|
145 | ||
|
146 | $ log ::a-b-c- | |
|
147 | 0 | |
|
148 | 1 | |
|
149 | 2 | |
|
150 | ||
|
143 | 151 | quoting needed |
|
144 | 152 | |
|
145 | 153 | $ try '"-a-b-c-"-a' |
General Comments 0
You need to be logged in to leave comments.
Login now