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