Show More
@@ -1833,11 +1833,8 def copy(ui, repo, *pats, **opts): | |||||
1833 |
|
1833 | |||
1834 | Returns 0 on success, 1 if errors are encountered. |
|
1834 | Returns 0 on success, 1 if errors are encountered. | |
1835 | """ |
|
1835 | """ | |
1836 |
w |
|
1836 | with repo.wlock(False): | |
1837 | try: |
|
|||
1838 | return cmdutil.copy(ui, repo, pats, opts) |
|
1837 | return cmdutil.copy(ui, repo, pats, opts) | |
1839 | finally: |
|
|||
1840 | wlock.release() |
|
|||
1841 |
|
1838 | |||
1842 | @command('debugancestor', [], _('[INDEX] REV1 REV2'), optionalrepo=True) |
|
1839 | @command('debugancestor', [], _('[INDEX] REV1 REV2'), optionalrepo=True) | |
1843 | def debugancestor(ui, repo, *args): |
|
1840 | def debugancestor(ui, repo, *args): |
General Comments 0
You need to be logged in to leave comments.
Login now