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