Show More
@@ -128,6 +128,7 b' class localrepository(repo.repository):' | |||
|
128 | 128 | if not path.startswith(self.root): |
|
129 | 129 | return False |
|
130 | 130 | subpath = path[len(self.root) + 1:] |
|
131 | normsubpath = util.pconvert(subpath) | |
|
131 | 132 | |
|
132 | 133 | # XXX: Checking against the current working copy is wrong in |
|
133 | 134 | # the sense that it can reject things like |
@@ -149,9 +150,9 b' class localrepository(repo.repository):' | |||
|
149 | 150 | ctx = self[None] |
|
150 | 151 | parts = util.splitpath(subpath) |
|
151 | 152 | while parts: |
|
152 |
prefix = |
|
|
153 | prefix = '/'.join(parts) | |
|
153 | 154 | if prefix in ctx.substate: |
|
154 | if prefix == subpath: | |
|
155 | if prefix == normsubpath: | |
|
155 | 156 | return True |
|
156 | 157 | else: |
|
157 | 158 | sub = ctx.sub(prefix) |
General Comments 0
You need to be logged in to leave comments.
Login now