comparison mercurial/debugcommands.py @ 41691:09814946cc6a

debugpathcopies: fix typo in synopsis Differential Revision: https://phab.mercurial-scm.org/D5949
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 12 Feb 2019 13:46:38 -0800
parents ea72da71ad69
children f96988680afe
comparison
equal deleted inserted replaced
41690:ea72da71ad69 41691:09814946cc6a
1806 ui.write('\n'.join(repo.pathto(p, cwd) for p in sorted(files))) 1806 ui.write('\n'.join(repo.pathto(p, cwd) for p in sorted(files)))
1807 ui.write('\n') 1807 ui.write('\n')
1808 1808
1809 @command('debugpathcopies', 1809 @command('debugpathcopies',
1810 cmdutil.walkopts, 1810 cmdutil.walkopts,
1811 'hg debugcopies REV1 REV2 [FILE]', 1811 'hg debugpathcopies REV1 REV2 [FILE]',
1812 inferrepo=True) 1812 inferrepo=True)
1813 def debugpathcopies(ui, repo, rev1, rev2, *pats, **opts): 1813 def debugpathcopies(ui, repo, rev1, rev2, *pats, **opts):
1814 """show copies between two revisions""" 1814 """show copies between two revisions"""
1815 ctx1 = scmutil.revsingle(repo, rev1) 1815 ctx1 = scmutil.revsingle(repo, rev1)
1816 ctx2 = scmutil.revsingle(repo, rev2) 1816 ctx2 = scmutil.revsingle(repo, rev2)