Mercurial > hg
changeset 21771:0f3353776038
mq: define norepo in command decorator
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 04 May 2014 22:04:14 -0700 |
parents | 15d434bee41c |
children | 5a4d1a6c605f |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Sun May 04 21:11:15 2014 -0700 +++ b/hgext/mq.py Sun May 04 22:04:14 2014 -0700 @@ -72,8 +72,6 @@ from mercurial import subrepo import os, re, errno, shutil -commands.norepo += " qclone" - seriesopts = [('s', 'summary', None, _('print first line of patch header'))] cmdtable = {} @@ -2255,7 +2253,8 @@ ('p', 'patches', '', _('location of source patch repository'), _('REPO')), ] + commands.remoteopts, - _('hg qclone [OPTION]... SOURCE [DEST]')) + _('hg qclone [OPTION]... SOURCE [DEST]'), + norepo=True) def clone(ui, source, dest=None, **opts): '''clone main and patch repository at same time