Show More
@@ -38,7 +38,8 def _expandsets(kindpats, ctx, listsubre | |||||
38 | for kind, pat, source in kindpats: |
|
38 | for kind, pat, source in kindpats: | |
39 | if kind == 'set': |
|
39 | if kind == 'set': | |
40 | if not ctx: |
|
40 | if not ctx: | |
41 |
raise error. |
|
41 | raise error.ProgrammingError("fileset expression with no " | |
|
42 | "context") | |||
42 | s = ctx.getfileset(pat) |
|
43 | s = ctx.getfileset(pat) | |
43 | fset.update(s) |
|
44 | fset.update(s) | |
44 |
|
45 | |||
@@ -121,8 +122,8 def match(root, cwd, patterns, include=N | |||||
121 | normalize = _donormalize |
|
122 | normalize = _donormalize | |
122 | if icasefs: |
|
123 | if icasefs: | |
123 | if exact: |
|
124 | if exact: | |
124 |
raise error. |
|
125 | raise error.ProgrammingError("a case-insensitive exact matcher " | |
125 |
"make sense") |
|
126 | "doesn't make sense") | |
126 | dirstate = ctx.repo().dirstate |
|
127 | dirstate = ctx.repo().dirstate | |
127 | dsnormalize = dirstate.normalize |
|
128 | dsnormalize = dirstate.normalize | |
128 |
|
129 |
General Comments 0
You need to be logged in to leave comments.
Login now