equal
deleted
inserted
replaced
2348 This command takes effect with the next commit by default. |
2348 This command takes effect with the next commit by default. |
2349 |
2349 |
2350 Returns 0 on success, 1 if errors are encountered. |
2350 Returns 0 on success, 1 if errors are encountered. |
2351 """ |
2351 """ |
2352 opts = pycompat.byteskwargs(opts) |
2352 opts = pycompat.byteskwargs(opts) |
2353 with repo.wlock(False): |
2353 with repo.wlock(): |
2354 return cmdutil.copy(ui, repo, pats, opts) |
2354 return cmdutil.copy(ui, repo, pats, opts) |
2355 |
2355 |
2356 |
2356 |
2357 @command( |
2357 @command( |
2358 b'debugcommands', |
2358 b'debugcommands', |
5805 before that, see :hg:`revert`. |
5805 before that, see :hg:`revert`. |
5806 |
5806 |
5807 Returns 0 on success, 1 if errors are encountered. |
5807 Returns 0 on success, 1 if errors are encountered. |
5808 """ |
5808 """ |
5809 opts = pycompat.byteskwargs(opts) |
5809 opts = pycompat.byteskwargs(opts) |
5810 with repo.wlock(False): |
5810 with repo.wlock(): |
5811 return cmdutil.copy(ui, repo, pats, opts, rename=True) |
5811 return cmdutil.copy(ui, repo, pats, opts, rename=True) |
5812 |
5812 |
5813 |
5813 |
5814 @command( |
5814 @command( |
5815 b'resolve', |
5815 b'resolve', |