Show More
@@ -220,7 +220,14 b' def dorecord(ui, repo, commitfunc, cmdsu' | |||
|
220 | 220 | except OSError: |
|
221 | 221 | pass |
|
222 | 222 | |
|
223 |
|
|
|
223 | def recordinwlock(ui, repo, message, match, opts): | |
|
224 | wlock = repo.wlock() | |
|
225 | try: | |
|
226 | return recordfunc(ui, repo, message, match, opts) | |
|
227 | finally: | |
|
228 | wlock.release() | |
|
229 | ||
|
230 | return commit(ui, repo, recordinwlock, pats, opts) | |
|
224 | 231 | |
|
225 | 232 | def findpossible(cmd, table, strict=False): |
|
226 | 233 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now