Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 30935:e46533c3201e
debugcommands: move 'debuglabelcomplete' in the new module
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 01 Feb 2017 17:39:31 +0100 |
parents | e1fa5fe9f9d4 |
children | 8de38479d60b |
comparison
equal
deleted
inserted
replaced
30934:6d642ecf1a89 | 30935:e46533c3201e |
---|---|
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 |