diff -r 519e1bb835ee -r 153e2c170241 components/mercurial/patches/manpages.patch --- a/components/mercurial/patches/manpages.patch Thu Mar 24 11:12:03 2016 -0700 +++ b/components/mercurial/patches/manpages.patch Tue Mar 29 13:06:14 2016 -0700 @@ -1,5 +1,14 @@ ---- mercurial-3.4/doc/hg.1.orig Fri May 1 14:49:19 2015 -+++ mercurial-3.4/doc/hg.1 Mon May 4 14:57:31 2015 +This patch is autogenerated by a rule in the userland Makefile for +mercurial. We already patch a handful of help files (via rst.patch), and +change the rst plugin to emit manpages intelligible to Solaris nroff (via +hgmanpage.patch), but docutils is required to actually rebuild the manpages +after those changes are made. Since we don't yet ship docutils, we have to +create this patch offline and keep a copy of it in the repo. + +These changes are Solaris-specific and not appropriate for upstream. + +--- mercurial-3.7.3/doc/hg.1 Tue Mar 29 09:54:51 2016 ++++ mercurial-3.7.3/doc/hg.1 Tue Mar 29 10:26:31 2016 @@ -3,33 +3,6 @@ .TH HG 1 "" "" "Mercurial Manual" .SH NAME @@ -91,16 +100,26 @@ .fi .sp Schedule files to be version controlled and added to the -@@ -144,15 +117,15 @@ +@@ -144,22 +117,22 @@ repository. .sp The files will be added to the repository at the next commit. To -undo an add before that, see \%\fBhg forget\fP\:. +undo an add before that, see \fBhg forget\fP. .sp - If no names are given, add all files to the repository. - .sp - An example showing how new (unknown) files are added + If no names are given, add all files to the repository (except + files matching \fB.hgignore\fP). + .sp + Examples: +-.INDENT 0.0 +-.INDENT 3.5 +-.INDENT 0.0 ++.RS 0 ++.RS 3 ++.RS 0 + .IP \(bu 2 + . + New (unknown) files are added -automatically by \%\fBhg add\fP\:: +automatically by \fBhg add\fP: .sp @@ -110,13 +129,37 @@ $ ls foo.c $ hg status -@@ -161,13 +134,13 @@ +@@ -168,7 +141,7 @@ adding foo.c $ hg status A foo.c -.ft P +.ft .fi + .IP \(bu 2 + . +@@ -175,7 +148,7 @@ + Specific files to be added can be specified: + .sp + .nf +-.ft C ++.ft + $ ls + bar.c foo.c + $ hg status +@@ -185,16 +158,16 @@ + $ hg status + A bar.c + ? foo.c +-.ft P ++.ft + .fi +-.UNINDENT +-.UNINDENT +-.UNINDENT ++.RE ++.RE ++.RE .sp Returns 0 if all files are successfully added. .sp @@ -126,7 +169,7 @@ .TP .BI \-I, \-\-include \ . -@@ -184,7 +157,7 @@ +@@ -211,7 +184,7 @@ .B \-n, \-\-dry\-run . do not perform actions, just print output @@ -135,7 +178,7 @@ .sp [+] marked option can be specified multiple times .SS addremove -@@ -192,9 +165,9 @@ +@@ -219,9 +192,9 @@ add all new files, delete all missing files: .sp .nf @@ -147,16 +190,7 @@ .fi .sp Add all new files and remove all missing files from the -@@ -201,7 +174,7 @@ - repository. - .sp - New files are ignored if they match any of the patterns in --\fB.hgignore\fP. As with add, these changes take effect at the next -+\fB\&.hgignore\fP. As with add, these changes take effect at the next - commit. - .sp - Use the \-s/\-\-similarity option to detect renamed files. This -@@ -209,7 +182,7 @@ +@@ -236,23 +209,23 @@ be identical) as its parameter. With a parameter greater than 0, this compares every removed file with every added file and records those similar enough as renames. Detecting renamed files this way @@ -165,7 +199,60 @@ used to check which files were identified as moved or renamed. If not specified, \-s/\-\-similarity defaults to 100 and only renames of identical files are detected. -@@ -217,7 +190,7 @@ + .sp + Examples: +-.INDENT 0.0 +-.INDENT 3.5 +-.INDENT 0.0 ++.RS 0 ++.RS 3 ++.RS 0 + .IP \(bu 2 + . + A number of files (bar.c and foo.c) are new, +-while foobar.c has been removed (without using \%\fBhg remove\fP\:) ++while foobar.c has been removed (without using \fBhg remove\fP) + from the repository: + .sp + .nf +-.ft C ++.ft + $ ls + bar.c foo.c + $ hg status +@@ -267,15 +240,15 @@ + A bar.c + A foo.c + R foobar.c +-.ft P ++.ft + .fi + .IP \(bu 2 + . +-A file foobar.c was moved to foo.c without using \%\fBhg rename\fP\:. ++A file foobar.c was moved to foo.c without using \fBhg rename\fP. + Afterwards, it was edited slightly: + .sp + .nf +-.ft C ++.ft + $ ls + foo.c + $ hg status +@@ -289,16 +262,16 @@ + A foo.c + foobar.c + R foobar.c +-.ft P ++.ft + .fi +-.UNINDENT +-.UNINDENT +-.UNINDENT ++.RE ++.RE ++.RE + .sp Returns 0 if all files are successfully added. .sp Options: @@ -174,7 +261,7 @@ .TP .BI \-s, \-\-similarity \ . -@@ -238,7 +211,7 @@ +@@ -319,7 +292,7 @@ .B \-n, \-\-dry\-run . do not perform actions, just print output @@ -183,7 +270,7 @@ .sp [+] marked option can be specified multiple times .SS annotate -@@ -246,9 +219,9 @@ +@@ -327,9 +300,9 @@ show changeset information by line for each file: .sp .nf @@ -195,7 +282,7 @@ .fi .sp List changes in files, showing the revision id responsible for -@@ -265,7 +238,7 @@ +@@ -349,7 +322,7 @@ Returns 0 on success. .sp Options: @@ -204,7 +291,7 @@ .TP .BI \-r, \-\-rev \ . -@@ -277,7 +250,7 @@ +@@ -361,7 +334,7 @@ .TP .B \-\-no\-follow . @@ -213,10 +300,10 @@ .TP .B \-a, \-\-text . -@@ -330,23 +303,23 @@ +@@ -414,23 +387,23 @@ .BI \-T, \-\-template \