Show More
@@ -3869,12 +3869,8 b' def graft(ui, repo, *revs, **opts):' | |||||
3869 |
|
3869 | |||
3870 | Returns 0 on successful completion. |
|
3870 | Returns 0 on successful completion. | |
3871 | ''' |
|
3871 | ''' | |
3872 | wlock = None |
|
3872 | with repo.wlock(): | |
3873 | try: |
|
|||
3874 | wlock = repo.wlock() |
|
|||
3875 | return _dograft(ui, repo, *revs, **opts) |
|
3873 | return _dograft(ui, repo, *revs, **opts) | |
3876 | finally: |
|
|||
3877 | release(wlock) |
|
|||
3878 |
|
3874 | |||
3879 | def _dograft(ui, repo, *revs, **opts): |
|
3875 | def _dograft(ui, repo, *revs, **opts): | |
3880 | revs = list(revs) |
|
3876 | revs = list(revs) |
General Comments 0
You need to be logged in to leave comments.
Login now