Show More
@@ -230,11 +230,8 b' def dorecord(ui, repo, commitfunc, cmdsu' | |||
|
230 | 230 | pass |
|
231 | 231 | |
|
232 | 232 | def recordinwlock(ui, repo, message, match, opts): |
|
233 |
w |
|
|
234 | try: | |
|
233 | with repo.wlock(): | |
|
235 | 234 | return recordfunc(ui, repo, message, match, opts) |
|
236 | finally: | |
|
237 | wlock.release() | |
|
238 | 235 | |
|
239 | 236 | return commit(ui, repo, recordinwlock, pats, opts) |
|
240 | 237 |
General Comments 0
You need to be logged in to leave comments.
Login now