equal
deleted
inserted
replaced
64 |
64 |
65 for kind, pat, source in kindpats: |
65 for kind, pat, source in kindpats: |
66 if kind == b'set': |
66 if kind == b'set': |
67 if ctx is None: |
67 if ctx is None: |
68 raise error.ProgrammingError( |
68 raise error.ProgrammingError( |
69 b"fileset expression with no " b"context" |
69 b"fileset expression with no context" |
70 ) |
70 ) |
71 matchers.append(ctx.matchfileset(pat, badfn=badfn)) |
71 matchers.append(ctx.matchfileset(pat, badfn=badfn)) |
72 |
72 |
73 if listsubrepos: |
73 if listsubrepos: |
74 for subpath in ctx.substate: |
74 for subpath in ctx.substate: |
544 |
544 |
545 |
545 |
546 def normalizerootdir(dir, funcname): |
546 def normalizerootdir(dir, funcname): |
547 if dir == b'.': |
547 if dir == b'.': |
548 util.nouideprecwarn( |
548 util.nouideprecwarn( |
549 b"match.%s() no longer accepts " b"'.', use '' instead." % funcname, |
549 b"match.%s() no longer accepts '.', use '' instead." % funcname, |
550 b'5.1', |
550 b'5.1', |
551 ) |
551 ) |
552 return b'' |
552 return b'' |
553 return dir |
553 return dir |
554 |
554 |