1861 Returns 0 on success, 1 if errors are encountered. |
1861 Returns 0 on success, 1 if errors are encountered. |
1862 """ |
1862 """ |
1863 with repo.wlock(False): |
1863 with repo.wlock(False): |
1864 return cmdutil.copy(ui, repo, pats, opts) |
1864 return cmdutil.copy(ui, repo, pats, opts) |
1865 |
1865 |
1866 @command('debuglabelcomplete', [], _('LABEL...')) |
|
1867 def debuglabelcomplete(ui, repo, *args): |
|
1868 '''backwards compatibility with old bash completion scripts (DEPRECATED)''' |
|
1869 debugnamecomplete(ui, repo, *args) |
|
1870 |
|
1871 @command('debugmergestate', [], '') |
1866 @command('debugmergestate', [], '') |
1872 def debugmergestate(ui, repo, *args): |
1867 def debugmergestate(ui, repo, *args): |
1873 """print merge state |
1868 """print merge state |
1874 |
1869 |
1875 Use --verbose to print out information about whether v1 or v2 merge state |
1870 Use --verbose to print out information about whether v1 or v2 merge state |