Show More
@@ -132,10 +132,10 b' class localrepository(repo.repository):' | |||
|
132 | 132 | # The old path auditor would have rejected by mistake since it |
|
133 | 133 | # panics when it sees sub/.hg/. |
|
134 | 134 | # |
|
135 |
# All in all, checking against the working copy |
|
|
136 |
# |
|
|
137 |
# |
|
|
138 |
ctx = self[ |
|
|
135 | # All in all, checking against the working copy seems sensible | |
|
136 | # since we want to prevent access to nested repositories on | |
|
137 | # the filesystem *now*. | |
|
138 | ctx = self[None] | |
|
139 | 139 | parts = util.splitpath(subpath) |
|
140 | 140 | while parts: |
|
141 | 141 | prefix = os.sep.join(parts) |
General Comments 0
You need to be logged in to leave comments.
Login now