Show More
@@ -289,13 +289,15 b' def overridedirty(orig, repo, ignoreupda' | |||||
289 | repo._repo.lfstatus = False |
|
289 | repo._repo.lfstatus = False | |
290 |
|
290 | |||
291 | def overridelog(orig, ui, repo, *pats, **opts): |
|
291 | def overridelog(orig, ui, repo, *pats, **opts): | |
292 |
def overridematchandpats(ctx, pats=(), opts= |
|
292 | def overridematchandpats(ctx, pats=(), opts=None, globbed=False, | |
293 | default='relpath', badfn=None): |
|
293 | default='relpath', badfn=None): | |
294 | """Matcher that merges root directory with .hglf, suitable for log. |
|
294 | """Matcher that merges root directory with .hglf, suitable for log. | |
295 | It is still possible to match .hglf directly. |
|
295 | It is still possible to match .hglf directly. | |
296 | For any listed files run log on the standin too. |
|
296 | For any listed files run log on the standin too. | |
297 | matchfn tries both the given filename and with .hglf stripped. |
|
297 | matchfn tries both the given filename and with .hglf stripped. | |
298 | """ |
|
298 | """ | |
|
299 | if opts is None: | |||
|
300 | opts = {} | |||
299 | matchandpats = oldmatchandpats(ctx, pats, opts, globbed, default, |
|
301 | matchandpats = oldmatchandpats(ctx, pats, opts, globbed, default, | |
300 | badfn=badfn) |
|
302 | badfn=badfn) | |
301 | m, p = copy.copy(matchandpats) |
|
303 | m, p = copy.copy(matchandpats) |
General Comments 0
You need to be logged in to leave comments.
Login now