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