Mercurial > hg
diff doc/hg.1.txt @ 1211:1c455338ad95
Fold import -m option into import -f
author | mpm@selenic.com |
---|---|
date | Wed, 07 Sep 2005 20:09:16 -0700 |
parents | 6e165de907c5 |
children | ccb6201e3f28 |
line wrap: on
line diff
--- a/doc/hg.1.txt Wed Sep 07 20:05:22 2005 -0700 +++ b/doc/hg.1.txt Wed Sep 07 20:09:16 2005 -0700 @@ -251,10 +251,13 @@ import [-p <n> -b <base> -f] <patches>:: Import a list of patches and commit them individually. + If there are outstanding changes in the working directory, import + will abort unless given the -f flag. + If a patch looks like a mail message (its first line starts with "From " or looks like an RFC822 header), it will not be applied - unless the -m option is used. The importer neither parses nor - discards mail headers, so use -m only to override the "mailness" + unless the -f option is used. The importer neither parses nor + discards mail headers, so use -f only to override the "mailness" safety check, not to import a real mail message. options: @@ -262,7 +265,6 @@ meaning as the corresponding patch option -b <path> base directory to read patches from -f, --force skip check for outstanding uncommitted changes - -m, --mail-like apply a patch that appears to be a mail message aliases: patch