Show More
@@ -137,8 +137,7 b' def maybeperformlegacystreamclone(pullop' | |||||
137 | raise error.ResponseError( |
|
137 | raise error.ResponseError( | |
138 | _('unexpected response from remote server:'), l) |
|
138 | _('unexpected response from remote server:'), l) | |
139 |
|
139 | |||
140 |
|
|
140 | with repo.lock(): | |
141 | try: |
|
|||
142 | consumev1(repo, fp, filecount, bytecount) |
|
141 | consumev1(repo, fp, filecount, bytecount) | |
143 |
|
142 | |||
144 | # new requirements = old non-format requirements + |
|
143 | # new requirements = old non-format requirements + | |
@@ -153,8 +152,6 b' def maybeperformlegacystreamclone(pullop' | |||||
153 | branchmap.replacecache(repo, rbranchmap) |
|
152 | branchmap.replacecache(repo, rbranchmap) | |
154 |
|
153 | |||
155 | repo.invalidate() |
|
154 | repo.invalidate() | |
156 | finally: |
|
|||
157 | lock.release() |
|
|||
158 |
|
155 | |||
159 | def allowservergeneration(ui): |
|
156 | def allowservergeneration(ui): | |
160 | """Whether streaming clones are allowed from the server.""" |
|
157 | """Whether streaming clones are allowed from the server.""" |
General Comments 0
You need to be logged in to leave comments.
Login now