Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 1211:1c455338ad95
Fold import -m option into import -f
author | mpm@selenic.com |
---|---|
date | Wed, 07 Sep 2005 20:09:16 -0700 |
parents | 920682a532df |
children | ccb6201e3f28 |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Sep 07 20:05:22 2005 -0700 +++ b/mercurial/commands.py Wed Sep 07 20:09:16 2005 -0700 @@ -1029,7 +1029,7 @@ hgpatch = False for line in file(pf): line = line.rstrip() - if not message and mailre.match(line) and not opts['mail_like']: + if not message and mailre.match(line) and not opts['force']: if len(line) > 35: line = line[:32] + '...' raise util.Abort('first line looks like a ' 'mail header: ' + line) @@ -1683,8 +1683,7 @@ (import_, [('p', 'strip', 1, 'path strip'), ('f', 'force', None, 'skip check for outstanding changes'), - ('b', 'base', "", 'base path'), - ('m', 'mail-like', None, 'apply a patch that looks like email')], + ('b', 'base', "", 'base path')], "hg import [-f] [-p NUM] [-b BASE] PATCH..."), "incoming|in": (incoming, [('p', 'patch', None, 'show patch')],