Show More
@@ -696,8 +696,7 b' def reposetup(ui, repo):' | |||||
696 |
|
696 | |||
697 | def kw_dorecord(orig, ui, repo, commitfunc, *pats, **opts): |
|
697 | def kw_dorecord(orig, ui, repo, commitfunc, *pats, **opts): | |
698 | '''Wraps record.dorecord expanding keywords after recording.''' |
|
698 | '''Wraps record.dorecord expanding keywords after recording.''' | |
699 |
w |
|
699 | with repo.wlock(): | |
700 | try: |
|
|||
701 | # record returns 0 even when nothing has changed |
|
700 | # record returns 0 even when nothing has changed | |
702 | # therefore compare nodes before and after |
|
701 | # therefore compare nodes before and after | |
703 | kwt.postcommit = True |
|
702 | kwt.postcommit = True | |
@@ -712,8 +711,6 b' def reposetup(ui, repo):' | |||||
712 | kwt.overwrite(recctx, added, False, True, True) |
|
711 | kwt.overwrite(recctx, added, False, True, True) | |
713 | kwt.restrict = True |
|
712 | kwt.restrict = True | |
714 | return ret |
|
713 | return ret | |
715 | finally: |
|
|||
716 | wlock.release() |
|
|||
717 |
|
714 | |||
718 | def kwfilectx_cmp(orig, self, fctx): |
|
715 | def kwfilectx_cmp(orig, self, fctx): | |
719 | # keyword affects data size, comparing wdir and filelog size does |
|
716 | # keyword affects data size, comparing wdir and filelog size does |
General Comments 0
You need to be logged in to leave comments.
Login now