--- 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
@@ -3,33 +3,6 @@
 .TH HG 1 "" "" "Mercurial Manual"
 .SH NAME
 hg \- Mercurial source code management system
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
 .SH SYNOPSIS
 .sp
 \fBhg\fP \fIcommand\fP [\fIoption\fP]... [\fIargument\fP]...
@@ -38,12 +11,12 @@
 The \fBhg\fP command provides a command line interface to the Mercurial
 system.
 .SH COMMAND ELEMENTS
-.INDENT 0.0
+.RS 0
 .TP
 .B files...
 .
 indicates one or more filename or relative path filenames; see
-\%File Name Patterns\: for information on pattern matching
+File Name Patterns for information on pattern matching
 .TP
 .B path
 .
@@ -59,9 +32,9 @@
 .
 either the pathname of a local repository or the URI of a remote
 repository.
-.UNINDENT
+.RE
 .SH OPTIONS
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-R,  \-\-repository \ <REPO>
 .
@@ -85,7 +58,7 @@
 .TP
 .BI \-\-config \ <CONFIG[+]>
 .
-set/override config option (use \(aqsection.name=value\(aq)
+set/override config option (use 'section.name=value')
 .TP
 .B \-\-debug
 .
@@ -126,7 +99,7 @@
 .B \-\-hidden
 .
 consider hidden changesets
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SH COMMANDS
@@ -135,9 +108,9 @@
 add the specified files on the next commit:
 .sp
 .nf
-.ft C
+.ft
 hg add [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Schedule files to be version controlled and added to the
@@ -144,15 +117,15 @@
 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
-automatically by \%\fBhg add\fP\::
+automatically by \fBhg add\fP:
 .sp
 .nf
-.ft C
+.ft
 $ ls
 foo.c
 $ hg status
@@ -161,13 +134,13 @@
 adding foo.c
 $ hg status
 A foo.c
-.ft P
+.ft
 .fi
 .sp
 Returns 0 if all files are successfully added.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-I,  \-\-include \ <PATTERN[+]>
 .
@@ -184,7 +157,7 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS addremove
@@ -192,9 +165,9 @@
 add all new files, delete all missing files:
 .sp
 .nf
-.ft C
+.ft
 hg addremove [OPTION]... [FILE]...
-.ft P
+.ft
 .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 @@
 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
-can be expensive. After using this option, \%\fBhg status \-C\fP\: can be
+can be expensive. After using this option, \fBhg status \-C\fP can be
 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 @@
 Returns 0 if all files are successfully added.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-s,  \-\-similarity \ <SIMILARITY>
 .
@@ -238,7 +211,7 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS annotate
@@ -246,9 +219,9 @@
 show changeset information by line for each file:
 .sp
 .nf
-.ft C
+.ft
 hg annotate [\-r REV] [\-f] [\-a] [\-u] [\-d] [\-n] [\-c] [\-l] FILE...
-.ft P
+.ft
 .fi
 .sp
 List changes in files, showing the revision id responsible for
@@ -265,7 +238,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -277,7 +250,7 @@
 .TP
 .B \-\-no\-follow
 .
-don\(aqt follow copies and renames
+don't follow copies and renames
 .TP
 .B \-a,  \-\-text
 .
@@ -330,23 +303,23 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: blame
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS archive
 .sp
 create an unversioned archive of a repository revision:
 .sp
 .nf
-.ft C
+.ft
 hg archive [OPTION]... DEST
-.ft P
+.ft
 .fi
 .sp
 By default, the revision used is the parent of the working
@@ -356,15 +329,15 @@
 extension (or override using \-t/\-\-type).
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 create a zip file containing the 1.0 release:
 .sp
 .nf
-.ft C
+.ft
 hg archive \-r 1.0 project\-1.0.zip
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -371,14 +344,14 @@
 create a tarball excluding .hg files:
 .sp
 .nf
-.ft C
+.ft
 hg archive project.tar.gz \-X ".hg*"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Valid types are:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBfiles\fP
 .sp
@@ -403,10 +376,10 @@
 .B \fBzip\fP
 .sp
 zip archive, compressed using deflate
-.UNINDENT
+.RE
 .sp
 The exact name of the destination archive or directory is given
-using a format string; see \%\fBhg help export\fP\: for details.
+using a format string; see \fBhg help export\fP for details.
 .sp
 Each member added to an archive file has a directory prefix
 prepended. Use \-p/\-\-prefix to specify a format string for the
@@ -416,7 +389,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-no\-decode
 .
@@ -445,7 +418,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS backout
@@ -453,9 +426,9 @@
 reverse effect of earlier changeset:
 .sp
 .nf
-.ft C
+.ft
 hg backout [OPTION]... [\-r] REV
-.ft P
+.ft
 .fi
 .sp
 Prepare a new changeset with the effect of REV undone in the
@@ -476,17 +449,17 @@
 working directory and a new child of REV that simply undoes REV.
 .sp
 Before version 1.7, the behavior without \-\-merge was equivalent
-to specifying \-\-merge followed by \%\fBhg update \-\-clean .\fP\: to
+to specifying \-\-merge followed by \fBhg update \-\-clean .\fP to
 cancel the merge and leave the child of REV as a head to be
 merged separately.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Returns 0 on success, 1 if nothing to backout or there are unresolved
 files.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-merge
 .
@@ -535,7 +508,7 @@
 .BI \-u,  \-\-user \ <USER>
 .
 record the specified user as committer
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS bisect
@@ -543,9 +516,9 @@
 subdivision search of changesets:
 .sp
 .nf
-.ft C
+.ft
 hg bisect [\-gbsr] [\-U] [\-c CMD] [REV]
-.ft P
+.ft
 .fi
 .sp
 This command helps to find changesets which introduce problems. To
@@ -569,16 +542,16 @@
 is bad.
 .sp
 Some examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 start a bisection with known bad revision 34, and good revision 12:
 .sp
 .nf
-.ft C
+.ft
 hg bisect \-\-bad 34
 hg bisect \-\-good 12
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -586,10 +559,10 @@
 bad:
 .sp
 .nf
-.ft C
+.ft
 hg bisect \-\-good
 hg bisect \-\-bad
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -597,10 +570,10 @@
 that revision is not usable because of another issue):
 .sp
 .nf
-.ft C
+.ft
 hg bisect \-\-skip
 hg bisect \-\-skip 23
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -607,9 +580,9 @@
 skip all revisions that do not touch directories \fBfoo\fP or \fBbar\fP:
 .sp
 .nf
-.ft C
-hg bisect \-\-skip "!( file(\(aqpath:foo\(aq) & file(\(aqpath:bar\(aq) )"
-.ft P
+.ft
+hg bisect \-\-skip "!( file('path:foo') & file('path:bar') )"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -616,22 +589,22 @@
 forget the current bisection:
 .sp
 .nf
-.ft C
+.ft
 hg bisect \-\-reset
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
-use \(aqmake && make tests\(aq to automatically find the first broken
+use 'make && make tests' to automatically find the first broken
 revision:
 .sp
 .nf
-.ft C
+.ft
 hg bisect \-\-reset
 hg bisect \-\-bad 34
 hg bisect \-\-good 12
 hg bisect \-\-command "make && make tests"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -639,9 +612,9 @@
 bisection:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "bisect(pruned)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -649,9 +622,9 @@
 if running with \-U/\-\-noupdate):
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "bisect(current)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -658,9 +631,9 @@
 see all changesets that took part in the current bisection:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "bisect(range)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -667,18 +640,18 @@
 you can even get a nice graph:
 .sp
 .nf
-.ft C
+.ft
 hg log \-\-graph \-r "bisect(range)"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See \%\fBhg help revsets\fP\: for more about the \fIbisect()\fP keyword.
+See \fBhg help revsets\fP for more about the \fIbisect()\fP keyword.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-r,  \-\-reset
 .
@@ -707,15 +680,15 @@
 .B \-U,  \-\-noupdate
 .
 do not update to target
-.UNINDENT
+.RE
 .SS bookmarks
 .sp
 create a new bookmark or list existing bookmarks:
 .sp
 .nf
-.ft C
+.ft
 hg bookmarks [OPTIONS]... [NAME]...
-.ft P
+.ft
 .fi
 .sp
 Bookmarks are labels on changesets to help track lines of development.
@@ -722,30 +695,30 @@
 Bookmarks are unversioned and can be moved, renamed and deleted.
 Deleting or moving a bookmark has no effect on the associated changesets.
 .sp
-Creating or updating to a bookmark causes it to be marked as \(aqactive\(aq.
-The active bookmark is indicated with a \(aq*\(aq.
+Creating or updating to a bookmark causes it to be marked as 'active'.
+The active bookmark is indicated with a '*'.
 When a commit is made, the active bookmark will advance to the new commit.
-A plain \%\fBhg update\fP\: will also advance an active bookmark, if possible.
+A plain \fBhg update\fP will also advance an active bookmark, if possible.
 Updating away from a bookmark will cause it to be deactivated.
 .sp
 Bookmarks can be pushed and pulled between repositories (see
-\%\fBhg help push\fP\: and \%\fBhg help pull\fP\:). If a shared bookmark has
-diverged, a new \(aqdivergent bookmark\(aq of the form \%\(aqname@path\:\(aq will
-be created. Using \%\fBhg merge\fP\: will resolve the divergence.
+\fBhg help push\fP and \fBhg help pull\fP). If a shared bookmark has
+diverged, a new 'divergent bookmark' of the form \&'name@path\&' will
+be created. Using \fBhg merge\fP will resolve the divergence.
 .sp
-A bookmark named \(aq@\(aq has the special property that \%\fBhg clone\fP\: will
+A bookmark named '@' has the special property that \fBhg clone\fP will
 check it out by default if it exists.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 create an active bookmark for a new line of development:
 .sp
 .nf
-.ft C
+.ft
 hg book new\-feature
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -752,9 +725,9 @@
 create an inactive bookmark as a place marker:
 .sp
 .nf
-.ft C
+.ft
 hg book \-i reviewed
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -761,23 +734,23 @@
 create an inactive bookmark on another changeset:
 .sp
 .nf
-.ft C
+.ft
 hg book \-r .^ tested
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
-move the \(aq@\(aq bookmark from another branch:
+move the '@' bookmark from another branch:
 .sp
 .nf
-.ft C
+.ft
 hg book \-f @
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -804,20 +777,20 @@
 display with template (DEPRECATED)
 .sp
 aliases: bookmark
-.UNINDENT
+.RE
 .SS branch
 .sp
 set or show the current branch name:
 .sp
 .nf
-.ft C
+.ft
 hg branch [\-fC] [NAME]
-.ft P
+.ft
 .fi
 .IP Note
 .
-Branch names are permanent and global. Use \%\fBhg bookmark\fP\: to create a
-light\-weight bookmark instead. See \%\fBhg help glossary\fP\: for more
+Branch names are permanent and global. Use \fBhg bookmark\fP to create a
+light\-weight bookmark instead. See \fBhg help glossary\fP for more
 information about named branches and bookmarks.
 .RE
 .sp
@@ -824,7 +797,7 @@
 With no argument, show the current branch name. With one argument,
 set the working directory branch name (the branch will not exist
 in the repository until the next commit). Standard practice
-recommends that primary development take place on the \(aqdefault\(aq
+recommends that primary development take place on the 'default'
 branch.
 .sp
 Unless \-f/\-\-force is specified, branch will not let you set a
@@ -834,13 +807,13 @@
 the parent of the working directory, negating a previous branch
 change.
 .sp
-Use the command \%\fBhg update\fP\: to switch to an existing branch. Use
-\%\fBhg commit \-\-close\-branch\fP\: to mark this branch as closed.
+Use the command \fBhg update\fP to switch to an existing branch. Use
+\fBhg commit \-\-close\-branch\fP to mark this branch as closed.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -849,27 +822,27 @@
 .B \-C,  \-\-clean
 .
 reset branch name to parent branch name
-.UNINDENT
+.RE
 .SS branches
 .sp
 list repository named branches:
 .sp
 .nf
-.ft C
+.ft
 hg branches [\-ac]
-.ft P
+.ft
 .fi
 .sp
-List the repository\(aqs named branches, indicating which ones are
+List the repository's named branches, indicating which ones are
 inactive. If \-c/\-\-closed is specified, also list branches which have
-been marked closed (see \%\fBhg commit \-\-close\-branch\fP\:).
+been marked closed (see \fBhg commit \-\-close\-branch\fP).
 .sp
-Use the command \%\fBhg update\fP\: to switch to an existing branch.
+Use the command \fBhg update\fP to switch to an existing branch.
 .sp
 Returns 0.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-active
 .
@@ -882,15 +855,15 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .SS bundle
 .sp
 create a changegroup file:
 .sp
 .nf
-.ft C
+.ft
 hg bundle [\-f] [\-t TYPE] [\-a] [\-r REV]... [\-\-base REV]... FILE [DEST]
-.ft P
+.ft
 .fi
 .sp
 Generate a compressed changegroup file collecting changesets not
@@ -916,7 +889,7 @@
 Returns 0 on success, 1 if no changes found.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -953,7 +926,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS cat
@@ -961,9 +934,9 @@
 output the current or given revision of files:
 .sp
 .nf
-.ft C
+.ft
 hg cat [OPTION]... FILE...
-.ft P
+.ft
 .fi
 .sp
 Print the specified files as they were at the given revision. If
@@ -971,7 +944,7 @@
 .sp
 Output may be to a file, in which case the name of the file is
 given using a format string. The formatting rules as follows:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fB%%\fP
 .sp
@@ -983,7 +956,7 @@
 .TP
 .B \fB%d\fP
 .sp
-dirname of file being printed, or \(aq.\(aq if in repository root
+dirname of file being printed, or '.' if in repository root
 .TP
 .B \fB%p\fP
 .sp
@@ -1008,12 +981,12 @@
 .B \fB%b\fP
 .sp
 basename of the exporting repository
-.UNINDENT
+.RE
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-o,  \-\-output \ <FORMAT>
 .
@@ -1034,7 +1007,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS clone
@@ -1042,9 +1015,9 @@
 make a copy of an existing repository:
 .sp
 .nf
-.ft C
+.ft
 hg clone [OPTION]... SOURCE [DEST]
-.ft P
+.ft
 .fi
 .sp
 Create a copy of an existing repository in a new directory.
@@ -1052,22 +1025,22 @@
 If no destination directory name is specified, it defaults to the
 basename of the source.
 .sp
-The location of the source is added to the new repository\(aqs
-\fB.hg/hgrc\fP file, as the default to be used for future pulls.
+The location of the source is added to the new repository's
+\fB\&.hg/hgrc\fP file, as the default to be used for future pulls.
 .sp
 Only local paths and \fBssh://\fP URLs are supported as
 destinations. For \fBssh://\fP destinations, no working directory or
-\fB.hg/hgrc\fP will be created on the remote side.
+\fB\&.hg/hgrc\fP will be created on the remote side.
 .sp
 To pull only a subset of changesets, specify one or more revisions
 identifiers with \-r/\-\-rev or branches with \-b/\-\-branch. The
 resulting clone will contain only the specified changesets and
-their ancestors. These options (or \(aqclone src#rev dest\(aq) imply
+their ancestors. These options (or 'clone src#rev dest') imply
 \-\-pull, even for local source repositories. Note that specifying a
 tag will include the tagged changeset but not the changeset
 containing the tag.
 .sp
-If the source repository has a bookmark called \(aq@\(aq set, that
+If the source repository has a bookmark called '@' set, that
 revision will be checked out in the new repository by default.
 .sp
 To check out a particular version, use \-u/\-\-update, or
@@ -1084,9 +1057,9 @@
 directory using full hardlinks with
 .sp
 .nf
-.ft C
+.ft
 $ cp \-al REPO REPOCLONE
-.ft P
+.ft
 .fi
 .sp
 This is the fastest way to clone, but it is not always safe. The
@@ -1098,7 +1071,7 @@
 .sp
 Mercurial will update the working directory to the first applicable
 revision from this list:
-.INDENT 0.0
+.RS 0
 .IP a. 3
 .
 null if \-U or the source repository has no changesets
@@ -1105,7 +1078,7 @@
 .IP b. 3
 .
 if \-u . and the source repository is local, the first parent of
-the source repository\(aqs working directory
+the source repository's working directory
 .IP c. 3
 .
 the changeset specified with \-u (if a branch name, this means the
@@ -1121,7 +1094,7 @@
 the tipmost head specified with the url#branch source syntax
 .IP g. 3
 .
-the revision marked with the \(aq@\(aq bookmark, if present
+the revision marked with the '@' bookmark, if present
 .IP h. 3
 .
 the tipmost head of the default branch
@@ -1128,18 +1101,18 @@
 .IP i. 3
 .
 tip
-.UNINDENT
+.RE
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 clone a remote repository to a new directory named hg/:
 .sp
 .nf
-.ft C
+.ft
 hg clone http://selenic.com/hg
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1146,9 +1119,9 @@
 create a lightweight local clone:
 .sp
 .nf
-.ft C
+.ft
 hg clone project/ project\-feature/
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1155,9 +1128,9 @@
 clone from an absolute path on an ssh server (note double\-slash):
 .sp
 .nf
-.ft C
+.ft
 hg clone ssh://user@server//home/projects/alpha/
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1165,9 +1138,9 @@
 specified version:
 .sp
 .nf
-.ft C
+.ft
 hg clone \-\-uncompressed http://server/repo \-u 1.5
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1174,9 +1147,9 @@
 create a repository without changesets after a particular revision:
 .sp
 .nf
-.ft C
+.ft
 hg clone \-r 04e544 experimental/ good/
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1183,18 +1156,18 @@
 clone (and track) a particular named branch:
 .sp
 .nf
-.ft C
+.ft
 hg clone http://selenic.com/hg#stable
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See \%\fBhg help urls\fP\: for details on specifying URLs.
+See \fBhg help urls\fP for details on specifying URLs.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-U,  \-\-noupdate
 .
@@ -1231,7 +1204,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS commit
@@ -1239,16 +1212,16 @@
 commit the specified files or all outstanding changes:
 .sp
 .nf
-.ft C
+.ft
 hg commit [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Commit changes to the given files into the repository. Unlike a
 centralized SCM, this operation is a local operation. See
-\%\fBhg push\fP\: for a way to actively distribute your changes.
+\fBhg push\fP for a way to actively distribute your changes.
 .sp
-If a list of files is omitted, all changes reported by \%\fBhg status\fP\:
+If a list of files is omitted, all changes reported by \fBhg status\fP
 will be committed.
 .sp
 If you are committing the result of a merge, do not provide any
@@ -1257,28 +1230,28 @@
 If no commit message is specified, Mercurial starts your
 configured editor where you can enter a message. In case your
 commit fails, you will find a backup of your message in
-\fB.hg/last\-message.txt\fP.
+\fB\&.hg/last\-message.txt\fP.
 .sp
 The \-\-amend flag can be used to amend the parent of the
 working directory with a new commit that contains the changes
-in the parent in addition to those currently reported by \%\fBhg status\fP\:,
+in the parent in addition to those currently reported by \fBhg status\fP,
 if there are any. The old commit is stored in a backup bundle in
-\fB.hg/strip\-backup\fP (see \%\fBhg help bundle\fP\: and \%\fBhg help unbundle\fP\:
+\fB\&.hg/strip\-backup\fP (see \fBhg help bundle\fP and \fBhg help unbundle\fP
 on how to restore it).
 .sp
 Message, user and date are taken from the amended commit unless
-specified. When a message isn\(aqt specified on the command line,
+specified. When a message isn't specified on the command line,
 the editor will open with the message of the amended commit.
 .sp
-It is not possible to amend public changesets (see \%\fBhg help phases\fP\:)
+It is not possible to amend public changesets (see \fBhg help phases\fP)
 or changesets that have children.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Returns 0 on success, 1 if nothing changed.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-addremove
 .
@@ -1331,23 +1304,23 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: ci
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS config
 .sp
 show combined config settings from all hgrc files:
 .sp
 .nf
-.ft C
+.ft
 hg config [\-u] [NAME]...
-.ft P
+.ft
 .fi
 .sp
 With no arguments, print names and values of all config items.
@@ -1365,12 +1338,12 @@
 With \-\-debug, the source (filename and line number) is printed
 for each config item.
 .sp
-See \%\fBhg help config\fP\: for more information about config files.
+See \fBhg help config\fP for more information about config files.
 .sp
 Returns 0 on success, 1 if NAME does not exist.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-u,  \-\-untrusted
 .
@@ -1389,15 +1362,15 @@
 edit global config
 .sp
 aliases: showconfig debugconfig
-.UNINDENT
+.RE
 .SS copy
 .sp
 mark files as copied for the next commit:
 .sp
 .nf
-.ft C
+.ft
 hg copy [OPTION]... [SOURCE]... DEST
-.ft P
+.ft
 .fi
 .sp
 Mark dest as having copies of source files. If dest is a
@@ -1409,12 +1382,12 @@
 operation is recorded, but no copying is performed.
 .sp
 This command takes effect with the next commit. To undo a copy
-before that, see \%\fBhg revert\fP\:.
+before that, see \fBhg revert\fP.
 .sp
 Returns 0 on success, 1 if errors are encountered.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-after
 .
@@ -1435,23 +1408,23 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: cp
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS diff
 .sp
 diff repository (or selected files):
 .sp
 .nf
-.ft C
+.ft
 hg diff [OPTION]... ([\-c REV] | [\-r REV1 [\-r REV2]]) [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Show differences between revisions for the specified files.
@@ -1460,7 +1433,7 @@
 .IP Note
 .
 diff may generate unexpected results for merges, as it will
-default to comparing against the working directory\(aqs first
+default to comparing against the working directory's first
 parent changeset if no revisions are specified.
 .RE
 .sp
@@ -1478,18 +1451,18 @@
 anyway, probably with undesirable results.
 .sp
 Use the \-g/\-\-git option to generate diffs in the git extended diff
-format. For more information, read \%\fBhg help diffs\fP\:.
+format. For more information, read \fBhg help diffs\fP.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 compare a file in the current working directory to its parent:
 .sp
 .nf
-.ft C
+.ft
 hg diff foo.c
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1496,9 +1469,9 @@
 compare two historical versions of a directory, with rename info:
 .sp
 .nf
-.ft C
+.ft
 hg diff \-\-git \-r 1.0:1.2 lib/
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1505,9 +1478,9 @@
 get change stats relative to the last change on some date:
 .sp
 .nf
-.ft C
-hg diff \-\-stat \-r "date(\(aqmay 2\(aq)"
-.ft P
+.ft
+hg diff \-\-stat \-r "date('may 2')"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1514,9 +1487,9 @@
 diff all newly\-added files that contain a keyword:
 .sp
 .nf
-.ft C
+.ft
 hg diff "set:added() and grep(GNU)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1523,18 +1496,18 @@
 compare a revision and its parents:
 .sp
 .nf
-.ft C
+.ft
 hg diff \-c 9353         # compare against first parent
 hg diff \-r 9353^:9353   # same using revset syntax
 hg diff \-r 9353^2:9353  # compare against the second parent
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV[+]>
 .
@@ -1603,7 +1576,7 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS export
@@ -1611,9 +1584,9 @@
 dump the header and diffs for one or more changesets:
 .sp
 .nf
-.ft C
+.ft
 hg export [OPTION]... [\-o OUTFILESPEC] [\-r] [REV]...
-.ft P
+.ft
 .fi
 .sp
 Print the changeset header and diffs for one or more revisions.
@@ -1631,7 +1604,7 @@
 .sp
 Output may be to a file, in which case the name of the file is
 given using a format string. The formatting rules are as follows:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fB%%\fP
 .sp
@@ -1668,7 +1641,7 @@
 .B \fB%r\fP
 .sp
 zero\-padded changeset revision number
-.UNINDENT
+.RE
 .sp
 Without the \-a/\-\-text option, export will avoid generating diffs
 of files it detects as binary. With \-a, export will generate a
@@ -1675,13 +1648,13 @@
 diff anyway, probably with undesirable results.
 .sp
 Use the \-g/\-\-git option to generate diffs in the git extended diff
-format. See \%\fBhg help diffs\fP\: for more information.
+format. See \fBhg help diffs\fP for more information.
 .sp
 With the \-\-switch\-parent option, the diff will be against the
 second parent. It can be useful to review a merge.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 use export and import to transplant a bugfix to the current
@@ -1688,9 +1661,9 @@
 branch:
 .sp
 .nf
-.ft C
+.ft
 hg export \-r 9353 | hg import \-
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1698,9 +1671,9 @@
 rename information:
 .sp
 .nf
-.ft C
+.ft
 hg export \-\-git \-r 123:150 > changes.txt
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1708,16 +1681,16 @@
 descriptive names:
 .sp
 .nf
-.ft C
+.ft
 hg export \-r "outgoing()" \-o "%n\-%m.patch"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-o,  \-\-output \ <FORMAT>
 .
@@ -1742,7 +1715,7 @@
 .B \-\-nodates
 .
 omit dates from diff headers
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS files
@@ -1750,9 +1723,9 @@
 list tracked files:
 .sp
 .nf
-.ft C
+.ft
 hg files [OPTION]... [PATTERN]...
-.ft P
+.ft
 .fi
 .sp
 Print files under Mercurial control in the working directory or
@@ -1763,15 +1736,15 @@
 of all files under Mercurial control in the working directory.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 list all files under the current directory:
 .sp
 .nf
-.ft C
+.ft
 hg files .
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1778,9 +1751,9 @@
 shows sizes and flags for current revision:
 .sp
 .nf
-.ft C
+.ft
 hg files \-vr .
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1787,9 +1760,9 @@
 list all files named README:
 .sp
 .nf
-.ft C
+.ft
 hg files \-I "**/README"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1796,9 +1769,9 @@
 list all binary files:
 .sp
 .nf
-.ft C
+.ft
 hg files "set:binary()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1805,9 +1778,9 @@
 find files containing a regular expression:
 .sp
 .nf
-.ft C
-hg files "set:grep(\(aqbob\(aq)"
-.ft P
+.ft
+hg files "set:grep('bob')"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1814,19 +1787,19 @@
 search tracked file contents with xargs and grep:
 .sp
 .nf
-.ft C
+.ft
 hg files \-0 | xargs \-0 grep foo
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See \%\fBhg help patterns\fP\: and \%\fBhg help filesets\fP\: for more information
+See \fBhg help patterns\fP and \fBhg help filesets\fP for more information
 on specifying file patterns.
 .sp
 Returns 0 if a match is found, 1 otherwise.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -1851,7 +1824,7 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS forget
@@ -1859,9 +1832,9 @@
 forget the specified files on the next commit:
 .sp
 .nf
-.ft C
+.ft
 hg forget [OPTION]... FILE...
-.ft P
+.ft
 .fi
 .sp
 Mark the specified files so they will no longer be tracked
@@ -1871,18 +1844,18 @@
 entire project history, and it does not delete them from the
 working directory.
 .sp
-To undo a forget before the next commit, see \%\fBhg add\fP\:.
+To undo a forget before the next commit, see \fBhg add\fP.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 forget newly\-added binary files:
 .sp
 .nf
-.ft C
+.ft
 hg forget "set:added() and binary()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1889,16 +1862,16 @@
 forget files that would be excluded by .hgignore:
 .sp
 .nf
-.ft C
+.ft
 hg forget "set:hgignore()"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-I,  \-\-include \ <PATTERN[+]>
 .
@@ -1907,7 +1880,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS graft
@@ -1915,15 +1888,15 @@
 copy changes from other branches onto the current branch:
 .sp
 .nf
-.ft C
+.ft
 hg graft [OPTION]... [\-r] REV...
-.ft P
+.ft
 .fi
 .sp
-This command uses Mercurial\(aqs merge logic to copy individual
+This command uses Mercurial's merge logic to copy individual
 changes from other branches without merging branches in the
-history graph. This is sometimes known as \(aqbackporting\(aq or
-\(aqcherry\-picking\(aq. By default, graft will copy user, date, and
+history graph. This is sometimes known as 'backporting' or
+\&'cherry\-picking'. By default, graft will copy user, date, and
 description from the source changesets.
 .sp
 Changesets that are ancestors of the current revision, that have
@@ -1933,9 +1906,9 @@
 of the form:
 .sp
 .nf
-.ft C
+.ft
 (grafted from CHANGESETHASH)
-.ft P
+.ft
 .fi
 .sp
 If \-\-force is specified, revisions will be grafted even if they
@@ -1953,16 +1926,16 @@
 .RE
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 copy a single change to the stable branch and edit its description:
 .sp
 .nf
-.ft C
+.ft
 hg update stable
 hg graft \-\-edit 9393
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1969,9 +1942,9 @@
 graft a range of changesets with one exception, updating dates:
 .sp
 .nf
-.ft C
+.ft
 hg graft \-D "2085::2093 and not 2091"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1978,9 +1951,9 @@
 continue a graft after resolving conflicts:
 .sp
 .nf
-.ft C
+.ft
 hg graft \-c
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -1987,19 +1960,19 @@
 show the source of a grafted changeset:
 .sp
 .nf
-.ft C
+.ft
 hg log \-\-debug \-r .
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See \%\fBhg help revisions\fP\: and \%\fBhg help revsets\fP\: for more about
+See \fBhg help revisions\fP and \fBhg help revsets\fP for more about
 specifying revisions.
 .sp
 Returns 0 on successful completion.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV[+]>
 .
@@ -2044,7 +2017,7 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS grep
@@ -2052,9 +2025,9 @@
 search for a pattern in specified files and revisions:
 .sp
 .nf
-.ft C
+.ft
 hg grep [OPTION]... PATTERN [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Search revisions of files for a regular expression.
@@ -2073,7 +2046,7 @@
 Returns 0 if a match is found, 1 otherwise.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-0,  \-\-print0
 .
@@ -2122,7 +2095,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS heads
@@ -2130,9 +2103,9 @@
 show branch heads:
 .sp
 .nf
-.ft C
+.ft
 hg heads [\-ct] [\-r STARTREV] [REV]...
-.ft P
+.ft
 .fi
 .sp
 With no arguments, show all open branch heads in the repository.
@@ -2142,11 +2115,11 @@
 .sp
 If one or more REVs are given, only open branch heads on the
 branches associated with the specified changesets are shown. This
-means that you can use \%\fBhg heads .\fP\: to see the heads on the
+means that you can use \fBhg heads .\fP to see the heads on the
 currently checked\-out branch.
 .sp
 If \-c/\-\-closed is specified, also show branch heads marked closed
-(see \%\fBhg commit \-\-close\-branch\fP\:).
+(see \fBhg commit \-\-close\-branch\fP).
 .sp
 If STARTREV is specified, only those heads that are descendants of
 STARTREV will be displayed.
@@ -2157,7 +2130,7 @@
 Returns 0 if matching heads are found, 1 if not.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <STARTREV>
 .
@@ -2182,15 +2155,15 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template
-.UNINDENT
+.RE
 .SS help
 .sp
 show help for a given topic or a help overview:
 .sp
 .nf
-.ft C
+.ft
 hg help [\-ec] [TOPIC]
-.ft P
+.ft
 .fi
 .sp
 With no arguments, print a list of commands with short help messages.
@@ -2201,7 +2174,7 @@
 Returns 0 if successful.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-e,  \-\-extension
 .
@@ -2214,15 +2187,15 @@
 .BI \-k,  \-\-keyword \ <VALUE>
 .
 show topics matching keyword
-.UNINDENT
+.RE
 .SS identify
 .sp
 identify the working directory or specified revision:
 .sp
 .nf
-.ft C
+.ft
 hg identify [\-nibtB] [\-r REV] [SOURCE]
-.ft P
+.ft
 .fi
 .sp
 Print a summary identifying the repository state at REV using one or
@@ -2237,15 +2210,15 @@
 cause lookup to operate on that repository/bundle.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 generate a build identifier for the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg id \-\-id > build\-id.dat
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2252,9 +2225,9 @@
 find the revision corresponding to a tag:
 .sp
 .nf
-.ft C
+.ft
 hg id \-n \-r 1.3
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2261,16 +2234,16 @@
 check the most recent revision of a remote repository:
 .sp
 .nf
-.ft C
+.ft
 hg id \-r tip http://selenic.com/hg/
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 if successful.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -2309,15 +2282,15 @@
 do not verify server certificate (ignoring web.cacerts config)
 .sp
 aliases: id
-.UNINDENT
+.RE
 .SS import
 .sp
 import an ordered set of patches:
 .sp
 .nf
-.ft C
+.ft
 hg import [OPTION]... PATCH...
-.ft P
+.ft
 .fi
 .sp
 Import a list of patches and commit them individually (unless
@@ -2333,7 +2306,7 @@
 text/plain body parts before first diff are added to commit
 message.
 .sp
-If the imported patch was generated by \%\fBhg export\fP\:, user and
+If the imported patch was generated by \fBhg export\fP, user and
 description from patch override values from message headers and
 body. Values given on command line with \-m/\-\-message and \-u/\-\-user
 override these.
@@ -2350,32 +2323,32 @@
 revision.
 .sp
 With \-s/\-\-similarity, hg will attempt to discover renames and
-copies in the patch in the same way as \%\fBhg addremove\fP\:.
+copies in the patch in the same way as \fBhg addremove\fP.
 .sp
 Use \-\-partial to ensure a changeset will be created from the patch
 even if some hunks fail to apply. Hunks that fail to apply will be
 written to a <target\-file>.rej file. Conflicts can then be resolved
-by hand before \%\fBhg commit \-\-amend\fP\: is run to update the created
+by hand before \fBhg commit \-\-amend\fP is run to update the created
 changeset. This flag exists to let people import patches that
 partially apply without losing the associated metadata (author,
 date, description, ...). Note that when none of the hunk applies
-cleanly, \%\fBhg import \-\-partial\fP\: will create an empty changeset,
+cleanly, \fBhg import \-\-partial\fP will create an empty changeset,
 importing only the patch metadata.
 .sp
 To read a patch from standard input, use "\-" as the patch name. If
 a URL is specified, the patch will be downloaded from it.
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 import a traditional patch from a website and detect renames:
 .sp
 .nf
-.ft C
+.ft
 hg import \-s 80 http://example.com/bugfix.patch
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2382,9 +2355,9 @@
 import a changeset from an hgweb server:
 .sp
 .nf
-.ft C
+.ft
 hg import http://www.selenic.com/hg/rev/5ca8c111e9aa
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2391,9 +2364,9 @@
 import all the patches in an Unix\-style mbox:
 .sp
 .nf
-.ft C
+.ft
 hg import incoming\-patches.mbox
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2401,16 +2374,16 @@
 possible):
 .sp
 .nf
-.ft C
+.ft
 hg import \-\-exact proposed\-fix.patch
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success, 1 on partial success (see \-\-partial).
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-p,  \-\-strip \ <NUM>
 .
@@ -2430,7 +2403,7 @@
 .TP
 .B \-\-no\-commit
 .
-don\(aqt commit, just update the working directory
+don't commit, just update the working directory
 .TP
 .B \-\-bypass
 .
@@ -2473,15 +2446,15 @@
 guess renamed files by similarity (0<=s<=100)
 .sp
 aliases: patch
-.UNINDENT
+.RE
 .SS incoming
 .sp
 show new changesets found in source:
 .sp
 .nf
-.ft C
+.ft
 hg incoming [\-p] [\-n] [\-M] [\-f] [\-r REV]... [\-\-bundle FILENAME] [SOURCE]
-.ft P
+.ft
 .fi
 .sp
 Show new changesets found in the specified path/URL or the default
@@ -2495,17 +2468,17 @@
 status is also displayed for each bookmark like below:
 .sp
 .nf
-.ft C
+.ft
 BM1               01234567890a added
 BM2               1234567890ab advanced
 BM3               234567890abc diverged
 BM4               34567890abcd changed
-.ft P
+.ft
 .fi
 .sp
 The action taken locally when pulling depends on the
 status of each bookmark:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBadded\fP
 .sp
@@ -2522,7 +2495,7 @@
 .B \fBchanged\fP
 .sp
 result depends on remote changesets
-.UNINDENT
+.RE
 .sp
 From the point of view of pulling behavior, bookmark
 existing only in the remote repository are treated as \fBadded\fP,
@@ -2532,15 +2505,15 @@
 changesets twice if the incoming is followed by a pull.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 show incoming changes with patches and full description:
 .sp
 .nf
-.ft C
+.ft
 hg incoming \-vp
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2547,10 +2520,10 @@
 show incoming changes excluding merges, store a bundle:
 .sp
 .nf
-.ft C
+.ft
 hg in \-vpM \-\-bundle incoming.hg
 hg pull incoming.hg
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2557,16 +2530,16 @@
 briefly list changes inside a bundle:
 .sp
 .nf
-.ft C
+.ft
 hg in changes.hg \-T "{desc|firstline}\en"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 if there are incoming changes, 1 otherwise.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -2639,23 +2612,23 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: in
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS init
 .sp
 create a new repository in the given directory:
 .sp
 .nf
-.ft C
+.ft
 hg init [\-e CMD] [\-\-remotecmd CMD] [DEST]
-.ft P
+.ft
 .fi
 .sp
 Initialize a new repository in the given directory. If the given
@@ -2664,12 +2637,12 @@
 If no directory is given, the current directory is used.
 .sp
 It is possible to specify an \fBssh://\fP URL as the destination.
-See \%\fBhg help urls\fP\: for more information.
+See \fBhg help urls\fP for more information.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-e,  \-\-ssh \ <CMD>
 .
@@ -2682,15 +2655,15 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .SS locate
 .sp
 locate files matching specific patterns (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg locate [OPTION]... [PATTERN]...
-.ft P
+.ft
 .fi
 .sp
 Print files under Mercurial control in the working directory whose
@@ -2708,12 +2681,12 @@
 will avoid the problem of "xargs" treating single filenames that
 contain whitespace as multiple filenames.
 .sp
-See \%\fBhg help files\fP\: for a more versatile command.
+See \fBhg help files\fP for a more versatile command.
 .sp
 Returns 0 if a match is found, 1 otherwise.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -2734,7 +2707,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS log
@@ -2742,9 +2715,9 @@
 show revision history of entire repository or files:
 .sp
 .nf
-.ft C
+.ft
 hg log [OPTION]... [FILE]
-.ft P
+.ft
 .fi
 .sp
 Print the revision history of the specified files or the entire
@@ -2766,9 +2739,9 @@
 .sp
 With \-\-graph the revisions are shown as an ASCII art DAG with the most
 recent changeset at the top.
-\(aqo\(aq is a changeset, \(aq@\(aq is a working directory parent, \(aqx\(aq is obsolete,
-and \(aq+\(aq represents a fork where the changeset from the lines below is a
-parent of the \(aqo\(aq merge on the same line.
+\&'o' is a changeset, '@' is a working directory parent, 'x' is obsolete,
+and '+' represents a fork where the changeset from the lines below is a
+parent of the 'o' merge on the same line.
 .IP Note
 .
 log \-p/\-\-patch may generate unexpected diff output for merge
@@ -2784,15 +2757,15 @@
 .RE
 .sp
 Some examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 changesets with full descriptions and file lists:
 .sp
 .nf
-.ft C
+.ft
 hg log \-v
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2799,9 +2772,9 @@
 changesets ancestral to the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg log \-f
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2808,9 +2781,9 @@
 last 10 commits on the current branch:
 .sp
 .nf
-.ft C
+.ft
 hg log \-l 10 \-b .
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2817,9 +2790,9 @@
 changesets showing all modifications of a file, including removals:
 .sp
 .nf
-.ft C
+.ft
 hg log \-\-removed file.c
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2826,9 +2799,9 @@
 all changesets that touch a directory, with diffs, excluding merges:
 .sp
 .nf
-.ft C
+.ft
 hg log \-Mp lib/
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2835,9 +2808,9 @@
 all revision numbers that match a keyword:
 .sp
 .nf
-.ft C
+.ft
 hg log \-k bug \-\-template "{rev}\en"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2844,9 +2817,9 @@
 list available log templates:
 .sp
 .nf
-.ft C
+.ft
 hg log \-T list
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2853,9 +2826,9 @@
 check if a given changeset is included in a tagged release:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "a21ccf and ancestor(1.9)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2862,9 +2835,9 @@
 find all changesets by some user in a date range:
 .sp
 .nf
-.ft C
+.ft
 hg log \-k alice \-d "may 2008 to jul 2008"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -2871,24 +2844,24 @@
 summary of all changesets after the last tag:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "last(tagged())::" \-\-template "{desc|firstline}\en"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
-See \%\fBhg help revisions\fP\: and \%\fBhg help revsets\fP\: for more about
+See \fBhg help revisions\fP and \fBhg help revsets\fP for more about
 specifying revisions.
 .sp
-See \%\fBhg help templates\fP\: for more about pre\-packaged styles and
+See \fBhg help templates\fP for more about pre\-packaged styles and
 specifying custom templates.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-follow
 .
@@ -2977,23 +2950,23 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: history
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS manifest
 .sp
 output the current or given revision of the project manifest:
 .sp
 .nf
-.ft C
+.ft
 hg manifest [\-r REV]
-.ft P
+.ft
 .fi
 .sp
 Print a list of version controlled files for the given revision.
@@ -3009,7 +2982,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -3022,15 +2995,15 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .SS merge
 .sp
 merge another revision into working directory:
 .sp
 .nf
-.ft C
+.ft
 hg merge [\-P] [\-f] [[\-r] REV]
-.ft P
+.ft
 .fi
 .sp
 The current working directory is updated with all changes made in
@@ -3043,16 +3016,16 @@
 .sp
 \fB\-\-tool\fP can be used to specify the merge tool used for file
 merges. It overrides the HGMERGE environment variable and your
-configuration files. See \%\fBhg help merge\-tools\fP\: for options.
+configuration files. See \fBhg help merge\-tools\fP for options.
 .sp
-If no revision is specified, the working directory\(aqs parent is a
+If no revision is specified, the working directory's parent is a
 head revision, and the current branch contains exactly one other
 head, the other head is merged with by default. Otherwise, an
 explicit revision with which to merge with must be provided.
 .sp
-\%\fBhg resolve\fP\: must be used to resolve unresolved files.
+\fBhg resolve\fP must be used to resolve unresolved files.
 .sp
-To undo an uncommitted merge, use \%\fBhg update \-\-clean .\fP\: which
+To undo an uncommitted merge, use \fBhg update \-\-clean .\fP which
 will check out a clean copy of the original merge parent, losing
 all changes.
 .sp
@@ -3059,7 +3032,7 @@
 Returns 0 on success, 1 if there are unresolved files.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -3076,15 +3049,15 @@
 .BI \-t,  \-\-tool \ <VALUE>
 .
 specify merge tool
-.UNINDENT
+.RE
 .SS outgoing
 .sp
 show changesets not found in the destination:
 .sp
 .nf
-.ft C
+.ft
 hg outgoing [\-M] [\-p] [\-n] [\-f] [\-r REV]... [DEST]
-.ft P
+.ft
 .fi
 .sp
 Show changesets not found in the specified destination repository
@@ -3098,18 +3071,18 @@
 status is also displayed for each bookmark like below:
 .sp
 .nf
-.ft C
+.ft
 BM1               01234567890a added
 BM2                            deleted
 BM3               234567890abc advanced
 BM4               34567890abcd diverged
 BM5               4567890abcde changed
-.ft P
+.ft
 .fi
 .sp
 The action taken when pushing depends on the
 status of each bookmark:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBadded\fP
 .sp
@@ -3130,7 +3103,7 @@
 .B \fBchanged\fP
 .sp
 push with \fB\-B\fP will update it
-.UNINDENT
+.RE
 .sp
 From the point of view of pushing behavior, bookmarks
 existing only in the remote repository are treated as
@@ -3139,7 +3112,7 @@
 Returns 0 if there are outgoing changes, 1 otherwise.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -3208,37 +3181,37 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: out
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS parents
 .sp
 show the parents of the working directory or revision (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg parents [\-r REV] [FILE]
-.ft P
+.ft
 .fi
 .sp
-Print the working directory\(aqs parent revisions. If a revision is
+Print the working directory's parent revisions. If a revision is
 given via \-r/\-\-rev, the parent of that revision will be printed.
 If a file argument is given, the revision in which the file was
 last changed (before the working directory revision or the
 argument to \-\-rev if given) is printed.
 .sp
-See \%\fBhg summary\fP\: and \%\fBhg help revsets\fP\: for related information.
+See \fBhg summary\fP and \fBhg help revsets\fP for related information.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -3251,15 +3224,15 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template
-.UNINDENT
+.RE
 .SS paths
 .sp
 show aliases for remote repositories:
 .sp
 .nf
-.ft C
+.ft
 hg paths [NAME]
-.ft P
+.ft
 .fi
 .sp
 Show definition of symbolic path name NAME. If no name is given,
@@ -3280,10 +3253,10 @@
 as the fallback for both.  When cloning a repository, the clone
 source is written as \fBdefault\fP in \fB.hg/hgrc\fP.  Note that
 \fBdefault\fP and \fBdefault\-push\fP apply to all inbound (e.g.
-\%\fBhg incoming\fP\:) and outbound (e.g. \%\fBhg outgoing\fP\:, \%\fBhg email\fP\: and
-\%\fBhg bundle\fP\:) operations.
+\fBhg incoming\fP) and outbound (e.g. \fBhg outgoing\fP, \fBhg email\fP and
+\fBhg bundle\fP) operations.
 .sp
-See \%\fBhg help urls\fP\: for more information.
+See \fBhg help urls\fP for more information.
 .sp
 Returns 0 on success.
 .SS phase
@@ -3291,9 +3264,9 @@
 set or show the current phase name:
 .sp
 .nf
-.ft C
+.ft
 hg phase [\-p|\-d|\-s] [\-f] [\-r] REV...
-.ft P
+.ft
 .fi
 .sp
 With no argument, show the phase name of specified revisions.
@@ -3301,13 +3274,13 @@
 With one of \-p/\-\-public, \-d/\-\-draft or \-s/\-\-secret, change the
 phase value of the specified revisions.
 .sp
-Unless \-f/\-\-force is specified, \%\fBhg phase\fP\: won\(aqt move changeset from a
+Unless \-f/\-\-force is specified, \fBhg phase\fP won't move changeset from a
 lower phase to an higher phase. Phases are ordered as follows:
 .sp
 .nf
-.ft C
+.ft
 public < draft < secret
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success, 1 if no phases were changed or some could not
@@ -3314,7 +3287,7 @@
 be changed.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-p,  \-\-public
 .
@@ -3335,7 +3308,7 @@
 .BI \-r,  \-\-rev \ <REV[+]>
 .
 target revision
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS pull
@@ -3343,9 +3316,9 @@
 pull changes from the specified source:
 .sp
 .nf
-.ft C
+.ft
 hg pull [\-u] [\-f] [\-r REV]... [\-e CMD] [\-\-remotecmd CMD] [SOURCE]
-.ft P
+.ft
 .fi
 .sp
 Pull changes from a remote repository to a local one.
@@ -3355,18 +3328,18 @@
 \-R is specified). By default, this does not update the copy of the
 project in the working directory.
 .sp
-Use \%\fBhg incoming\fP\: if you want to see what would have been added
+Use \fBhg incoming\fP if you want to see what would have been added
 by a pull at the time you issued this command. If you then decide
-to add those changes to the repository, you should use \%\fBhg pull
-\-r X\fP\: where \fBX\fP is the last changeset listed by \%\fBhg incoming\fP\:.
+to add those changes to the repository, you should use \fBhg pull
+\-r X\fP where \fBX\fP is the last changeset listed by \fBhg incoming\fP.
 .sp
-If SOURCE is omitted, the \(aqdefault\(aq path will be used.
-See \%\fBhg help urls\fP\: for more information.
+If SOURCE is omitted, the 'default' path will be used.
+See \fBhg help urls\fP for more information.
 .sp
 Returns 0 on success, 1 if an update had unresolved files.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-u,  \-\-update
 .
@@ -3399,7 +3372,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS push
@@ -3407,9 +3380,9 @@
 push changes to the specified destination:
 .sp
 .nf
-.ft C
+.ft
 hg push [\-f] [\-r REV]... [\-e CMD] [\-\-remotecmd CMD] [DEST]
-.ft P
+.ft
 .fi
 .sp
 Push changesets from the local repository to the specified
@@ -3440,13 +3413,13 @@
 ancestors, and the bookmark will be pushed to the remote
 repository.
 .sp
-Please see \%\fBhg help urls\fP\: for important details about \fBssh://\fP
+Please see \fBhg help urls\fP for important details about \fBssh://\fP
 URLs. If DESTINATION is omitted, a default path will be used.
 .sp
 Returns 0 if push was successful, 1 if nothing to push.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -3479,7 +3452,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS recover
@@ -3487,9 +3460,9 @@
 roll back an interrupted transaction:
 .sp
 .nf
-.ft C
+.ft
 hg recover
-.ft P
+.ft
 .fi
 .sp
 Recover from an interrupted commit or pull.
@@ -3504,16 +3477,16 @@
 remove the specified files on the next commit:
 .sp
 .nf
-.ft C
+.ft
 hg remove [OPTION]... FILE...
-.ft P
+.ft
 .fi
 .sp
 Schedule the indicated files for removal from the current branch.
 .sp
 This command schedules the files to be removed at the next commit.
-To undo a remove before that, see \%\fBhg revert\fP\:. To undo added
-files, see \%\fBhg forget\fP\:.
+To undo a remove before that, see \fBhg revert\fP. To undo added
+files, see \fBhg forget\fP.
 .sp
 \-A/\-\-after can be used to remove only files that have already
 been deleted, \-f/\-\-force can be used to force deletion, and \-Af
@@ -3523,7 +3496,7 @@
 The following table details the behavior of remove for different
 file states (columns) and option combinations (rows). The file
 states are Added [A], Clean [C], Modified [M] and Missing [!]
-(as reported by \%\fBhg status\fP\:). The actions are Warn, Remove
+(as reported by \fBhg status\fP). The actions are Warn, Remove
 (from branch) and Delete (from disk):
 .TS
 center;
@@ -3597,7 +3570,7 @@
 Returns 0 on success, 1 if any warnings encountered.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-after
 .
@@ -3618,23 +3591,23 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: rm
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS rename
 .sp
 rename files; equivalent of copy + remove:
 .sp
 .nf
-.ft C
+.ft
 hg rename [OPTION]... SOURCE... DEST
-.ft P
+.ft
 .fi
 .sp
 Mark dest as copies of sources; mark sources for deletion. If dest
@@ -3646,12 +3619,12 @@
 operation is recorded, but no copying is performed.
 .sp
 This command takes effect at the next commit. To undo a rename
-before that, see \%\fBhg revert\fP\:.
+before that, see \fBhg revert\fP.
 .sp
 Returns 0 on success, 1 if errors are encountered.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-after
 .
@@ -3672,23 +3645,23 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: move mv
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS resolve
 .sp
 redo merges or set/view the merge status of files:
 .sp
 .nf
-.ft C
+.ft
 hg resolve [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Merges with unresolved conflicts are often the result of
@@ -3695,15 +3668,15 @@
 non\-interactive merging using the \fBinternal:merge\fP configuration
 setting, or a command\-line merge tool like \fBdiff3\fP. The resolve
 command is used to manage the files involved in a merge, after
-\%\fBhg merge\fP\: has been run, and before \%\fBhg commit\fP\: is run (i.e. the
-working directory must have two parents). See \%\fBhg help
-merge\-tools\fP\: for information on configuring merge tools.
+\fBhg merge\fP has been run, and before \fBhg commit\fP is run (i.e. the
+working directory must have two parents). See \fBhg help
+merge\-tools\fP for information on configuring merge tools.
 .sp
 The resolve command can be used in the following ways:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
-\%\fBhg resolve [\-\-tool TOOL] FILE...\fP\:: attempt to re\-merge the specified
+\fBhg resolve [\-\-tool TOOL] FILE...\fP: attempt to re\-merge the specified
 files, discarding any previous merge attempts. Re\-merging is not
 performed for files already marked as resolved. Use \fB\-\-all/\-a\fP
 to select all unresolved files. \fB\-\-tool\fP can be used to specify
@@ -3712,27 +3685,27 @@
 contents are saved with a \fB.orig\fP suffix.
 .IP \(bu 2
 .
-\%\fBhg resolve \-m [FILE]\fP\:: mark a file as having been resolved
+\fBhg resolve \-m [FILE]\fP: mark a file as having been resolved
 (e.g. after having manually fixed\-up the files). The default is
 to mark all unresolved files.
 .IP \(bu 2
 .
-\%\fBhg resolve \-u [FILE]...\fP\:: mark a file as unresolved. The
+\fBhg resolve \-u [FILE]...\fP: mark a file as unresolved. The
 default is to mark all resolved files.
 .IP \(bu 2
 .
-\%\fBhg resolve \-l\fP\:: list files which had or still have conflicts.
+\fBhg resolve \-l\fP: list files which had or still have conflicts.
 In the printed list, \fBU\fP = unresolved and \fBR\fP = resolved.
-.UNINDENT
+.RE
 .sp
 Note that Mercurial will not let you commit files with unresolved
-merge conflicts. You must use \%\fBhg resolve \-m ...\fP\: before you can
+merge conflicts. You must use \fBhg resolve \-m ...\fP before you can
 commit after a conflicting merge.
 .sp
 Returns 0 on success, 1 if any files fail a resolve attempt.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-all
 .
@@ -3769,7 +3742,7 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS revert
@@ -3777,15 +3750,15 @@
 restore files to their checkout state:
 .sp
 .nf
-.ft C
+.ft
 hg revert [OPTION]... [\-r REV] [NAME]...
-.ft P
+.ft
 .fi
 .IP Note
 .
-To check out earlier revisions, you should use \%\fBhg update REV\fP\:.
+To check out earlier revisions, you should use \fBhg update REV\fP.
 To cancel an uncommitted merge (and lose your changes),
-use \%\fBhg update \-\-clean .\fP\:.
+use \fBhg update \-\-clean .\fP.
 .RE
 .sp
 With no revision specified, revert the specified files or directories
@@ -3799,18 +3772,18 @@
 directories to their states as of a specific revision. Because
 revert does not change the working directory parents, this will
 cause these files to appear modified. This can be helpful to "back
-out" some or all of an earlier change. See \%\fBhg backout\fP\: for a
+out" some or all of an earlier change. See \fBhg backout\fP for a
 related method.
 .sp
 Modified files are saved with a .orig suffix before reverting.
 To disable these backups, use \-\-no\-backup.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-all
 .
@@ -3843,7 +3816,7 @@
 .B \-n,  \-\-dry\-run
 .
 do not perform actions, just print output
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS rollback
@@ -3851,12 +3824,12 @@
 roll back the last transaction (DANGEROUS) (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg rollback
-.ft P
+.ft
 .fi
 .sp
-Please use \%\fBhg commit \-\-amend\fP\: instead of rollback to correct
+Please use \fBhg commit \-\-amend\fP instead of rollback to correct
 mistakes in the last commit.
 .sp
 This command should be used with care. There is only one level of
@@ -3871,7 +3844,7 @@
 .sp
 For example, the following commands are transactional, and their
 effects can be rolled back:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 commit
@@ -3887,10 +3860,10 @@
 .IP \(bu 2
 .
 unbundle
-.UNINDENT
+.RE
 .sp
 To avoid permanent data loss, rollback will refuse to rollback a
-commit transaction if it isn\(aqt checked out. Use \-\-force to
+commit transaction if it isn't checked out. Use \-\-force to
 override this protection.
 .sp
 This command is not intended for use on public repositories. Once
@@ -3903,7 +3876,7 @@
 Returns 0 on success, 1 if no rollback data is available.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-n,  \-\-dry\-run
 .
@@ -3912,15 +3885,15 @@
 .B \-f,  \-\-force
 .
 ignore safety measures
-.UNINDENT
+.RE
 .SS root
 .sp
 print the root (top) of the current working directory:
 .sp
 .nf
-.ft C
+.ft
 hg root
-.ft P
+.ft
 .fi
 .sp
 Print the root directory of the current repository.
@@ -3931,9 +3904,9 @@
 start stand\-alone webserver:
 .sp
 .nf
-.ft C
+.ft
 hg serve [OPTION]...
-.ft P
+.ft
 .fi
 .sp
 Start a local HTTP repository browser and pull server. You can use
@@ -3958,7 +3931,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-A,  \-\-accesslog \ <FILE>
 .
@@ -4027,15 +4000,15 @@
 .BI \-\-certificate \ <FILE>
 .
 SSL certificate file
-.UNINDENT
+.RE
 .SS status
 .sp
 show changed files in the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg status [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Show status of files in the repository. If names are given, only
@@ -4063,7 +4036,7 @@
 The codes used to show the status of files are:
 .sp
 .nf
-.ft C
+.ft
 M = modified
 A = added
 R = removed
@@ -4072,11 +4045,11 @@
 ? = not tracked
 I = ignored
   = origin of the previous file (with \-\-copies)
-.ft P
+.ft
 .fi
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 show changes in the working directory relative to a
@@ -4083,19 +4056,19 @@
 changeset:
 .sp
 .nf
-.ft C
+.ft
 hg status \-\-rev 9353
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
 show changes in the working directory relative to the
-current directory (see \%\fBhg help patterns\fP\: for more information):
+current directory (see \fBhg help patterns\fP for more information):
 .sp
 .nf
-.ft C
+.ft
 hg status re:
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -4102,9 +4075,9 @@
 show all changes including copies in an existing changeset:
 .sp
 .nf
-.ft C
+.ft
 hg status \-\-copies \-\-change 9353
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -4111,16 +4084,16 @@
 get a NUL separated list of added files, suitable for xargs:
 .sp
 .nf
-.ft C
+.ft
 hg status \-an0
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-all
 .
@@ -4189,23 +4162,23 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: st
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS summary
 .sp
 summarize working directory state:
 .sp
 .nf
-.ft C
+.ft
 hg summary [\-\-remote]
-.ft P
+.ft
 .fi
 .sp
 This generates a brief summary of the working directory state,
@@ -4217,7 +4190,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-remote
 .
@@ -4224,15 +4197,15 @@
 check for push and pull
 .sp
 aliases: sum
-.UNINDENT
+.RE
 .SS tag
 .sp
 add one or more tags for the current or given revision:
 .sp
 .nf
-.ft C
+.ft
 hg tag [\-f] [\-l] [\-m TEXT] [\-d DATE] [\-u USER] [\-r REV] NAME...
-.ft P
+.ft
 .fi
 .sp
 Name a particular revision using <name>.
@@ -4253,11 +4226,11 @@
 repositories).
 .sp
 Tag commits are usually made at the head of a branch. If the parent
-of the working directory is not a branch head, \%\fBhg tag\fP\: aborts; use
+of the working directory is not a branch head, \fBhg tag\fP aborts; use
 \-f/\-\-force to force the tag commit to be based on a non\-head
 changeset.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Since tag names have priority over branch names during revision
 lookup, using an existing branch name as a tag name is discouraged.
@@ -4265,7 +4238,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-force
 .
@@ -4298,15 +4271,15 @@
 .BI \-u,  \-\-user \ <USER>
 .
 record the specified user as committer
-.UNINDENT
+.RE
 .SS tags
 .sp
 list repository tags:
 .sp
 .nf
-.ft C
+.ft
 hg tags
-.ft P
+.ft
 .fi
 .sp
 This lists both regular and local tags. When the \-v/\-\-verbose
@@ -4315,20 +4288,20 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template (DEPRECATED)
-.UNINDENT
+.RE
 .SS tip
 .sp
 show the tip revision (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg tip [\-p] [\-g]
-.ft P
+.ft
 .fi
 .sp
 The tip revision (usually just called the tip) is the changeset
@@ -4340,12 +4313,12 @@
 that repository becomes the current tip. The "tip" tag is special
 and cannot be renamed or assigned to a different changeset.
 .sp
-This command is deprecated, please use \%\fBhg heads\fP\: instead.
+This command is deprecated, please use \fBhg heads\fP instead.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-p,  \-\-patch
 .
@@ -4362,15 +4335,15 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template
-.UNINDENT
+.RE
 .SS unbundle
 .sp
 apply one or more changegroup files:
 .sp
 .nf
-.ft C
+.ft
 hg unbundle [\-u] FILE...
-.ft P
+.ft
 .fi
 .sp
 Apply one or more compressed changegroup files generated by the
@@ -4379,32 +4352,32 @@
 Returns 0 on success, 1 if an update has unresolved files.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-u,  \-\-update
 .
 update to new branch head if changesets were unbundled
-.UNINDENT
+.RE
 .SS update
 .sp
 update working directory (or switch revisions):
 .sp
 .nf
-.ft C
+.ft
 hg update [\-c] [\-C] [\-d DATE] [[\-r] REV]
-.ft P
+.ft
 .fi
 .sp
-Update the repository\(aqs working directory to the specified
+Update the repository's working directory to the specified
 changeset. If no changeset is specified, update to the tip of the
-current named branch and move the current bookmark (see \%\fBhg help
-bookmarks\fP\:).
+current named branch and move the current bookmark (see \fBhg help
+bookmarks\fP).
 .sp
-Update sets the working directory\(aqs parent revision to the specified
-changeset (see \%\fBhg help parents\fP\:).
+Update sets the working directory's parent revision to the specified
+changeset (see \fBhg help parents\fP).
 .sp
 If the changeset is not a descendant or ancestor of the working
-directory\(aqs parent, the update is aborted. With the \-c/\-\-check
+directory's parent, the update is aborted. With the \-c/\-\-check
 option, the working directory is checked for uncommitted changes; if
 none are found, the working directory is updated to the specified
 changeset.
@@ -4411,12 +4384,12 @@
 .sp
 The following rules apply when the working directory contains
 uncommitted changes:
-.INDENT 0.0
+.RS 0
 .IP 1. 3
 .
 If neither \-c/\-\-check nor \-C/\-\-clean is specified, and if
 the requested changeset is an ancestor or descendant of
-the working directory\(aqs parent, the uncommitted changes
+the working directory's parent, the uncommitted changes
 are merged into the requested changeset and the merged
 result is left uncommitted. If the requested changeset is
 not an ancestor or descendant (that is, it is on another
@@ -4430,23 +4403,23 @@
 .
 With the \-C/\-\-clean option, uncommitted changes are discarded and
 the working directory is updated to the requested changeset.
-.UNINDENT
+.RE
 .sp
 To cancel an uncommitted merge (and lose your changes), use
-\%\fBhg update \-\-clean .\fP\:.
+\fBhg update \-\-clean .\fP.
 .sp
 Use null as the changeset to remove the working directory (like
-\%\fBhg clone \-U\fP\:).
+\fBhg clone \-U\fP).
 .sp
 If you want to revert just one file to an older revision, use
-\%\fBhg revert [\-r REV] NAME\fP\:.
+\fBhg revert [\-r REV] NAME\fP.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Returns 0 on success, 1 if there are unresolved files.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-C,  \-\-clean
 .
@@ -4469,25 +4442,25 @@
 specify merge tool
 .sp
 aliases: up checkout co
-.UNINDENT
+.RE
 .SS verify
 .sp
 verify the integrity of the repository:
 .sp
 .nf
-.ft C
+.ft
 hg verify
-.ft P
+.ft
 .fi
 .sp
 Verify the integrity of the current repository.
 .sp
-This will perform an extensive check of the repository\(aqs
+This will perform an extensive check of the repository's
 integrity, validating the hashes and checksums of each entry in
 the changelog, manifest, and tracked files, as well as the
 integrity of their crosslinks and indices.
 .sp
-Please see \%http://mercurial.selenic.com/wiki/RepositoryCorruption\:
+Please see http://mercurial.selenic.com/wiki/RepositoryCorruption
 for more information about recovery from corruption of the
 repository.
 .sp
@@ -4497,9 +4470,9 @@
 output version and copyright information:
 .sp
 .nf
-.ft C
+.ft
 hg version
-.ft P
+.ft
 .fi
 .sp
 output version and copyright information
@@ -4506,7 +4479,7 @@
 .SH DATE FORMATS
 .sp
 Some commands allow the user to specify a date, e.g.:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 backout, commit, import, tag: Specify the commit date.
@@ -4513,10 +4486,10 @@
 .IP \(bu 2
 .
 log, revert, update: Select revision(s) by date.
-.UNINDENT
+.RE
 .sp
 Many date formats are valid. Here are some examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 \fBWed Dec 6 13:18:29 2006\fP (local timezone assumed)
@@ -4565,14 +4538,14 @@
 .IP \(bu 2
 .
 \fBnow\fP \- right now
-.UNINDENT
+.RE
 .sp
-Lastly, there is Mercurial\(aqs internal format:
-.INDENT 0.0
+Lastly, there is Mercurial's internal format:
+.RS 0
 .IP \(bu 2
 .
 \fB1165411109 0\fP (Wed Dec 6 13:18:29 2006 UTC)
-.UNINDENT
+.RE
 .sp
 This is the internal representation format for dates. The first number
 is the number of seconds since the epoch (1970\-01\-01 00:00 UTC). The
@@ -4580,7 +4553,7 @@
 (negative if the timezone is east of UTC).
 .sp
 The log command also accepts date ranges:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 \fB<DATE\fP \- at or before a given date/time
@@ -4593,16 +4566,16 @@
 .IP \(bu 2
 .
 \fB\-DAYS\fP \- within a given number of days of today
-.UNINDENT
+.RE
 .SH DIFF FORMATS
 .sp
-Mercurial\(aqs default format for showing changes between two versions of
+Mercurial's default format for showing changes between two versions of
 a file is compatible with the unified format of GNU diff, which can be
 used by GNU patch and many other standard tools.
 .sp
 While this standard format is often enough, it does not encode the
 following information:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 executable status and other permission bits
@@ -4615,7 +4588,7 @@
 .IP \(bu 2
 .
 creation or deletion of empty files
-.UNINDENT
+.RE
 .sp
 Mercurial also supports the extended diff format from the git VCS
 which addresses these limitations. The git diff format is not produced
@@ -4623,26 +4596,26 @@
 format.
 .sp
 This means that when generating diffs from a Mercurial repository
-(e.g. with \%\fBhg export\fP\:), you should be careful about things like file
+(e.g. with \fBhg export\fP), you should be careful about things like file
 copies and renames or other things mentioned above, because when
 applying a standard diff to a different repository, this extra
-information is lost. Mercurial\(aqs internal operations (like push and
+information is lost. Mercurial's internal operations (like push and
 pull) are not affected by this, because they use an internal binary
 format for communicating changes.
 .sp
 To make Mercurial produce the git extended diff format, use the \-\-git
-option available for many commands, or set \(aqgit = True\(aq in the [diff]
+option available for many commands, or set 'git = True' in the [diff]
 section of your configuration file. You do not need to set this option
 when importing diffs in this format or using them in the mq extension.
 .SH ENVIRONMENT VARIABLES
-.INDENT 0.0
+.RS 0
 .TP
 .B HG
 .
-Path to the \(aqhg\(aq executable, automatically passed when running
+Path to the 'hg' executable, automatically passed when running
 hooks, extensions or external tools. If unset or empty, this is
-the hg executable\(aqs name if it\(aqs frozen, or an executable named
-\(aqhg\(aq (with %PATHEXT% [defaulting to COM/EXE/BAT/CMD] extensions on
+the hg executable's name if it's frozen, or an executable named
+\&'hg' (with %PATHEXT% [defaulting to COM/EXE/BAT/CMD] extensions on
 Windows) is searched.
 .TP
 .B HGEDITOR
@@ -4660,9 +4633,9 @@
 .TP
 .B HGENCODINGMODE
 .
-This sets Mercurial\(aqs behavior for handling unknown characters
+This sets Mercurial's behavior for handling unknown characters
 while transcoding user input. The default is "strict", which
-causes Mercurial to abort if it can\(aqt map a character. Other
+causes Mercurial to abort if it can't map a character. Other
 settings include "replace", which replaces unknown characters, and
 "ignore", which drops them. This setting can be overridden with
 the \-\-encodingmode command\-line option.
@@ -4669,7 +4642,7 @@
 .TP
 .B HGENCODINGAMBIGUOUS
 .
-This sets Mercurial\(aqs behavior for handling characters with
+This sets Mercurial's behavior for handling characters with
 "ambiguous" widths like accented Latin characters with East Asian
 fonts. By default, Mercurial assumes ambiguous characters are
 narrow, set this variable to "wide" if such characters cause
@@ -4691,19 +4664,19 @@
 the .hg/hgrc from the current repository is read.
 .sp
 For each element in HGRCPATH:
-.INDENT 7.0
+.RS 7
 .IP \(bu 2
 .
-if it\(aqs a directory, all files ending with .rc are added
+if it's a directory, all files ending with .rc are added
 .IP \(bu 2
 .
 otherwise, the file itself will be added
-.UNINDENT
+.RE
 .TP
 .B HGPLAIN
 .
 When set, this disables any configuration settings that might
-change Mercurial\(aqs default output. This includes encoding,
+change Mercurial's default output. This includes encoding,
 defaults, verbose mode, debug mode, quiet mode, tracebacks, and
 localization. This can be useful when scripting against Mercurial
 in the face of existing user configuration.
@@ -4724,7 +4697,7 @@
 .
 This is the string used as the author of a commit. If not set,
 available values will be considered in this order:
-.INDENT 7.0
+.RS 7
 .IP \(bu 2
 .
 HGUSER (deprecated)
@@ -4740,7 +4713,7 @@
 .IP \(bu 2
 .
 LOGNAME (with \fB@hostname\fP appended)
-.UNINDENT
+.RE
 .sp
 (deprecated, use configuration file)
 .TP
@@ -4763,13 +4736,13 @@
 editor it uses is determined by looking at the environment
 variables HGEDITOR, VISUAL and EDITOR, in that order. The first
 non\-empty one is chosen. If all of them are empty, the editor
-defaults to \(aqvi\(aq.
+defaults to 'vi'.
 .TP
 .B PYTHONPATH
 .
 This is used by Python to find imported modules and may need to be
 set appropriately if this Mercurial is not installed system\-wide.
-.UNINDENT
+.RE
 .SH USING ADDITIONAL FEATURES
 .sp
 Mercurial has the ability to add new features through the use of
@@ -4782,22 +4755,22 @@
 like this:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
 foo =
-.ft P
+.ft
 .fi
 .sp
 You may also specify the full path to an extension:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
 myfeature = ~/.hgext/myfeature.py
-.ft P
+.ft
 .fi
 .sp
-See \%\fBhg help config\fP\: for more information on configuration files.
+See \fBhg help config\fP for more information on configuration files.
 .sp
 Extensions are not loaded by default for a variety of reasons:
 they can increase startup overhead; they may be meant for advanced
@@ -4811,19 +4784,19 @@
 broader scope, prepend its path with !:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
 # disabling extension bar residing in /path/to/extension/bar.py
 bar = !/path/to/extension/bar.py
 # ditto, but no path was supplied for extension baz
 baz = !
-.ft P
+.ft
 .fi
 .sp
 disabled extensions:
-.INDENT 0.0
-.INDENT 3.5
-.INDENT 0.0
+.RS 0
+.RS 3
+.RS 0
 .TP
 .B acl
 .
@@ -4956,9 +4929,9 @@
 .B zeroconf
 .
 discover and advertise repositories on the local network
-.UNINDENT
-.UNINDENT
-.UNINDENT
+.RE
+.RE
+.RE
 .SH SPECIFYING FILE SETS
 .sp
 Mercurial supports a functional language for selecting a set of
@@ -4965,7 +4938,7 @@
 files.
 .sp
 Like other file patterns, this pattern type is indicated by a prefix,
-\(aqset:\(aq. The language supports a number of predicates which are joined
+\&'set:'. The language supports a number of predicates which are joined
 by infix operators. Parenthesis can be used for grouping.
 .sp
 Identifiers such as filenames or patterns must be quoted with single
@@ -4976,18 +4949,18 @@
 .sp
 Special characters can be used in quoted identifiers by escaping them,
 e.g., \fB\en\fP is interpreted as a newline. To prevent them from being
-interpreted, strings can be prefixed with \fBr\fP, e.g. \fBr\(aq...\(aq\fP.
+interpreted, strings can be prefixed with \fBr\fP, e.g. \fBr'...'\fP.
 .sp
 There is a single prefix operator:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBnot x\fP
 .sp
 Files not in x. Short form is \fB! x\fP.
-.UNINDENT
+.RE
 .sp
 These are the supported infix operators:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBx and y\fP
 .sp
@@ -5001,10 +4974,10 @@
 .B \fBx \- y\fP
 .sp
 Files in x but not in y.
-.UNINDENT
+.RE
 .sp
 The following predicates are supported:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBadded()\fP
 .sp
@@ -5061,7 +5034,7 @@
 .TP
 .B \fBportable()\fP
 .sp
-File that has a portable name. (This doesn\(aqt include filenames with case
+File that has a portable name. (This doesn't include filenames with case
 collisions.)
 .TP
 .B \fBremoved()\fP
@@ -5075,7 +5048,7 @@
 .B \fBsize(expression)\fP
 .sp
 File size matches the given expression. Examples:
-.INDENT 7.0
+.RS 7
 .IP \(bu 2
 .
 1k (files from 1024 to 2047 bytes)
@@ -5088,7 +5061,7 @@
 .IP \(bu 2
 .
 4k \- 1MB (files from 4096 bytes to 1048576 bytes)
-.UNINDENT
+.RE
 .TP
 .B \fBsubrepo([pattern])\fP
 .sp
@@ -5106,18 +5079,18 @@
 .B \fBunresolved()\fP
 .sp
 File that is marked unresolved according to the resolve state.
-.UNINDENT
+.RE
 .sp
 Some sample queries:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Show status of files that appear to be binary in the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg status \-A "set:binary()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -5124,9 +5097,9 @@
 Forget files that are in .hgignore but are already tracked:
 .sp
 .nf
-.ft C
+.ft
 hg forget "set:hgignore() and not ignored()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -5133,9 +5106,9 @@
 Find text files that contain a string:
 .sp
 .nf
-.ft C
+.ft
 hg files "set:grep(magic) and not binary()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -5142,9 +5115,9 @@
 Find C files in a non\-standard encoding:
 .sp
 .nf
-.ft C
-hg files "set:**.c and not encoding(\(aqUTF\-8\(aq)"
-.ft P
+.ft
+hg files "set:**.c and not encoding('UTF\-8')"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -5151,9 +5124,9 @@
 Revert copies of large binary files:
 .sp
 .nf
-.ft C
-hg revert "set:copied() and binary() and size(\(aq>1M\(aq)"
-.ft P
+.ft
+hg revert "set:copied() and binary() and size('>1M')"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -5160,15 +5133,15 @@
 Remove files listed in foo.lst that contain the letter a or b:
 .sp
 .nf
-.ft C
-hg remove "set: \(aqlistfile:foo.lst\(aq and (**a* or **b*)"
-.ft P
+.ft
+hg remove "set: 'listfile:foo.lst' and (**a* or **b*)"
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
-See also \%\fBhg help patterns\fP\:.
+See also \fBhg help patterns\fP.
 .SH GLOSSARY
-.INDENT 0.0
+.RS 0
 .TP
 .B Ancestor
 .
@@ -5176,7 +5149,7 @@
 changesets from a given changeset. More precisely, the ancestors
 of a changeset can be defined by two properties: a parent of a
 changeset is an ancestor, and a parent of an ancestor is an
-ancestor. See also: \(aqDescendant\(aq.
+ancestor. See also: 'Descendant'.
 .TP
 .B Bookmark
 .
@@ -5183,7 +5156,7 @@
 Bookmarks are pointers to certain commits that move when
 committing. They are similar to tags in that it is possible to use
 bookmark names in all places where Mercurial expects a changeset
-ID, e.g., with \%\fBhg update\fP\:. Unlike tags, bookmarks move along
+ID, e.g., with \fBhg update\fP. Unlike tags, bookmarks move along
 when you make a commit.
 .sp
 Bookmarks can be renamed, copied and deleted. Bookmarks are local,
@@ -5195,9 +5168,9 @@
 .
 (Noun) A child changeset that has been created from a parent that
 is not a head. These are known as topological branches, see
-\(aqBranch, topological\(aq. If a topological branch is named, it becomes
+\&'Branch, topological'. If a topological branch is named, it becomes
 a named branch. If a topological branch is not named, it becomes
-an anonymous branch. See \(aqBranch, anonymous\(aq and \(aqBranch, named\(aq.
+an anonymous branch. See 'Branch, anonymous' and 'Branch, named'.
 .sp
 Branches may be created when changes are pulled from or pushed to
 a remote repository, since new heads may be created by these
@@ -5212,7 +5185,7 @@
 (Verb) The action of creating a child changeset which results in
 its parent having more than one child.
 .sp
-Example: "I\(aqm going to branch at X".
+Example: "I'm going to branch at X".
 .TP
 .B Branch, anonymous
 .
@@ -5231,19 +5204,19 @@
 .TP
 .B Branch head
 .
-See \(aqHead, branch\(aq.
+See 'Head, branch'.
 .TP
 .B Branch, inactive
 .
 If a named branch has no topological heads, it is considered to be
 inactive. As an example, a feature branch becomes inactive when it
-is merged into the default branch. The \%\fBhg branches\fP\: command
+is merged into the default branch. The \fBhg branches\fP command
 shows inactive branches by default, though they can be hidden with
-\%\fBhg branches \-\-active\fP\:.
+\fBhg branches \-\-active\fP.
 .sp
 NOTE: this concept is deprecated because it is too implicit.
-Branches should now be explicitly closed using \%\fBhg commit
-\-\-close\-branch\fP\: when they are no longer needed.
+Branches should now be explicitly closed using \fBhg commit
+\-\-close\-branch\fP when they are no longer needed.
 .TP
 .B Branch, named
 .
@@ -5250,8 +5223,8 @@
 A collection of changesets which have the same branch name. By
 default, children of a changeset in a named branch belong to the
 same named branch. A child can be explicitly assigned to a
-different branch. See \%\fBhg help branch\fP\:, \%\fBhg help branches\fP\: and
-\%\fBhg commit \-\-close\-branch\fP\: for more information on managing
+different branch. See \fBhg help branch\fP, \fBhg help branches\fP and
+\fBhg commit \-\-close\-branch\fP for more information on managing
 branches.
 .sp
 Named branches can be thought of as a kind of namespace, dividing
@@ -5264,7 +5237,7 @@
 .TP
 .B Branch tip
 .
-See \(aqTip, branch\(aq.
+See 'Tip, branch'.
 .TP
 .B Branch, topological
 .
@@ -5314,24 +5287,24 @@
 revision. This use should probably be avoided where possible, as
 changeset is much more appropriate than checkout in this context.
 .sp
-Example: "I\(aqm using checkout X."
+Example: "I'm using checkout X."
 .sp
 (Verb) Updating the working directory to a specific changeset. See
-\%\fBhg help update\fP\:.
+\fBhg help update\fP.
 .sp
-Example: "I\(aqm going to check out changeset X."
+Example: "I'm going to check out changeset X."
 .TP
 .B Child changeset
 .
-See \(aqChangeset, child\(aq.
+See 'Changeset, child'.
 .TP
 .B Close changeset
 .
-See \(aqHead, closed branch\(aq
+See 'Head, closed branch'
 .TP
 .B Closed branch
 .
-See \(aqBranch, closed\(aq.
+See 'Branch, closed'.
 .TP
 .B Clone
 .
@@ -5340,13 +5313,13 @@
 .sp
 Example: "Is your clone up to date?".
 .sp
-(Verb) The process of creating a clone, using \%\fBhg clone\fP\:.
+(Verb) The process of creating a clone, using \fBhg clone\fP.
 .sp
-Example: "I\(aqm going to clone the repository".
+Example: "I'm going to clone the repository".
 .TP
 .B Closed branch head
 .
-See \(aqHead, closed branch\(aq.
+See 'Head, closed branch'.
 .TP
 .B Commit
 .
@@ -5371,7 +5344,7 @@
 system (DVCS) can be described as a directed acyclic graph (DAG),
 consisting of nodes and edges, where nodes correspond to
 changesets and edges imply a parent \-> child relation. This graph
-can be visualized by graphical tools such as \%\fBhg log \-\-graph\fP\:. In
+can be visualized by graphical tools such as \fBhg log \-\-graph\fP. In
 Mercurial, the DAG is limited by the requirement for children to
 have at most two parents.
 .TP
@@ -5381,7 +5354,7 @@
 .TP
 .B Default branch
 .
-See \(aqBranch, default\(aq.
+See 'Branch, default'.
 .TP
 .B Descendant
 .
@@ -5389,7 +5362,7 @@
 from a given changeset. More precisely, the descendants of a
 changeset can be defined by two properties: the child of a
 changeset is a descendant, and the child of a descendant is a
-descendant. See also: \(aqAncestor\(aq.
+descendant. See also: 'Ancestor'.
 .TP
 .B Diff
 .
@@ -5414,7 +5387,7 @@
 Mercurial, that will be recorded in the next commit. The working
 directory initially corresponds to the snapshot at an existing
 changeset, known as the parent of the working directory. See
-\(aqParent, working directory\(aq. The state may be modified by changes
+\&'Parent, working directory'. The state may be modified by changes
 to the files introduced manually or by a merge. The repository
 metadata exists in the .hg directory inside the working directory.
 .TP
@@ -5422,7 +5395,7 @@
 .
 Changesets in the draft phase have not been shared with publishing
 repositories and may thus be safely changed by history\-modifying
-extensions. See \%\fBhg help phases\fP\:.
+extensions. See \fBhg help phases\fP.
 .TP
 .B Experimental
 .
@@ -5430,13 +5403,13 @@
 .TP
 .B Graph
 .
-See DAG and \%\fBhg log \-\-graph\fP\:.
+See DAG and \fBhg log \-\-graph\fP.
 .TP
 .B Head
 .
-The term \(aqhead\(aq may be used to refer to both a branch head or a
-repository head, depending on the context. See \(aqHead, branch\(aq and
-\(aqHead, repository\(aq for specific definitions.
+The term 'head' may be used to refer to both a branch head or a
+repository head, depending on the context. See 'Head, branch' and
+\&'Head, repository' for specific definitions.
 .sp
 Heads are where development generally takes place and are the
 usual targets for update and merge operations.
@@ -5448,9 +5421,9 @@
 .B Head, closed branch
 .
 A changeset that marks a head as no longer interesting. The closed
-head is no longer listed by \%\fBhg heads\fP\:. A branch is considered
+head is no longer listed by \fBhg heads\fP. A branch is considered
 closed when all its heads are closed and consequently is not
-listed by \%\fBhg branches\fP\:.
+listed by \fBhg branches\fP.
 .sp
 Closed heads can be re\-opened by committing new changeset as the
 child of the changeset that marks a head as closed.
@@ -5479,11 +5452,11 @@
 .TP
 .B Immutable history
 .
-See \(aqHistory, immutable\(aq.
+See 'History, immutable'.
 .TP
 .B Merge changeset
 .
-See \(aqChangeset, merge\(aq.
+See 'Changeset, merge'.
 .TP
 .B Manifest
 .
@@ -5500,7 +5473,7 @@
 .TP
 .B Named branch
 .
-See \(aqBranch, named\(aq.
+See 'Branch, named'.
 .TP
 .B Null changeset
 .
@@ -5507,30 +5480,30 @@
 The empty changeset. It is the parent state of newly\-initialized
 repositories and repositories with no checked out revision. It is
 thus the parent of root changesets and the effective ancestor when
-merging unrelated changesets. Can be specified by the alias \(aqnull\(aq
-or by the changeset ID \(aq000000000000\(aq.
+merging unrelated changesets. Can be specified by the alias 'null'
+or by the changeset ID '000000000000'.
 .TP
 .B Parent
 .
-See \(aqChangeset, parent\(aq.
+See 'Changeset, parent'.
 .TP
 .B Parent changeset
 .
-See \(aqChangeset, parent\(aq.
+See 'Changeset, parent'.
 .TP
 .B Parent, working directory
 .
 The working directory parent reflects a virtual revision which is
 the child of the changeset (or two changesets with an uncommitted
-merge) shown by \%\fBhg parents\fP\:. This is changed with
-\%\fBhg update\fP\:. Other commands to see the working directory parent
-are \%\fBhg summary\fP\: and \%\fBhg id\fP\:. Can be specified by the alias ".".
+merge) shown by \fBhg parents\fP. This is changed with
+\fBhg update\fP. Other commands to see the working directory parent
+are \fBhg summary\fP and \fBhg id\fP. Can be specified by the alias ".".
 .TP
 .B Patch
 .
 (Noun) The product of a diff operation.
 .sp
-Example: "I\(aqve sent you my patch."
+Example: "I've sent you my patch."
 .sp
 (Verb) The process of using a patch file to transform one
 changeset into another.
@@ -5540,13 +5513,13 @@
 .B Phase
 .
 A per\-changeset state tracking how the changeset has been or
-should be shared. See \%\fBhg help phases\fP\:.
+should be shared. See \fBhg help phases\fP.
 .TP
 .B Public
 .
 Changesets in the public phase have been shared with publishing
-repositories and are therefore considered immutable. See \%\fBhg help
-phases\fP\:.
+repositories and are therefore considered immutable. See \fBhg help
+phases\fP.
 .TP
 .B Pull
 .
@@ -5554,7 +5527,7 @@
 not in the local repository are brought into the local
 repository. Note that this operation without special arguments
 only updates the repository, it does not update the files in the
-working directory. See \%\fBhg help pull\fP\:.
+working directory. See \fBhg help pull\fP.
 .TP
 .B Push
 .
@@ -5562,7 +5535,7 @@
 not in a remote repository are sent to the remote repository. Note
 that this operation only adds changesets which have been committed
 locally to the remote repository. Uncommitted changes are not
-sent. See \%\fBhg help push\fP\:.
+sent. See \fBhg help push\fP.
 .TP
 .B Repository
 .
@@ -5575,13 +5548,13 @@
 .TP
 .B Repository head
 .
-See \(aqHead, repository\(aq.
+See 'Head, repository'.
 .TP
 .B Revision
 .
 A state of the repository at some point in time. Earlier revisions
-can be updated to by using \%\fBhg update\fP\:.  See also \(aqRevision
-number\(aq; See also \(aqChangeset\(aq.
+can be updated to by using \fBhg update\fP.  See also 'Revision
+number'; See also 'Changeset'.
 .TP
 .B Revision number
 .
@@ -5590,7 +5563,7 @@
 to a repository, starting with revision number 0. Note that the
 revision number may be different in each clone of a repository. To
 identify changesets uniquely between different clones, see
-\(aqChangeset id\(aq.
+\&'Changeset id'.
 .TP
 .B Revlog
 .
@@ -5601,7 +5574,7 @@
 .TP
 .B Rewriting history
 .
-See \(aqHistory, rewriting\(aq.
+See 'History, rewriting'.
 .TP
 .B Root
 .
@@ -5611,13 +5584,13 @@
 .B Secret
 .
 Changesets in the secret phase may not be shared via push, pull,
-or clone. See \%\fBhg help phases\fP\:.
+or clone. See \fBhg help phases\fP.
 .TP
 .B Tag
 .
 An alternative name given to a changeset. Tags can be used in all
 places where Mercurial expects a changeset ID, e.g., with
-\%\fBhg update\fP\:. The creation of a tag is stored in the history and
+\fBhg update\fP. The creation of a tag is stored in the history and
 will thus automatically be shared with other using push and pull.
 .TP
 .B Tip
@@ -5629,7 +5602,7 @@
 .
 The head of a given branch with the highest revision number. When
 a branch name is used as a revision identifier, it refers to the
-branch tip. See also \(aqBranch, head\(aq. Note that because revision
+branch tip. See also 'Branch, head'. Note that because revision
 numbers may be different in different repository clones, the
 branch tip may be different in different cloned repositories.
 .TP
@@ -5637,22 +5610,22 @@
 .
 (Noun) Another synonym of changeset.
 .sp
-Example: "I\(aqve pushed an update".
+Example: "I've pushed an update".
 .sp
 (Verb) This term is usually used to describe updating the state of
 the working directory to that of a specific changeset. See
-\%\fBhg help update\fP\:.
+\fBhg help update\fP.
 .sp
 Example: "You should update".
 .TP
 .B Working directory
 .
-See \(aqDirectory, working\(aq.
+See 'Directory, working'.
 .TP
 .B Working directory parent
 .
-See \(aqParent, working directory\(aq.
-.UNINDENT
+See 'Parent, working directory'.
+.RE
 .SH SYNTAX FOR MERCURIAL IGNORE FILES
 .SS Synopsis
 .sp
@@ -5679,16 +5652,16 @@
 .sp
 In addition, a Mercurial configuration file can reference a set of
 per\-user or global ignore files. See the \fBignore\fP configuration
-key on the \fB[ui]\fP section of \%\fBhg help config\fP\: for details of how to
+key on the \fB[ui]\fP section of \fBhg help config\fP for details of how to
 configure these files.
 .sp
-To control Mercurial\(aqs handling of files that it manages, many
+To control Mercurial's handling of files that it manages, many
 commands support the \fB\-I\fP and \fB\-X\fP options; see
-\%\fBhg help <command>\fP\: and \%\fBhg help patterns\fP\: for details.
+\fBhg help <command>\fP and \fBhg help patterns\fP for details.
 .sp
 Files that are already tracked are not affected by .hgignore, even
 if they appear in .hgignore. An untracked file X can be explicitly
-added with \%\fBhg add X\fP\:, even if X would be excluded by a pattern
+added with \fBhg add X\fP, even if X would be excluded by a pattern
 in .hgignore.
 .SS Syntax
 .sp
@@ -5703,13 +5676,13 @@
 To change the syntax used, use a line of the following form:
 .sp
 .nf
-.ft C
+.ft
 syntax: NAME
-.ft P
+.ft
 .fi
 .sp
 where \fBNAME\fP is one of the following:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBregexp\fP
 .sp
@@ -5718,7 +5691,7 @@
 .B \fBglob\fP
 .sp
 Shell\-style glob.
-.UNINDENT
+.RE
 .sp
 The chosen syntax stays in effect when parsing all patterns that
 follow, until another syntax is selected.
@@ -5730,7 +5703,7 @@
 .IP Note
 .
 Patterns specified in other than \fB.hgignore\fP are always rooted.
-Please see \%\fBhg help patterns\fP\: for details.
+Please see \fBhg help patterns\fP for details.
 .RE
 .SS Example
 .sp
@@ -5737,7 +5710,7 @@
 Here is an example ignore file.
 .sp
 .nf
-.ft C
+.ft
 # use glob syntax.
 syntax: glob
 
@@ -5748,21 +5721,21 @@
 # switch to regexp syntax.
 syntax: regexp
 ^\e.pc/
-.ft P
+.ft
 .fi
 .SH CONFIGURING HGWEB
 .sp
-Mercurial\(aqs internal web server, hgweb, can serve either a single
+Mercurial's internal web server, hgweb, can serve either a single
 repository, or a tree of repositories. In the second case, repository
 paths and global options can be defined using a dedicated
-configuration file common to \%\fBhg serve\fP\:, \fBhgweb.wsgi\fP,
+configuration file common to \fBhg serve\fP, \fBhgweb.wsgi\fP,
 \fBhgweb.cgi\fP and \fBhgweb.fcgi\fP.
 .sp
 This file uses the same syntax as other Mercurial configuration files
 but recognizes only the following sections:
-.INDENT 0.0
-.INDENT 3.5
-.INDENT 0.0
+.RS 0
+.RS 3
+.RS 0
 .IP \(bu 2
 .
 web
@@ -5772,11 +5745,11 @@
 .IP \(bu 2
 .
 collections
-.UNINDENT
-.UNINDENT
-.UNINDENT
+.RE
+.RE
+.RE
 .sp
-The \fBweb\fP options are thoroughly described in \%\fBhg help config\fP\:.
+The \fBweb\fP options are thoroughly described in \fBhg help config\fP.
 .sp
 The \fBpaths\fP section maps URL paths to paths of repositories in the
 filesystem. hgweb will not expose the filesystem directly \- only
@@ -5791,7 +5764,7 @@
 path ends with \fB*\fP or \fB**\fP the filesystem will be searched
 recursively for repositories below that point.
 With \fB*\fP it will not recurse into the repositories it finds (except for
-\fB.hg/patches\fP).
+\fB\&.hg/patches\fP).
 With \fB**\fP it will also search inside repository working directories
 and possibly find subrepositories.
 .sp
@@ -5798,15 +5771,15 @@
 In this example:
 .sp
 .nf
-.ft C
+.ft
 [paths]
 /projects/a = /srv/tmprepos/a
 /projects/b = c:/repos/b
 / = /srv/repos/*
 /user/bob = /home/bob/repos/**
-.ft P
+.ft
 .fi
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 The first two entries make two repositories in different directories
@@ -5820,7 +5793,7 @@
 .
 The fourth entry will publish both \fBhttp://server/user/bob/quux/\fP
 and \fBhttp://server/user/bob/quux/testsubrepo/\fP
-.UNINDENT
+.RE
 .sp
 The \fBcollections\fP section is deprecated and has been superseded by
 \fBpaths\fP.
@@ -5843,7 +5816,7 @@
 \fB/log?style=atom\fP. The hyphenated URL parameter is preferred.
 .sp
 Not all templates are available for all styles. Attempting to use
-a style that doesn\(aqt have all templates defined may result in an error
+a style that doesn't have all templates defined may result in an error
 rendering the page.
 .sp
 Many commands take a \fB{revision}\fP URL parameter. This defines the
@@ -5850,7 +5823,7 @@
 changeset to operate on. This is commonly specified as the short,
 12 digit hexidecimal abbreviation for the full 40 character unique
 revision identifier. However, any value described by
-\%\fBhg help revisions\fP\: typically works.
+\fBhg help revisions\fP typically works.
 .SS Commands and URLs
 .sp
 The following web commands and their URLs are available:
@@ -5904,7 +5877,7 @@
 .sp
 The argument for \fBrev\fP can be a single revision, a revision set,
 or a literal keyword to search for in changeset data (equivalent to
-\%\fBhg log \-k\fP\:).
+\fBhg log \-k\fP).
 .sp
 The \fBrevcount\fP query string argument defines the maximum numbers of
 changesets to render.
@@ -5989,7 +5962,7 @@
 .sp
 Render help documentation.
 .sp
-This web command is roughly equivalent to \%\fBhg help\fP\:. If a \fBtopic\fP
+This web command is roughly equivalent to \fBhg help\fP. If a \fBtopic\fP
 is defined, that help topic will be rendered. If not, an index of
 available help topics will be rendered.
 .sp
@@ -6060,8 +6033,8 @@
 ancestor of the two file versions, so they can determine the changes
 made on both branches.
 .sp
-Merge tools are used both for \%\fBhg resolve\fP\:, \%\fBhg merge\fP\:, \%\fBhg update\fP\:,
-\%\fBhg backout\fP\: and in several extensions.
+Merge tools are used both for \fBhg resolve\fP, \fBhg merge\fP, \fBhg update\fP,
+\fBhg backout\fP and in several extensions.
 .sp
 Usually, the merge tool tries to automatically reconcile the files by
 combining all non\-overlapping changes that occurred separately in
@@ -6086,7 +6059,7 @@
 .sp
 There are some internal merge tools which can be used. The internal
 merge tools are:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fB:dump\fP
 .sp
@@ -6133,7 +6106,7 @@
 .B \fB:tagmerge\fP
 .sp
 Uses the internal tag merge algorithm (experimental).
-.UNINDENT
+.RE
 .sp
 Internal tools are always available and do not require a GUI but will by default
 not handle symlinks or binary files.
@@ -6140,7 +6113,7 @@
 .SS Choosing a merge tool
 .sp
 Mercurial uses these rules when deciding which merge tool to use:
-.INDENT 0.0
+.RS 0
 .IP 1. 3
 .
 If a tool has been specified with the \-\-tool option to merge or resolve, it
@@ -6177,11 +6150,11 @@
 .IP 8. 3
 .
 The merge of the file fails and must be resolved before commit.
-.UNINDENT
+.RE
 .IP Note
 .
 After selecting a merge program, Mercurial will by default attempt
-to merge the files using a simple merge algorithm first. Only if it doesn\(aqt
+to merge the files using a simple merge algorithm first. Only if it doesn't
 succeed because of conflicting changes Mercurial will actually execute the
 merge program. Whether to use the simple merge algorithm first can be
 controlled by the premerge setting of the merge tool. Premerge is enabled by
@@ -6217,7 +6190,7 @@
 .IP Note
 .
 Patterns specified in \fB.hgignore\fP are not rooted.
-Please see \%\fBhg help hgignore\fP\: for details.
+Please see \fBhg help hgignore\fP for details.
 .RE
 .sp
 To use a plain path name without any pattern matching, start it with
@@ -6246,17 +6219,17 @@
 Plain examples:
 .sp
 .nf
-.ft C
+.ft
 path:foo/bar   a name bar in a directory named foo in the root
                of the repository
 path:path:name a file or directory named "path:name"
-.ft P
+.ft
 .fi
 .sp
 Glob examples:
 .sp
 .nf
-.ft C
+.ft
 glob:*.c       any name ending in ".c" in the current directory
 *.c            any name ending in ".c" in the current directory
 **.c           any name ending in ".c" in any subdirectory of the
@@ -6264,27 +6237,27 @@
 foo/*.c        any name ending in ".c" in the directory foo
 foo/**.c       any name ending in ".c" in any subdirectory of foo
                including itself.
-.ft P
+.ft
 .fi
 .sp
 Regexp examples:
 .sp
 .nf
-.ft C
+.ft
 re:.*\e.c$      any name ending in ".c", anywhere in the repository
-.ft P
+.ft
 .fi
 .sp
 File examples:
 .sp
 .nf
-.ft C
+.ft
 listfile:list.txt  read list from list.txt with one file pattern per line
 listfile0:list.txt read list from list.txt with null byte delimiters
-.ft P
+.ft
 .fi
 .sp
-See also \%\fBhg help filesets\fP\:.
+See also \fBhg help filesets\fP.
 .SH WORKING WITH PHASES
 .SS What are phases?
 .sp
@@ -6293,9 +6266,9 @@
 (for instance, with the mq or rebase extensions).
 .sp
 Each changeset in a repository is in one of the following phases:
-.INDENT 0.0
-.INDENT 3.5
-.INDENT 0.0
+.RS 0
+.RS 3
+.RS 0
 .IP \(bu 2
 .
 public : changeset is visible on a public server
@@ -6305,9 +6278,9 @@
 .IP \(bu 2
 .
 secret : changeset should not be pushed, pulled, or cloned
-.UNINDENT
-.UNINDENT
-.UNINDENT
+.RE
+.RE
+.RE
 .sp
 These phases are ordered (public < draft < secret) and no changeset
 can be in a lower phase than its ancestors. For instance, if a
@@ -6321,14 +6294,14 @@
 .sp
 Once changesets become public, extensions like mq and rebase will
 refuse to operate on them to prevent creating duplicate changesets.
-Phases can also be manually manipulated with the \%\fBhg phase\fP\: command
-if needed. See \%\fBhg help \-v phase\fP\: for examples.
+Phases can also be manually manipulated with the \fBhg phase\fP command
+if needed. See \fBhg help \-v phase\fP for examples.
 .SS Phases and servers
 .sp
 Normally, all servers are \fBpublishing\fP by default. This means:
 .sp
 .nf
-.ft C
+.ft
 \- all draft changesets that are pulled or cloned appear in phase
 public on the client
 
@@ -6336,7 +6309,7 @@
 client and server
 
 \- secret changesets are neither pushed, pulled, or cloned
-.ft P
+.ft
 .fi
 .IP Note
 .
@@ -6349,13 +6322,13 @@
 repository to disable publishing in its configuration file:
 .sp
 .nf
-.ft C
+.ft
 [phases]
 publish = False
-.ft P
+.ft
 .fi
 .sp
-See \%\fBhg help config\fP\: for more information on configuration files.
+See \fBhg help config\fP for more information on configuration files.
 .IP Note
 .
 Servers running older versions of Mercurial are treated as
@@ -6369,17 +6342,17 @@
 of the secret changeset may be communicated to the server.
 .RE
 .SS Examples
-.INDENT 0.0
-.INDENT 3.5
-.INDENT 0.0
+.RS 0
+.RS 3
+.RS 0
 .IP \(bu 2
 .
 list changesets in draft or secret phase:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "not public()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -6386,9 +6359,9 @@
 change all secret changesets to draft:
 .sp
 .nf
-.ft C
+.ft
 hg phase \-\-draft "secret()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -6395,9 +6368,9 @@
 forcibly move the current changeset and descendants from public to draft:
 .sp
 .nf
-.ft C
+.ft
 hg phase \-\-force \-\-draft .
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -6404,9 +6377,9 @@
 show a list of changeset revision and phase:
 .sp
 .nf
-.ft C
+.ft
 hg log \-\-template "{rev} {phase}\en"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -6413,15 +6386,15 @@
 resynchronize draft changesets relative to a remote repository:
 .sp
 .nf
-.ft C
+.ft
 hg phase \-fd "outgoing(URL)"
-.ft P
+.ft
 .fi
-.UNINDENT
-.UNINDENT
-.UNINDENT
+.RE
+.RE
+.RE
 .sp
-See \%\fBhg help phase\fP\: for more information on manually manipulating phases.
+See \fBhg help phase\fP for more information on manually manipulating phases.
 .SH SPECIFYING SINGLE REVISIONS
 .sp
 Mercurial supports several ways to specify individual revisions.
@@ -6467,18 +6440,18 @@
 .sp
 Special characters can be used in quoted identifiers by escaping them,
 e.g., \fB\en\fP is interpreted as a newline. To prevent them from being
-interpreted, strings can be prefixed with \fBr\fP, e.g. \fBr\(aq...\(aq\fP.
+interpreted, strings can be prefixed with \fBr\fP, e.g. \fBr'...'\fP.
 .sp
 There is a single prefix operator:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBnot x\fP
 .sp
 Changesets not in x. Short form is \fB! x\fP.
-.UNINDENT
+.RE
 .sp
 These are the supported infix operators:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBx::y\fP
 .sp
@@ -6517,18 +6490,18 @@
 .B \fBx~n\fP
 .sp
 The nth first ancestor of x; \fBx~0\fP is x; \fBx~3\fP is \fBx^^^\fP.
-.UNINDENT
+.RE
 .sp
 There is a single postfix operator:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBx^\fP
 .sp
 Equivalent to \fBx^1\fP, the first parent of each changeset in x.
-.UNINDENT
+.RE
 .sp
 The following predicates are supported:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBadds(pattern)\fP
 .sp
@@ -6561,7 +6534,7 @@
 .B \fBbisect(string)\fP
 .sp
 Changesets marked in the specified bisect status:
-.INDENT 7.0
+.RS 7
 .IP \(bu 2
 .
 \fBgood\fP, \fBbad\fP, \fBskip\fP: csets explicitly marked as good/bad/skip
@@ -6583,7 +6556,7 @@
 .IP \(bu 2
 .
 \fBcurrent\fP            : the cset currently being bisected
-.UNINDENT
+.RE
 .TP
 .B \fBbookmark([name])\fP
 .sp
@@ -6628,8 +6601,8 @@
 .TP
 .B \fBcontains(pattern)\fP
 .sp
-The revision\(aqs manifest contains a file matching pattern (but might not
-modify it). See \%\fBhg help patterns\fP\: for information about file patterns.
+The revision's manifest contains a file matching pattern (but might not
+modify it). See \fBhg help patterns\fP for information about file patterns.
 .sp
 The pattern without explicit kind like \fBglob:\fP is expected to be
 relative to the current directory and match against a file exactly
@@ -6642,7 +6615,7 @@
 .TP
 .B \fBdate(interval)\fP
 .sp
-Changesets within the interval, see \%\fBhg help dates\fP\:.
+Changesets within the interval, see \fBhg help dates\fP.
 .TP
 .B \fBdesc(string)\fP
 .sp
@@ -6694,7 +6667,7 @@
 .sp
 For performance reasons, visits only revisions mentioned in the file\-level
 filelog, rather than filtering through all changesets (much faster, but
-doesn\(aqt include deletes or duplicate changes). For a slower, more accurate
+doesn't include deletes or duplicate changes). For a slower, more accurate
 result, use \fBfile()\fP.
 .sp
 The pattern without explicit kind like \fBglob:\fP is expected to be
@@ -6701,7 +6674,7 @@
 relative to the current directory and match against a file exactly
 for efficiency.
 .sp
-If some linkrev points to revisions filtered by the current repoview, we\(aqll
+If some linkrev points to revisions filtered by the current repoview, we'll
 work around it to return a non\-filtered value.
 .TP
 .B \fBfirst(set, [n])\fP
@@ -6710,13 +6683,13 @@
 .TP
 .B \fBfollow([file])\fP
 .sp
-An alias for \fB::.\fP (ancestors of the working directory\(aqs first parent).
+An alias for \fB::.\fP (ancestors of the working directory's first parent).
 If a filename is specified, the history of the given file is followed,
 including copies.
 .TP
 .B \fBgrep(regex)\fP
 .sp
-Like \fBkeyword(string)\fP but accepts a regex. Use \fBgrep(r\(aq...\(aq)\fP
+Like \fBkeyword(string)\fP but accepts a regex. Use \fBgrep(r'...')\fP
 to ensure special escape characters are handled correctly. Unlike
 \fBkeyword(string)\fP, the match is case\-sensitive.
 .TP
@@ -6840,7 +6813,7 @@
 .TP
 .B \fBpresent(set)\fP
 .sp
-An empty set, if any revision in set isn\(aqt found; otherwise,
+An empty set, if any revision in set isn't found; otherwise,
 all revisions in set.
 .sp
 If any of specified revisions is not present in the local repository,
@@ -6854,7 +6827,7 @@
 .B \fBremote([id [,path]])\fP
 .sp
 Local revision that corresponds to the given identifier in a
-remote repository, if present. Here, the \(aq.\(aq identifier is a
+remote repository, if present. Here, the '.' identifier is a
 synonym for the current local branch.
 .TP
 .B \fBremoves(pattern)\fP
@@ -6887,7 +6860,7 @@
 as \fB\-key\fP to sort in descending order.
 .sp
 The keys can be:
-.INDENT 7.0
+.RS 7
 .IP \(bu 2
 .
 \fBrev\fP for the revision number,
@@ -6903,7 +6876,7 @@
 .IP \(bu 2
 .
 \fBdate\fP for the commit date
-.UNINDENT
+.RE
 .TP
 .B \fBsubrepo([pattern])\fP
 .sp
@@ -6929,15 +6902,15 @@
 If \fIstring\fP starts with \fIre:\fP, the remainder of the string is treated as
 a regular expression. To match a user that actually contains \fIre:\fP, use
 the prefix \fIliteral:\fP.
-.UNINDENT
+.RE
 .sp
 New predicates (known as "aliases") can be defined, using any combination of
 existing predicates or other aliases. An alias definition looks like:
 .sp
 .nf
-.ft C
+.ft
 <alias> = <definition>
-.ft P
+.ft
 .fi
 .sp
 in the \fBrevsetalias\fP section of a Mercurial configuration file. Arguments
@@ -6947,12 +6920,12 @@
 For example,
 .sp
 .nf
-.ft C
+.ft
 [revsetalias]
 h = heads()
 d($1) = sort($1, date)
 rs($1, $2) = reverse(sort($1, $2))
-.ft P
+.ft
 .fi
 .sp
 defines three aliases, \fBh\fP, \fBd\fP, and \fBrs\fP. \fBrs(0:tip, author)\fP is
@@ -6962,13 +6935,13 @@
 one string. For example:
 .sp
 .nf
-.ft C
+.ft
 [revsetalias]
-issue($1) = grep(r\(aq\ebissue[ :]?\(aq ## $1 ## r\(aq\eb|\ebbug\e(\(aq ## $1 ## r\(aq\e)\(aq)
-.ft P
+issue($1) = grep(r'\ebissue[ :]?' ## $1 ## r'\eb|\ebbug\e(' ## $1 ## r'\e)')
+.ft
 .fi
 .sp
-\fBissue(1234)\fP is equivalent to \fBgrep(r\(aq\ebissue[ :]?1234\eb|\ebbug\e(1234\e)\(aq)\fP
+\fBissue(1234)\fP is equivalent to \fBgrep(r'\ebissue[ :]?1234\eb|\ebbug\e(1234\e)')\fP
 in this case. This matches against all of "issue 1234", "issue:1234",
 "issue1234" and "bug(1234)".
 .sp
@@ -6975,10 +6948,10 @@
 All other prefix, infix and postfix operators have lower priority than
 \fB##\fP. For example, \fB$1 ## $2~2\fP is equivalent to \fB($1 ## $2)~2\fP.
 .sp
-Command line equivalents for \%\fBhg log\fP\::
+Command line equivalents for \fBhg log\fP:
 .sp
 .nf
-.ft C
+.ft
 \-f    \->  ::.
 \-d x  \->  date(x)
 \-k x  \->  keyword(x)
@@ -6987,19 +6960,19 @@
 \-b x  \->  branch(x)
 \-P x  \->  !::x
 \-l x  \->  limit(expr, x)
-.ft P
+.ft
 .fi
 .sp
 Some sample queries:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Changesets on the default branch:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "branch(default)"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7006,9 +6979,9 @@
 Changesets on the default branch since tag 1.5 (excluding merges):
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "branch(default) and 1.5:: and not merge()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7015,9 +6988,9 @@
 Open branch heads:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "head() and not closed()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7025,9 +6998,9 @@
 \fBhgext/*\fP:
 .sp
 .nf
-.ft C
-hg log \-r "1.3::1.5 and keyword(bug) and file(\(aqhgext/*\(aq)"
-.ft P
+.ft
+hg log \-r "1.3::1.5 and keyword(bug) and file('hgext/*')"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7034,9 +7007,9 @@
 Changesets committed in May 2008, sorted by user:
 .sp
 .nf
-.ft C
-hg log \-r "sort(date(\(aqMay 2008\(aq), user)"
-.ft P
+.ft
+hg log \-r "sort(date('May 2008'), user)"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7044,11 +7017,11 @@
 release:
 .sp
 .nf
-.ft C
+.ft
 hg log \-r "(keyword(bug) or keyword(issue)) and not ancestors(tag())"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .SH SUBREPOSITORIES
 .sp
 Subrepositories let you nest external repositories or projects into a
@@ -7059,7 +7032,7 @@
 subrepositories.
 .sp
 Subrepositories are made of three components:
-.INDENT 0.0
+.RS 0
 .IP 1. 3
 .
 Nested repository checkouts. They can appear anywhere in the
@@ -7072,18 +7045,18 @@
 subrepositories are referenced like:
 .sp
 .nf
-.ft C
+.ft
 path/to/nested = https://example.com/nested/repo/path
-.ft P
+.ft
 .fi
 .sp
 Git and Subversion subrepos are also supported:
 .sp
 .nf
-.ft C
+.ft
 path/to/nested = [git]git://example.com/nested/repo/path
 path/to/nested = [svn]https://example.com/nested/trunk/path
-.ft P
+.ft
 .fi
 .sp
 where \fBpath/to/nested\fP is the checkout location relatively to the
@@ -7106,7 +7079,7 @@
 .
 The \fB.hgsubstate\fP file should not be edited manually.
 .RE
-.UNINDENT
+.RE
 .SS Adding a Subrepository
 .sp
 If \fB.hgsub\fP does not exist, create it and add it to the parent
@@ -7114,7 +7087,7 @@
 to live in the parent repository. Edit \fB.hgsub\fP and add the
 subrepository entry as described above. At this point, the
 subrepository is tracked and the next commit will record its state in
-\fB.hgsubstate\fP and bind it to the committed changeset.
+\fB\&.hgsubstate\fP and bind it to the committed changeset.
 .SS Synchronizing a Subrepository
 .sp
 Subrepos do not automatically track the latest changeset of their
@@ -7131,7 +7104,7 @@
 To remove a subrepository from the parent repository, delete its
 reference from \fB.hgsub\fP, then remove its files.
 .SS Interaction with Mercurial Commands
-.INDENT 0.0
+.RS 0
 .TP
 .B add
 .
@@ -7166,7 +7139,7 @@
 have been modified, Mercurial will abort.  Mercurial can be made
 to instead commit all modified subrepositories by specifying
 \-S/\-\-subrepos, or setting "ui.commitsubrepos=True" in a
-configuration file (see \%\fBhg help config\fP\:).  After there are no
+configuration file (see \fBhg help config\fP).  After there are no
 longer any modified subrepositories, it records their state and
 finally commits it in the parent repository.  The \-\-addremove
 option also honors the \-S/\-\-subrepos option.  However, Git and
@@ -7204,7 +7177,7 @@
 .B pull
 .
 pull is not recursive since it is not clear what to pull prior
-to running \%\fBhg update\fP\:. Listing and retrieving all
+to running \fBhg update\fP. Listing and retrieving all
 subrepositories changes referenced by the parent repository pulled
 changesets is expensive at best, impossible in the Subversion
 case.
@@ -7239,7 +7212,7 @@
 changeset is not available in the current subrepository, Mercurial
 will pull it in first before updating.  This means that updating
 can require network access when using subrepositories.
-.UNINDENT
+.RE
 .SS Remapping Subrepositories Sources
 .sp
 A subrepository source location may change during a project life,
@@ -7257,12 +7230,12 @@
 outgoing, incoming, tip, parents, and heads.
 .sp
 Some built\-in styles are packaged with Mercurial. These can be listed
-with \%\fBhg log \-\-template list\fP\:. Example usage:
+with \fBhg log \-\-template list\fP. Example usage:
 .sp
 .nf
-.ft C
+.ft
 $ hg log \-r1.0::1.1 \-\-template changelog
-.ft P
+.ft
 .fi
 .sp
 A template is a piece of text, with markup to invoke variable
@@ -7269,16 +7242,16 @@
 expansion:
 .sp
 .nf
-.ft C
+.ft
 $ hg log \-r1 \-\-template "{node}\en"
 b56ce7b07c52de7d5fd79fb89701ea538af65746
-.ft P
+.ft
 .fi
 .sp
 Strings in curly braces are called keywords. The availability of
 keywords depends on the exact context of the templater. These
 keywords are usually available for templating a log\-like command:
-.INDENT 0.0
+.RS 0
 .TP
 .B author
 .
@@ -7322,7 +7295,7 @@
 .TP
 .B extras
 .
-List of dicts with key, value entries of the \(aqextras\(aq
+List of dicts with key, value entries of the 'extras'
 field of this changeset.
 .TP
 .B file_adds
@@ -7368,24 +7341,24 @@
 .TP
 .B p1node
 .
-String. The identification hash of the changeset\(aqs first parent,
+String. The identification hash of the changeset's first parent,
 as a 40 digit hexadecimal string. If the changeset has no parents, all
 digits are 0.
 .TP
 .B p1rev
 .
-Integer. The repository\-local revision number of the changeset\(aqs
+Integer. The repository\-local revision number of the changeset's
 first parent, or \-1 if the changeset has no parents.
 .TP
 .B p2node
 .
-String. The identification hash of the changeset\(aqs second
+String. The identification hash of the changeset's second
 parent, as a 40 digit hexadecimal string. If the changeset has no second
 parent, all digits are 0.
 .TP
 .B p2rev
 .
-Integer. The repository\-local revision number of the changeset\(aqs
+Integer. The repository\-local revision number of the changeset's
 second parent, or \-1 if the changeset has no second parent.
 .TP
 .B parents
@@ -7413,24 +7386,24 @@
 .B tags
 .
 List of strings. Any tags associated with the changeset.
-.UNINDENT
+.RE
 .sp
 The "date" keyword does not produce human\-readable output. If you
 want to use a date in your output, you can use a filter to process
 it. Filters are functions which return a string based on the input
-variable. Be sure to use the stringify filter first when you\(aqre
+variable. Be sure to use the stringify filter first when you're
 applying a string\-input filter to a list\-like input variable.
 You can also use a chain of filters to get the desired output:
 .sp
 .nf
-.ft C
+.ft
 $ hg tip \-\-template "{date|isodate}\en"
 2008\-08\-21 18:22 +0000
-.ft P
+.ft
 .fi
 .sp
 List of filters:
-.INDENT 0.0
+.RS 0
 .TP
 .B addbreaks
 .
@@ -7522,7 +7495,7 @@
 .TP
 .B nonempty
 .
-Any text. Returns \(aq(none)\(aq if the string is empty.
+Any text. Returns '(none)' if the string is empty.
 .TP
 .B obfuscate
 .
@@ -7596,17 +7569,17 @@
 .
 Any text. Returns a short representation of a user name or email
 address.
-.UNINDENT
+.RE
 .sp
 Note that a filter is nothing more than a function call, i.e.
 \fBexpr|filter\fP is equivalent to \fBfilter(expr)\fP.
 .sp
 In addition to filters, there are some basic built\-in functions:
-.INDENT 0.0
+.RS 0
 .TP
 .B date(date[, fmt])
 .
-Format a date. See \%\fBhg help dates\fP\: for formatting
+Format a date. See \fBhg help dates\fP for formatting
 strings.
 .TP
 .B diff([includepattern [, excludepattern]])
@@ -7650,7 +7623,7 @@
 a label applied can result in additional post\-processing, such as
 automatic colorization.
 .TP
-.B pad(text, width[, fillchar=\(aq \(aq[, right=False]])
+.B pad(text, width[, fillchar=' '[, right=False]])
 .
 Pad text with a
 fill character.
@@ -7658,7 +7631,7 @@
 .B revset(query[, formatargs...])
 .
 Execute a revision set query. See
-\%\fBhg help revset\fP\:.
+\fBhg help revset\fP.
 .TP
 .B rstdoc(text, style)
 .
@@ -7686,25 +7659,25 @@
 .B word(number, text[, separator])
 .
 Return the nth word from a string.
-.UNINDENT
+.RE
 .sp
 Also, for any expression that returns a list, there is a list operator:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 expr % "{template}"
-.UNINDENT
+.RE
 .sp
 Some sample command line templates:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Format lists, e.g. files:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "files:\en{files % \(aq  {file}\en\(aq}"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "files:\en{files % '  {file}\en'}"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7711,9 +7684,9 @@
 Join the list of files with a ", ":
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "files: {join(files, \(aq, \(aq)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "files: {join(files, ', ')}\en"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7720,9 +7693,9 @@
 Modify each line of a commit description:
 .sp
 .nf
-.ft C
-$ hg log \-\-template "{splitlines(desc) % \(aq**** {line}\en\(aq}"
-.ft P
+.ft
+$ hg log \-\-template "{splitlines(desc) % '**** {line}\en'}"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7729,9 +7702,9 @@
 Format date:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{date(date, \(aq%Y\(aq)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{date(date, '%Y')}\en"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7738,9 +7711,9 @@
 Output the description set to a fill\-width of 30:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{fill(desc, \(aq30\(aq)}"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{fill(desc, '30')}"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7747,10 +7720,10 @@
 Use a conditional to test for the default branch:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{ifeq(branch, \(aqdefault\(aq, \(aqon the main branch\(aq,
-\(aqon branch {branch}\(aq)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{ifeq(branch, 'default', 'on the main branch',
+\&'on branch {branch}')}\en"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7757,9 +7730,9 @@
 Append a newline if not empty:
 .sp
 .nf
-.ft C
-$ hg tip \-\-template "{if(author, \(aq{author}\en\(aq)}"
-.ft P
+.ft
+$ hg tip \-\-template "{if(author, '{author}\en')}"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7766,9 +7739,9 @@
 Label the output for use with the color extension:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{label(\(aqchangeset.{phase}\(aq, node|short)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{label('changeset.{phase}', node|short)}\en"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7775,36 +7748,36 @@
 Invert the firstline filter, i.e. everything but the first line:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{sub(r\(aq^.*\en?\en?\(aq, \(aq\(aq, desc)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{sub(r'^.*\en?\en?', '', desc)}\en"
+.ft
 .fi
 .IP \(bu 2
 .
-Display the contents of the \(aqextra\(aq field, one per line:
+Display the contents of the 'extra' field, one per line:
 .sp
 .nf
-.ft C
-$ hg log \-r 0 \-\-template "{join(extras, \(aq\en\(aq)}\en"
-.ft P
+.ft
+$ hg log \-r 0 \-\-template "{join(extras, '\en')}\en"
+.ft
 .fi
 .IP \(bu 2
 .
-Mark the current bookmark with \(aq*\(aq:
+Mark the current bookmark with '*':
 .sp
 .nf
-.ft C
-$ hg log \-\-template "{bookmarks % \(aq{bookmark}{ifeq(bookmark, current, \e"*\e")} \(aq}\en"
-.ft P
+.ft
+$ hg log \-\-template "{bookmarks % '{bookmark}{ifeq(bookmark, current, \e"*\e")} '}\en"
+.ft
 .fi
 .IP \(bu 2
 .
-Mark the working copy parent with \(aq@\(aq:
+Mark the working copy parent with '@':
 .sp
 .nf
-.ft C
-$ hg log \-\-template "{ifcontains(rev, revset(\(aq.\(aq), \(aq@\(aq)}\en"
-.ft P
+.ft
+$ hg log \-\-template "{ifcontains(rev, revset('.'), '@')}\en"
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7811,9 +7784,9 @@
 Show only commit descriptions that start with "template":
 .sp
 .nf
-.ft C
+.ft
 $ hg log \-\-template "{startswith(\e"template\e", firstline(desc))}\en"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -7820,34 +7793,34 @@
 Print the first word of each line of a commit message:
 .sp
 .nf
-.ft C
+.ft
 $ hg log \-\-template "{word(\e"0\e", desc)}\en"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .SH URL PATHS
 .sp
 Valid URLs are of the form:
 .sp
 .nf
-.ft C
+.ft
 local/filesystem/path[#revision]
 file://local/filesystem/path[#revision]
 http://[user[:pass]@]host[:port]/[path][#revision]
 https://[user[:pass]@]host[:port]/[path][#revision]
 ssh://[user@]host[:port]/[path][#revision]
-.ft P
+.ft
 .fi
 .sp
 Paths in the local filesystem can either point to Mercurial
-repositories or to bundle files (as created by \%\fBhg bundle\fP\: or
-\%\fBhg incoming \-\-bundle\fP\:). See also \%\fBhg help paths\fP\:.
+repositories or to bundle files (as created by \fBhg bundle\fP or
+\fBhg incoming \-\-bundle\fP). See also \fBhg help paths\fP.
 .sp
 An optional identifier after # indicates a particular branch, tag, or
-changeset to use from the remote repository. See also \%\fBhg help
-revisions\fP\:.
+changeset to use from the remote repository. See also \fBhg help
+revisions\fP.
 .sp
-Some features, such as pushing to \%http://\: and \%https://\: URLs are only
+Some features, such as pushing to http:// and https:// URLs are only
 possible if the feature is explicitly enabled on the remote Mercurial
 server.
 .sp
@@ -7855,7 +7828,7 @@
 web.cacerts.
 .sp
 Some notes about using SSH with Mercurial:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 SSH requires an accessible shell account on the destination machine
@@ -7862,63 +7835,63 @@
 and a copy of hg in the remote path or specified with as remotecmd.
 .IP \(bu 2
 .
-path is relative to the remote user\(aqs home directory by default. Use
+path is relative to the remote user's home directory by default. Use
 an extra slash at the start of a path to specify an absolute path:
 .sp
 .nf
-.ft C
+.ft
 ssh://example.com//tmp/repository
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
-Mercurial doesn\(aqt use its own compression via SSH; the right thing
+Mercurial doesn't use its own compression via SSH; the right thing
 to do is to configure it in your ~/.ssh/config, e.g.:
 .sp
 .nf
-.ft C
+.ft
 Host *.mylocalnetwork.example.com
   Compression no
 Host *
   Compression yes
-.ft P
+.ft
 .fi
 .sp
 Alternatively specify "ssh \-C" as your ssh command in your
 configuration file or with the \-\-ssh command line option.
-.UNINDENT
+.RE
 .sp
 These URLs can all be stored in your configuration file with path
 aliases under the [paths] section like so:
 .sp
 .nf
-.ft C
+.ft
 [paths]
 alias1 = URL1
 alias2 = URL2
 \&...
-.ft P
+.ft
 .fi
 .sp
 You can then use the alias for any command that uses a URL (for
-example \%\fBhg pull alias1\fP\: will be treated as \%\fBhg pull URL1\fP\:).
+example \fBhg pull alias1\fP will be treated as \fBhg pull URL1\fP).
 .sp
 Two path aliases are special because they are used as defaults when
 you do not provide the URL to a command:
-.INDENT 0.0
+.RS 0
 .TP
 .B default:
 .
 When you create a repository with hg clone, the clone command saves
-the location of the source repository as the new repository\(aqs
-\(aqdefault\(aq path. This is then used when you omit path from push\- and
+the location of the source repository as the new repository's
+\&'default' path. This is then used when you omit path from push\- and
 pull\-like commands (including incoming and outgoing).
 .TP
 .B default\-push:
 .
-The push command will look for a path named \(aqdefault\-push\(aq, and
-prefer it over \(aqdefault\(aq if both are defined.
-.UNINDENT
+The push command will look for a path named 'default\-push', and
+prefer it over 'default' if both are defined.
+.RE
 .SH EXTENSIONS
 .sp
 This section contains help for extensions that are distributed together with Mercurial. Help for other extensions is available in the help system.
@@ -7942,7 +7915,7 @@
 distinguish them.
 .sp
 The order in which access checks are performed is:
-.INDENT 0.0
+.RS 0
 .IP 1. 3
 .
 Deny  list for branches (section \fBacl.deny.branches\fP)
@@ -7955,7 +7928,7 @@
 .IP 4. 3
 .
 Allow list for paths    (section \fBacl.allow\fP)
-.UNINDENT
+.RE
 .sp
 The allow and deny sections take key\-value pairs.
 .SS Branch\-based Access Control
@@ -7963,7 +7936,7 @@
 Use the \fBacl.deny.branches\fP and \fBacl.allow.branches\fP sections to
 have branch\-based access control. Keys in these sections can be
 either:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 a branch name, or
@@ -7970,10 +7943,10 @@
 .IP \(bu 2
 .
 an asterisk, to match any branch;
-.UNINDENT
+.RE
 .sp
 The corresponding values can be either:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 a comma\-separated list containing users and groups, or
@@ -7980,7 +7953,7 @@
 .IP \(bu 2
 .
 an asterisk, to match anyone;
-.UNINDENT
+.RE
 .sp
 You can add the "!" prefix to a user or group name to invert the sense
 of the match.
@@ -8002,7 +7975,7 @@
 .SS Example Configuration
 .sp
 .nf
-.ft C
+.ft
 [hooks]
 
 # Use this if you want to check access restrictions at commit time
@@ -8078,12 +8051,12 @@
 src/main/resources/** = *
 
 \&.hgtags = release_engineer
-.ft P
+.ft
 .fi
 .SS Examples using the "!" prefix
 .sp
-Suppose there\(aqs a branch that only a given user (or group) should be able to
-push to, and you don\(aqt want to restrict access to any other branch that may
+Suppose there's a branch that only a given user (or group) should be able to
+push to, and you don't want to restrict access to any other branch that may
 be created.
 .sp
 The "!" prefix allows you to prevent anyone except a given user or group to
@@ -8095,18 +8068,18 @@
 3) Deny access to a file to anyone but user "gollum"
 .sp
 .nf
-.ft C
+.ft
 [acl.allow.branches]
 # Empty
 
 [acl.deny.branches]
 
-# 1) only \(aqgollum\(aq can commit to branch \(aqring\(aq;
-# \(aqgollum\(aq and anyone else can still commit to any other branch.
+# 1) only 'gollum' can commit to branch 'ring';
+# 'gollum' and anyone else can still commit to any other branch.
 ring = !gollum
 
-# 2) only members of the group \(aqhobbit\(aq can commit to branch \(aqlake\(aq;
-# \(aqhobbit\(aq members and anyone else can still commit to any other branch.
+# 2) only members of the group 'hobbit' can commit to branch 'lake';
+# 'hobbit' members and anyone else can still commit to any other branch.
 lake = !@hobbit
 
 # You can also deny access based on file paths:
@@ -8115,10 +8088,10 @@
 # Empty
 
 [acl.deny]
-# 3) only \(aqgollum\(aq can change the file below;
-# \(aqgollum\(aq and anyone else can still change any other file.
+# 3) only 'gollum' can change the file below;
+# 'gollum' and anyone else can still change any other file.
 /misty/mountains/cave/ring = !gollum
-.ft P
+.ft
 .fi
 .SS blackbox
 .sp
@@ -8129,7 +8102,7 @@
 Examples:
 .sp
 .nf
-.ft C
+.ft
 [blackbox]
 track = *
 
@@ -8144,7 +8117,7 @@
 maxsize = 1.5 MB
 # rotate up to N log files when the current one gets too big
 maxfiles = 3
-.ft P
+.ft
 .fi
 .SS Commands
 .SS blackbox
@@ -8152,20 +8125,20 @@
 view the recent repository events:
 .sp
 .nf
-.ft C
+.ft
 hg blackbox [OPTION]...
-.ft P
+.ft
 .fi
 .sp
 view the recent repository events
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-l,  \-\-limit \ <VALUE>
 .
 the number of events to show (default: 10)
-.UNINDENT
+.RE
 .SS bugzilla
 .sp
 hooks for integrating with the Bugzilla bug tracker
@@ -8178,7 +8151,7 @@
 hours spent working on the bug. Bugs can also be marked fixed.
 .sp
 Three basic modes of access to Bugzilla are provided:
-.INDENT 0.0
+.RS 0
 .IP 1. 3
 .
 Access via the Bugzilla XMLRPC interface. Requires Bugzilla 3.4 or later.
@@ -8190,7 +8163,7 @@
 .
 Writing directly to the Bugzilla database. Only Bugzilla installations
 using MySQL are supported. Requires Python MySQLdb.
-.UNINDENT
+.RE
 .sp
 Writing directly to the database is susceptible to schema changes, and
 relies on a Bugzilla contrib script to send out bug change
@@ -8218,12 +8191,12 @@
 works on all supported Bugzilla versions.
 .sp
 Configuration items common to all access modes:
-.INDENT 0.0
+.RS 0
 .TP
 .B bugzilla.version
 .
 The access type to use. Values recognized are:
-.INDENT 7.0
+.RS 7
 .TP
 .B \fBxmlrpc\fP
 .sp
@@ -8246,7 +8219,7 @@
 .sp
 MySQL access, Bugzilla 2.16 and up to but not
 including 2.18.
-.UNINDENT
+.RE
 .TP
 .B bugzilla.regexp
 .
@@ -8291,7 +8264,7 @@
 Template to use when formatting comments. Overrides style if
 specified. In addition to the usual Mercurial keywords, the
 extension specifies:
-.INDENT 7.0
+.RS 7
 .TP
 .B \fB{bug}\fP
 .sp
@@ -8308,7 +8281,7 @@
 .B \fB{hgweb}\fP
 .sp
 Base URL for browsing Mercurial repositories.
-.UNINDENT
+.RE
 .sp
 Default \fBchangeset {node|short} in repo {root} refers to bug
 {bug}.\endetails:\en\et{desc|tabindent}\fP
@@ -8325,10 +8298,10 @@
 .
 Base URL for browsing Mercurial repositories. Referenced from
 templates as \fB{hgweb}\fP.
-.UNINDENT
+.RE
 .sp
 Configuration items common to XMLRPC+email and MySQL access modes:
-.INDENT 0.0
+.RS 0
 .TP
 .B bugzilla.usermap
 .
@@ -8337,13 +8310,13 @@
 line:
 .sp
 .nf
-.ft C
+.ft
 committer = Bugzilla user
-.ft P
+.ft
 .fi
 .sp
 See also the \fB[usermap]\fP section.
-.UNINDENT
+.RE
 .sp
 The \fB[usermap]\fP section is used to specify mappings of Mercurial
 committer email to Bugzilla user email. See also \fBbugzilla.usermap\fP.
@@ -8350,7 +8323,7 @@
 Contains entries of the form \fBcommitter = Bugzilla user\fP.
 .sp
 XMLRPC access mode configuration:
-.INDENT 0.0
+.RS 0
 .TP
 .B bugzilla.bzurl
 .
@@ -8365,22 +8338,22 @@
 .B bugzilla.password
 .
 The password for Bugzilla login.
-.UNINDENT
+.RE
 .sp
 XMLRPC+email access mode uses the XMLRPC access mode configuration items,
 and also:
-.INDENT 0.0
+.RS 0
 .TP
 .B bugzilla.bzemail
 .
 The Bugzilla email address.
-.UNINDENT
+.RE
 .sp
 In addition, the Mercurial email settings must be configured. See the
 documentation in hgrc(5), sections \fB[email]\fP and \fB[smtp]\fP.
 .sp
 MySQL access mode configuration:
-.INDENT 0.0
+.RS 0
 .TP
 .B bugzilla.host
 .
@@ -8420,12 +8393,12 @@
 id) and \fBuser\fP (committer bugzilla email). Default depends on
 version; from 2.18 it is "cd %(bzdir)s && perl \-T
 contrib/sendbugmail.pl %(id)s %(user)s".
-.UNINDENT
+.RE
 .sp
 Activating the extension:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
 bugzilla =
 
@@ -8432,7 +8405,7 @@
 [hooks]
 # run bugzilla hook on every change pulled or pushed in here
 incoming.bugzilla = python:hgext.bugzilla.hook
-.ft P
+.ft
 .fi
 .sp
 Example configurations:
@@ -8444,7 +8417,7 @@
 with a web interface at \fBhttp://my\-project.org/hg\fP.
 .sp
 .nf
-.ft C
+.ft
 [bugzilla]
 bzurl=http://my\-project.org/bugzilla
 user=bugmail@my\-project.org
@@ -8457,7 +8430,7 @@
 
 [web]
 baseurl=http://my\-project.org/hg
-.ft P
+.ft
 .fi
 .sp
 XMLRPC+email example configuration. This uses the Bugzilla at
@@ -8469,7 +8442,7 @@
 \fBbugzilla@my\-project.org\fP.
 .sp
 .nf
-.ft C
+.ft
 [bugzilla]
 bzurl=http://my\-project.org/bugzilla
 user=bugmail@my\-project.org
@@ -8486,7 +8459,7 @@
 
 [usermap]
 user@emaildomain.com=user.name@bugzilladomain.com
-.ft P
+.ft
 .fi
 .sp
 MySQL example configuration. This has a local Bugzilla 3.2 installation
@@ -8497,7 +8470,7 @@
 with a web interface at \fBhttp://my\-project.org/hg\fP.
 .sp
 .nf
-.ft C
+.ft
 [bugzilla]
 host=localhost
 password=XYZZY
@@ -8514,18 +8487,18 @@
 
 [usermap]
 user@emaildomain.com=user.name@bugzilladomain.com
-.ft P
+.ft
 .fi
 .sp
 All the above add a comment to the Bugzilla bug record of the form:
 .sp
 .nf
-.ft C
+.ft
 Changeset 3b16791d6642 in repository\-name.
 http://my\-project.org/hg/repository\-name/rev/3b16791d6642
 
 Changeset commit comment. Bug 1234.
-.ft P
+.ft
 .fi
 .SS censor
 .sp
@@ -8539,14 +8512,14 @@
 Typical uses for censor are due to security or legal requirements, including:
 .sp
 .nf
-.ft C
+.ft
 * Passwords, private keys, crytographic material
 * Licensed data/code/libraries for which the license has expired
 * Personally Identifiable Information or other private data
-.ft P
+.ft
 .fi
 .sp
-Censored nodes can interrupt mercurial\(aqs typical operation whenever the excised
+Censored nodes can interrupt mercurial's typical operation whenever the excised
 data needs to be materialized. Some commands, like \fBhg cat\fP/\fBhg revert\fP,
 simply fail when asked to produce censored data. Others, like \fBhg verify\fP and
 \fBhg update\fP, must be capable of tolerating censored data to continue to
@@ -8556,13 +8529,13 @@
 .SS censor
 .sp
 .nf
-.ft C
+.ft
 hg censor \-r REV [\-t TEXT] [FILE]
-.ft P
+.ft
 .fi
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -8571,13 +8544,13 @@
 .BI \-t,  \-\-tombstone \ <TEXT>
 .
 replacement tombstone data
-.UNINDENT
+.RE
 .SS children
 .sp
 command to display child changesets (DEPRECATED)
 .sp
-This extension is deprecated. You should use \%\fBhg log \-r
-"children(REV)"\fP\: instead.
+This extension is deprecated. You should use \fBhg log \-r
+"children(REV)"\fP instead.
 .SS Commands
 .SS children
 .sp
@@ -8584,12 +8557,12 @@
 show the children of the given or working directory revision:
 .sp
 .nf
-.ft C
+.ft
 hg children [\-r REV] [FILE]
-.ft P
+.ft
 .fi
 .sp
-Print the children of the working directory\(aqs revisions. If a
+Print the children of the working directory's revisions. If a
 revision is given via \-r/\-\-rev, the children of that revision will
 be printed. If a file argument is given, revision in which the
 file was last changed (after the working directory revision or the
@@ -8596,7 +8569,7 @@
 argument to \-\-rev if given) is printed.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV>
 .
@@ -8609,7 +8582,7 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template
-.UNINDENT
+.RE
 .SS churn
 .sp
 command to display statistics about repository history
@@ -8619,9 +8592,9 @@
 histogram of changes to the repository:
 .sp
 .nf
-.ft C
+.ft
 hg churn [\-d DATE] [\-r REV] [\-\-aliases FILE] [FILE]
-.ft P
+.ft
 .fi
 .sp
 This command will display a histogram representing the number
@@ -8637,7 +8610,7 @@
 Examples:
 .sp
 .nf
-.ft C
+.ft
 # display count of changed lines for every committer
 hg churn \-t "{author|email}"
 
@@ -8649,7 +8622,7 @@
 
 # display count of lines changed in every year
 hg churn \-f "%Y" \-s
-.ft P
+.ft
 .fi
 .sp
 It is possible to map alternate email addresses to a main address
@@ -8656,9 +8629,9 @@
 by providing a file using the following format:
 .sp
 .nf
-.ft C
+.ft
 <alias email> = <actual email>
-.ft P
+.ft
 .fi
 .sp
 Such a file may be specified with the \-\-aliases option, otherwise
@@ -8666,7 +8639,7 @@
 Aliases will be split from the rightmost "=".
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV[+]>
 .
@@ -8711,7 +8684,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS color
@@ -8731,10 +8704,10 @@
 available, then effects are rendered with the ECMA\-48 SGR control
 function (aka ANSI escape codes).
 .sp
-The available effects in terminfo mode are \(aqblink\(aq, \(aqbold\(aq, \(aqdim\(aq,
-\(aqinverse\(aq, \(aqinvisible\(aq, \(aqitalic\(aq, \(aqstandout\(aq, and \(aqunderline\(aq; in
-ECMA\-48 mode, the options are \(aqbold\(aq, \(aqinverse\(aq, \(aqitalic\(aq, and
-\(aqunderline\(aq.  How each is rendered depends on the terminal emulator.
+The available effects in terminfo mode are 'blink', 'bold', 'dim',
+\&'inverse', 'invisible', 'italic', 'standout', and 'underline'; in
+ECMA\-48 mode, the options are 'bold', 'inverse', 'italic', and
+\&'underline'.  How each is rendered depends on the terminal emulator.
 Some may not be available for a given terminal type, and will be
 silently ignored.
 .SS Labels
@@ -8741,8 +8714,8 @@
 .sp
 Text receives color effects depending on the labels that it has. Many
 default Mercurial commands emit labelled text. You can also define
-your own labels in templates using the label function, see \%\fBhg help
-templates\fP\:. A single portion of text may have more than one label. In
+your own labels in templates using the label function, see \fBhg help
+templates\fP. A single portion of text may have more than one label. In
 that case, effects given to the last label will override any other
 effects. This includes the special "none" effect, which nullifies
 other effects.
@@ -8750,18 +8723,18 @@
 Labels are normally invisible. In order to see these labels and their
 position in the text, use the global \-\-color=debug option. The same
 anchor text may be associated to multiple labels, e.g.
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 [log.changeset changeset.secret|changeset:   22611:6f0a53c8f587]
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .sp
 The following are the default effects for some default labels. Default
 effects may be overridden from your configuration file:
 .sp
 .nf
-.ft C
+.ft
 [color]
 status.modified = blue bold underline red_background
 status.added = green bold
@@ -8770,7 +8743,7 @@
 status.unknown = magenta bold underline
 status.ignored = black bold
 
-# \(aqnone\(aq turns off all effects
+# 'none' turns off all effects
 status.clean = none
 status.copied = none
 
@@ -8815,7 +8788,7 @@
 shelve.name = blue bold
 
 histedit.remaining = red bold
-.ft P
+.ft
 .fi
 .SS Custom colors
 .sp
@@ -8824,18 +8797,18 @@
 for your terminal type, assuming terminfo mode.  For instance:
 .sp
 .nf
-.ft C
+.ft
 color.brightblue = 12
 color.pink = 207
 color.orange = 202
-.ft P
+.ft
 .fi
 .sp
-to set \(aqbrightblue\(aq to color slot 12 (useful for 16 color terminals
-that have brighter colors defined in the upper eight) and, \(aqpink\(aq and
-\(aqorange\(aq to colors in 256\-color xterm\(aqs default color cube.  These
+to set 'brightblue' to color slot 12 (useful for 16 color terminals
+that have brighter colors defined in the upper eight) and, 'pink' and
+\&'orange' to colors in 256\-color xterm's default color cube.  These
 defined colors may then be used as any of the pre\-defined eight,
-including appending \(aq_background\(aq to set the background to that color.
+including appending '_background' to set the background to that color.
 .SS Modes
 .sp
 By default, the color extension will use ANSI mode (or win32 mode on
@@ -8843,19 +8816,19 @@
 terminfo mode, for example), set the following configuration option:
 .sp
 .nf
-.ft C
+.ft
 [color]
 mode = terminfo
-.ft P
+.ft
 .fi
 .sp
-Any value other than \(aqansi\(aq, \(aqwin32\(aq, \(aqterminfo\(aq, or \(aqauto\(aq will
+Any value other than 'ansi', 'win32', 'terminfo', or 'auto' will
 disable color.
 .sp
 Note that on some systems, terminfo mode may cause problems when using
 color with the pager extension and less \-R. less with the \-R option
 will only display ECMA\-48 color codes, and terminfo mode may sometimes
-emit codes that less doesn\(aqt understand. You can work around this by
+emit codes that less doesn't understand. You can work around this by
 either using ansi mode (or auto mode), or by using less \-r (which will
 pass through all terminal control codes, not just color control
 codes).
@@ -8866,11 +8839,11 @@
 the pager is active:
 .sp
 .nf
-.ft C
+.ft
 [color]
 mode = auto
 pagermode = ansi
-.ft P
+.ft
 .fi
 .sp
 If \fBpagermode\fP is not defined, the \fBmode\fP will be used.
@@ -8884,13 +8857,13 @@
 convert a foreign SCM repository to a Mercurial one.:
 .sp
 .nf
-.ft C
+.ft
 hg convert [OPTION]... SOURCE [DEST [REVMAP]]
-.ft P
+.ft
 .fi
 .sp
 Accepted source formats [identifiers]:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Mercurial [hg]
@@ -8918,10 +8891,10 @@
 .IP \(bu 2
 .
 Perforce [p4]
-.UNINDENT
+.RE
 .sp
 Accepted destination formats [identifiers]:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Mercurial [hg]
@@ -8928,7 +8901,7 @@
 .IP \(bu 2
 .
 Subversion [svn] (history on branches is not preserved)
-.UNINDENT
+.RE
 .sp
 If no revision is given, all revisions will be converted.
 Otherwise, convert will only import up to the named revision
@@ -8936,12 +8909,12 @@
 .sp
 If no destination directory name is specified, it defaults to the
 basename of the source with \fB\-hg\fP appended. If the destination
-repository doesn\(aqt exist, it will be created.
+repository doesn't exist, it will be created.
 .sp
 By default, all sources except Mercurial will use \-\-branchsort.
 Mercurial uses \-\-sourcesort to preserve original revision numbers
 order. Sort modes have the following effects:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-branchsort
 .
@@ -8966,21 +8939,21 @@
 try to move closed revisions as close as possible
 to parent branches, only supported by Mercurial
 sources.
-.UNINDENT
+.RE
 .sp
-If \fBREVMAP\fP isn\(aqt given, it will be put in a default location
+If \fBREVMAP\fP isn't given, it will be put in a default location
 (\fB<dest>/.hg/shamap\fP by default). The \fBREVMAP\fP is a simple
 text file that maps each source commit ID to the destination ID
 for that revision, like so:
 .sp
 .nf
-.ft C
+.ft
 <source ID> <destination ID>
-.ft P
+.ft
 .fi
 .sp
-If the file doesn\(aqt exist, it\(aqs automatically created. It\(aqs
-updated on each commit copied, so \%\fBhg convert\fP\: can be interrupted
+If the file doesn't exist, it's automatically created. It's
+updated on each commit copied, so \fBhg convert\fP can be interrupted
 and can be run repeatedly to copy new commits.
 .sp
 The authormap is a simple text file that maps each source commit
@@ -8989,9 +8962,9 @@
 author mapping and the line format is:
 .sp
 .nf
-.ft C
+.ft
 source author = destination author
-.ft P
+.ft
 .fi
 .sp
 Empty lines and lines starting with a \fB#\fP are ignored.
@@ -9001,13 +8974,13 @@
 directives:
 .sp
 .nf
-.ft C
+.ft
 include path/to/file\-or\-dir
 
 exclude path/to/file\-or\-dir
 
 rename path/to/source path/to/destination
-.ft P
+.ft
 .fi
 .sp
 Comment lines start with \fB#\fP. A specified path matches if it
@@ -9040,9 +9013,9 @@
 comma\-separated values:
 .sp
 .nf
-.ft C
+.ft
 key parent1, parent2
-.ft P
+.ft
 .fi
 .sp
 The key is the revision ID in the source
@@ -9062,9 +9035,9 @@
 lines of the form:
 .sp
 .nf
-.ft C
+.ft
 original_branch_name new_branch_name
-.ft P
+.ft
 .fi
 .sp
 where "original_branch_name" is the name of the branch in the
@@ -9076,7 +9049,7 @@
 .sp
 The Mercurial source recognizes the following configuration
 options, which you can set on the command line with \fB\-\-config\fP:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.hg.ignoreerrors
 .
@@ -9093,7 +9066,7 @@
 .B convert.hg.revs
 .
 revset specifying the source revisions to convert.
-.UNINDENT
+.RE
 .SS CVS Source
 .sp
 CVS source will use a sandbox (i.e. a checked\-out copy) from CVS
@@ -9107,7 +9080,7 @@
 sandbox is ignored.
 .sp
 The following options can be used with \fB\-\-config\fP:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.cvsps.cache
 .
@@ -9158,7 +9131,7 @@
 the changesets are calculated from the CVS log. The
 function is passed a list with the changeset entries, and can
 modify the changesets in\-place, or add or delete them.
-.UNINDENT
+.RE
 .sp
 An additional "debugcvsps" Mercurial command allows the builtin
 changeset merging code to be run without doing a conversion. Its
@@ -9178,7 +9151,7 @@
 detection.
 .sp
 The following options can be set with \fB\-\-config\fP:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.svn.branches
 .
@@ -9200,28 +9173,28 @@
 use local time (as determined by the TZ
 environment variable) for changeset date/times. The default
 is False (use UTC).
-.UNINDENT
+.RE
 .sp
 Source history can be retrieved starting at a specific revision,
 instead of being integrally converted. Only single branch
 conversions are supported.
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.svn.startrev
 .
 specify start Subversion revision number.
 The default is 0.
-.UNINDENT
+.RE
 .SS Git Source
 .sp
 The Git importer converts commits from all reachable branches (refs
 in refs/heads) and remotes (refs in refs/remotes) to Mercurial.
 Branches are converted to bookmarks with the same name, with the
-leading \(aqrefs/heads\(aq stripped. Git submodules are converted to Git
+leading 'refs/heads' stripped. Git submodules are converted to Git
 subrepos in Mercurial.
 .sp
 The following options can be set with \fB\-\-config\fP:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.git.similarity
 .
@@ -9229,7 +9202,7 @@
 commit must be to be imported as renames or copies, as a
 percentage between \fB0\fP (disabled) and \fB100\fP (files must be
 identical). For example, \fB90\fP means that a delete/add pair will
-be imported as a rename if more than 90% of the file hasn\(aqt
+be imported as a rename if more than 90% of the file hasn't
 changed. The default is \fB50\fP.
 .TP
 .B convert.git.findcopiesharder
@@ -9238,7 +9211,7 @@
 files in the working copy instead of just changed ones. This
 is very expensive for large projects, and is only effective when
 \fBconvert.git.similarity\fP is greater than 0. The default is False.
-.UNINDENT
+.RE
 .SS Perforce Source
 .sp
 The Perforce (P4) importer can be given a p4 depot path or a
@@ -9250,17 +9223,17 @@
 .sp
 It is possible to limit the amount of source history to be
 converted by specifying an initial Perforce revision:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.p4.startrev
 .
 specify initial Perforce revision (a
 Perforce changelist number).
-.UNINDENT
+.RE
 .SS Mercurial Destination
 .sp
 The following options are supported:
-.INDENT 0.0
+.RS 0
 .TP
 .B convert.hg.clonebranches
 .
@@ -9276,10 +9249,10 @@
 .
 preserve branch names. The default is
 True.
-.UNINDENT
+.RE
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-\-authors \ <FILE>
 .
@@ -9332,7 +9305,7 @@
 .B \-\-closesort
 .
 try to reorder closed revisions
-.UNINDENT
+.RE
 .SS eol
 .sp
 automatically manage newlines in repository files
@@ -9344,7 +9317,7 @@
 .sp
 The extension reads its configuration from a versioned \fB.hgeol\fP
 configuration file found in the root of the working directory. The
-\fB.hgeol\fP file use the same syntax as all other Mercurial
+\fB\&.hgeol\fP file use the same syntax as all other Mercurial
 configuration files. It uses two sections, \fB[patterns]\fP and
 \fB[repository]\fP.
 .sp
@@ -9357,9 +9330,9 @@
 Files with the declared format of \fBCRLF\fP or \fBLF\fP are always
 checked out and stored in the repository in that format and files
 declared to be binary (\fBBIN\fP) are left unchanged. Additionally,
-\fBnative\fP is an alias for checking out in the platform\(aqs default line
+\fBnative\fP is an alias for checking out in the platform's default line
 ending: \fBLF\fP on Unix (including Mac OS X) and \fBCRLF\fP on
-Windows. Note that \fBBIN\fP (do nothing to line endings) is Mercurial\(aqs
+Windows. Note that \fBBIN\fP (do nothing to line endings) is Mercurial's
 default behaviour; it is only needed if you need to override a later,
 more general pattern.
 .sp
@@ -9376,7 +9349,7 @@
 Example versioned \fB.hgeol\fP file:
 .sp
 .nf
-.ft C
+.ft
 [patterns]
 **.py = native
 **.vcproj = CRLF
@@ -9386,7 +9359,7 @@
 
 [repository]
 native = LF
-.ft P
+.ft
 .fi
 .IP Note
 .
@@ -9398,12 +9371,12 @@
 normal Mercurial configuration files and the \fB.hgeol\fP file, with the
 latter overriding the former. You can use that section to control the
 overall behavior. There are three settings:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 \fBeol.native\fP (default \fBos.linesep\fP) can be set to \fBLF\fP or
 \fBCRLF\fP to override the default interpretation of \fBnative\fP for
-checkout. This can be used with \%\fBhg archive\fP\: on Unix, say, to
+checkout. This can be used with \fBhg archive\fP on Unix, say, to
 generate an archive where files have line endings for Windows.
 .IP \(bu 2
 .
@@ -9417,7 +9390,7 @@
 \fBeol.fix\-trailing\-newline\fP (default False) can be set to True to
 ensure that converted files end with a EOL character (either \fB\en\fP
 or \fB\er\en\fP as per the configured patterns).
-.UNINDENT
+.RE
 .sp
 The extension provides \fBcleverencode:\fP and \fBcleverdecode:\fP filters
 like the deprecated win32text extension does. This means that you can
@@ -9433,7 +9406,7 @@
 \fBeol.checkallhook\fP hook. These hooks are best used as
 \fBpretxnchangegroup\fP hooks.
 .sp
-See \%\fBhg help patterns\fP\: for more information about the glob patterns
+See \fBhg help patterns\fP for more information about the glob patterns
 used.
 .SS extdiff
 .sp
@@ -9446,12 +9419,12 @@
 files to compare.
 .sp
 The extdiff extension also allows you to configure new diff commands, so
-you do not need to type \%\fBhg extdiff \-p kdiff3\fP\: always.
+you do not need to type \fBhg extdiff \-p kdiff3\fP always.
 .sp
 .nf
-.ft C
+.ft
 [extdiff]
-# add new command that runs GNU diff(1) in \(aqcontext diff\(aq mode
+# add new command that runs GNU diff(1) in 'context diff' mode
 cdiff = gdiff \-Nprc5
 ## or the old way:
 #cmd.cdiff = gdiff
@@ -9467,20 +9440,20 @@
 # English user, be sure to put "let g:DirDiffDynamicDiffText = 1" in
 # your .vimrc
 vimdiff = gvim \-f "+next" \e
-          "+execute \(aqDirDiff\(aq fnameescape(argv(0)) fnameescape(argv(1))"
-.ft P
+          "+execute 'DirDiff' fnameescape(argv(0)) fnameescape(argv(1))"
+.ft
 .fi
 .sp
 Tool arguments can include variables that are expanded at runtime:
 .sp
 .nf
-.ft C
+.ft
 $parent1, $plabel1 \- filename, descriptive label of first parent
 $child,   $clabel  \- filename, descriptive label of child revision
 $parent2, $plabel2 \- filename, descriptive label of second parent
 $root              \- repository root
 $parent is an alias for $parent1.
-.ft P
+.ft
 .fi
 .sp
 The extdiff extension will look in your [diff\-tools] and [merge\-tools]
@@ -9487,17 +9460,17 @@
 sections for diff tool arguments, when none are specified in [extdiff].
 .sp
 .nf
-.ft C
+.ft
 [extdiff]
 kdiff3 =
 
 [diff\-tools]
-kdiff3.diffargs=\-\-L1 \(aq$plabel1\(aq \-\-L2 \(aq$clabel\(aq $parent $child
-.ft P
+kdiff3.diffargs=\-\-L1 '$plabel1' \-\-L2 '$clabel' $parent $child
+.ft
 .fi
 .sp
 You can use \-I/\-X and list of file or directory names like normal
-\%\fBhg diff\fP\: command. The extdiff extension makes snapshots of only
+\fBhg diff\fP command. The extdiff extension makes snapshots of only
 needed files, so running the external diff program will actually be
 pretty fast (at least faster than having to compare the entire tree).
 .SS Commands
@@ -9506,9 +9479,9 @@
 use external program to diff repository (or selected files):
 .sp
 .nf
-.ft C
+.ft
 hg extdiff [OPT]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Show differences between revisions for the specified files, using
@@ -9527,7 +9500,7 @@
 to its parent.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-p,  \-\-program \ <CMD>
 .
@@ -9552,7 +9525,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS factotum
@@ -9568,9 +9541,9 @@
 By default, keys are specified as:
 .sp
 .nf
-.ft C
+.ft
 proto=pass service=hg prefix=<prefix> user=<username> !password=<password>
-.ft P
+.ft
 .fi
 .sp
 If the factotum extension is unable to read the required key, one will be
@@ -9580,12 +9553,12 @@
 default, these entries are:
 .sp
 .nf
-.ft C
+.ft
 [factotum]
 executable = /bin/auth/factotum
 mountpoint = /mnt/factotum
 service = hg
-.ft P
+.ft
 .fi
 .sp
 The executable entry defines the full path to the factotum binary. The
@@ -9600,9 +9573,9 @@
 pull changes from a remote repository, merge new changes if needed.:
 .sp
 .nf
-.ft C
+.ft
 hg fetch [SOURCE]
-.ft P
+.ft
 .fi
 .sp
 This finds all changes from the repository at the specified path
@@ -9617,12 +9590,12 @@
 the newly pulled changes. Local changes are then merged into the
 pulled changes. To switch the merge order, use \-\-switch\-parent.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV[+]>
 .
@@ -9667,7 +9640,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS gpg
@@ -9679,9 +9652,9 @@
 verify all the signatures there may be for a particular revision:
 .sp
 .nf
-.ft C
+.ft
 hg sigcheck REV
-.ft P
+.ft
 .fi
 .sp
 verify all the signatures there may be for a particular revision
@@ -9690,18 +9663,18 @@
 add a signature for the current or given revision:
 .sp
 .nf
-.ft C
+.ft
 hg sign [OPTION]... [REV]...
-.ft P
+.ft
 .fi
 .sp
 If no revision is given, the parent of the working directory is used,
 or tip if no revision is checked out.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-l,  \-\-local
 .
@@ -9734,15 +9707,15 @@
 .BI \-u,  \-\-user \ <USER>
 .
 record the specified user as committer
-.UNINDENT
+.RE
 .SS sigs
 .sp
 list signed changesets:
 .sp
 .nf
-.ft C
+.ft
 hg sigs
-.ft P
+.ft
 .fi
 .sp
 list signed changesets
@@ -9762,9 +9735,9 @@
 show revision history alongside an ASCII revision graph:
 .sp
 .nf
-.ft C
+.ft
 hg glog [OPTION]... [FILE]
-.ft P
+.ft
 .fi
 .sp
 Print a revision history alongside a revision graph drawn with
@@ -9774,7 +9747,7 @@
 directory.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-f,  \-\-follow
 .
@@ -9863,7 +9836,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS hgcia
@@ -9874,7 +9847,7 @@
 configure it, set the following options in your hgrc:
 .sp
 .nf
-.ft C
+.ft
 [cia]
 # your registered CIA user name
 user = foo
@@ -9906,7 +9879,7 @@
 [web]
 # If you want hyperlinks (optional)
 baseurl = http://server/path/to/repo
-.ft P
+.ft
 .fi
 .SS hgk
 .sp
@@ -9918,19 +9891,18 @@
 .sp
 hgk consists of two parts: a Tcl script that does the displaying and
 querying of information, and an extension to Mercurial named hgk.py,
-which provides hooks for hgk to get information. hgk can be found in
-the contrib directory, and the extension is shipped in the hgext
-repository, and needs to be enabled.
+which provides hooks for hgk to get information.
 .sp
-The \%\fBhg view\fP\: command will launch the hgk Tcl script. For this command
-to work, hgk must be in your search path. Alternately, you can specify
-the path to hgk in your configuration file:
+The \fBhg view\fP command will launch the hgk Tcl script. The script is
+shipped in /usr/demo/mercurial, and hgk needs no configuration to find
+it.  You can specify the path to an alternate hgk in your configuration
+file:
 .sp
 .nf
-.ft C
+.ft
 [hgk]
 path=/location/of/hgk
-.ft P
+.ft
 .fi
 .sp
 hgk can make use of the extdiff extension to visualize revisions.
@@ -9937,10 +9909,10 @@
 Assuming you had already configured extdiff vdiff command, just add:
 .sp
 .nf
-.ft C
+.ft
 [hgk]
 vdiff=vdiff
-.ft P
+.ft
 .fi
 .sp
 Revisions context menu will now display additional entries to fire
@@ -9951,37 +9923,37 @@
 start interactive history viewer:
 .sp
 .nf
-.ft C
+.ft
 hg view [\-l LIMIT] [REVRANGE]
-.ft P
+.ft
 .fi
 .sp
 start interactive history viewer
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-l,  \-\-limit \ <NUM>
 .
 limit number of changes displayed
-.UNINDENT
+.RE
 .SS highlight
 .sp
 syntax highlighting for hgweb (requires Pygments)
 .sp
 It depends on the Pygments syntax highlighting library:
-\%http://pygments.org/\:
+http://pygments.org/
 .sp
 There is a single configuration option:
 .sp
 .nf
-.ft C
+.ft
 [web]
 pygments_style = <style>
-.ft P
+.ft
 .fi
 .sp
-The default is \(aqcolorful\(aq.
+The default is 'colorful'.
 .SS histedit
 .sp
 interactive history editing
@@ -9990,7 +9962,7 @@
 is as follows, assuming the following history:
 .sp
 .nf
-.ft C
+.ft
 @  3[tip]   7c2fd3b9020c   2009\-04\-27 18:04 \-0500   durin42
 |    Add delta
 |
@@ -10002,7 +9974,7 @@
 |
 o  0   d8d2fcd0e319   2009\-04\-27 18:04 \-0500   durin42
      Add alpha
-.ft P
+.ft
 .fi
 .sp
 If you were to run \fBhg histedit c561b4e977df\fP, you would see the following
@@ -10009,7 +9981,7 @@
 file open in your editor:
 .sp
 .nf
-.ft C
+.ft
 pick c561b4e977df Add beta
 pick 030b686bedc4 Add gamma
 pick 7c2fd3b9020c Add delta
@@ -10022,11 +9994,11 @@
 #  p, pick = use commit
 #  e, edit = use commit, but stop for amending
 #  f, fold = use commit, but combine it with the one above
-#  r, roll = like fold, but discard this commit\(aqs description
+#  r, roll = like fold, but discard this commit's description
 #  d, drop = remove commit from history
 #  m, mess = edit message without changing commit content
 #
-.ft P
+.ft
 .fi
 .sp
 In this file, lines beginning with \fB#\fP are ignored. You must specify a rule
@@ -10035,7 +10007,7 @@
 would reorganize the file to look like this:
 .sp
 .nf
-.ft C
+.ft
 pick 030b686bedc4 Add gamma
 pick c561b4e977df Add beta
 fold 7c2fd3b9020c Add delta
@@ -10048,11 +10020,11 @@
 #  p, pick = use commit
 #  e, edit = use commit, but stop for amending
 #  f, fold = use commit, but combine it with the one above
-#  r, roll = like fold, but discard this commit\(aqs description
+#  r, roll = like fold, but discard this commit's description
 #  d, drop = remove commit from history
 #  m, mess = edit message without changing commit content
 #
-.ft P
+.ft
 .fi
 .sp
 At which point you close the editor and \fBhistedit\fP starts working. When you
@@ -10060,21 +10032,21 @@
 those revisions together, offering you a chance to clean up the commit message:
 .sp
 .nf
-.ft C
+.ft
 Add beta
 ***
 Add delta
-.ft P
+.ft
 .fi
 .sp
 Edit the commit message to your liking, then close the editor. For
-this example, let\(aqs assume that the commit message was changed to
+this example, let's assume that the commit message was changed to
 \fBAdd beta and delta.\fP After histedit has run and had a chance to
 remove any old or temporary revisions it needed, the history looks
 like this:
 .sp
 .nf
-.ft C
+.ft
 @  2[tip]   989b4d060121   2009\-04\-27 18:04 \-0500   durin42
 |    Add beta and delta.
 |
@@ -10083,12 +10055,12 @@
 |
 o  0   d8d2fcd0e319   2009\-04\-27 18:04 \-0500   durin42
      Add alpha
-.ft P
+.ft
 .fi
 .sp
 Note that \fBhistedit\fP does \fInot\fP remove any revisions (even its own temporary
 ones) until after it has completed all the editing operations, so it will
-probably perform several strip operations when it\(aqs done. For the above example,
+probably perform several strip operations when it's done. For the above example,
 it had to run strip twice. Strip can be slow depending on a variety of factors,
 so you might need to be a little patient. You can choose to keep the original
 revisions by passing the \fB\-\-keep\fP flag.
@@ -10095,20 +10067,20 @@
 .sp
 The \fBedit\fP operation will drop you back to a command prompt,
 allowing you to edit files freely, or even use \fBhg record\fP to commit
-some changes as a separate commit. When you\(aqre done, any remaining
+some changes as a separate commit. When you're done, any remaining
 uncommitted changes will be committed as well. When done, run \fBhg
-histedit \-\-continue\fP to finish this step. You\(aqll be prompted for a
+histedit \-\-continue\fP to finish this step. You'll be prompted for a
 new commit message, but the default commit message will be the
 original message for the \fBedit\fP ed revision.
 .sp
 The \fBmessage\fP operation will give you a chance to revise a commit
-message without changing the contents. It\(aqs a shortcut for doing
+message without changing the contents. It's a shortcut for doing
 \fBedit\fP immediately followed by \fIhg histedit \-\-continue\(ga\fP.
 .sp
 If \fBhistedit\fP encounters a conflict when moving a revision (while
-handling \fBpick\fP or \fBfold\fP), it\(aqll stop in a similar manner to
-\fBedit\fP with the difference that it won\(aqt prompt you for a commit
-message when done. If you decide at this point that you don\(aqt like how
+handling \fBpick\fP or \fBfold\fP), it'll stop in a similar manner to
+\fBedit\fP with the difference that it won't prompt you for a commit
+message when done. If you decide at this point that you don't like how
 much work it will be to rearrange history, or that you made a mistake,
 you can use \fBhg histedit \-\-abort\fP to abandon the new changes you
 have made and return to the state before you attempted to edit your
@@ -10118,7 +10090,7 @@
 changes, such that we have the following history:
 .sp
 .nf
-.ft C
+.ft
 @  6[tip]   038383181893   2009\-04\-27 18:04 \-0500   stefan
 |    Add theta
 |
@@ -10139,7 +10111,7 @@
 |
 o  0   d8d2fcd0e319   2009\-04\-27 18:04 \-0500   durin42
      Add alpha
-.ft P
+.ft
 .fi
 .sp
 If you run \fBhg histedit \-\-outgoing\fP on the clone then it is the same
@@ -10152,10 +10124,10 @@
 configuration file:
 .sp
 .nf
-.ft C
+.ft
 [histedit]
 linelen = 120      # truncate rule lines at 120 characters
-.ft P
+.ft
 .fi
 .SS Commands
 .SS histedit
@@ -10163,9 +10135,9 @@
 interactively edit changeset history:
 .sp
 .nf
-.ft C
+.ft
 hg histedit ANCESTOR | \-\-outgoing [URL]
-.ft P
+.ft
 .fi
 .sp
 This command edits changesets between ANCESTOR and the parent of
@@ -10173,7 +10145,7 @@
 .sp
 With \-\-outgoing, this edits changesets not found in the
 destination repository. If URL of the destination is omitted, the
-\(aqdefault\-push\(aq (or \(aqdefault\(aq) path will be used.
+\&'default\-push' (or 'default') path will be used.
 .sp
 For safety, this command is aborted, also if there are ambiguous
 outgoing revisions which may confuse users: for example, there are
@@ -10181,7 +10153,7 @@
 .sp
 Use "min(outgoing() and ::.)" or similar revset specification
 instead of \-\-outgoing to specify edit target revision exactly in
-such ambiguous situation. See \%\fBhg help revsets\fP\: for detail about
+such ambiguous situation. See \fBhg help revsets\fP for detail about
 selecting revisions.
 .sp
 Returns 0 on success, 1 if user intervention is required (not only
@@ -10189,7 +10161,7 @@
 conflicts).
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-\-commands \ <FILE>
 .
@@ -10205,7 +10177,7 @@
 .TP
 .B \-k,  \-\-keep
 .
-don\(aqt strip old nodes after edit is complete
+don't strip old nodes after edit is complete
 .TP
 .B \-\-abort
 .
@@ -10222,7 +10194,7 @@
 .BI \-r,  \-\-rev \ <REV[+]>
 .
 first revision to be edited
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS keyword
@@ -10245,7 +10217,7 @@
 Example:
 .sp
 .nf
-.ft C
+.ft
 [keyword]
 # expand keywords in every python file except those matching "x*"
 **.py =
@@ -10254,7 +10226,7 @@
 [keywordset]
 # prefer svn\- over cvs\-like default keywordmaps
 svn = True
-.ft P
+.ft
 .fi
 .IP Note
 .
@@ -10263,11 +10235,11 @@
 .RE
 .sp
 For [keywordmaps] template mapping and expansion demonstration and
-control run \%\fBhg kwdemo\fP\:. See \%\fBhg help templates\fP\: for a list of
+control run \fBhg kwdemo\fP. See \fBhg help templates\fP for a list of
 available templates and filters.
 .sp
 Three additional date template filters are provided:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fButcdate\fP
 .sp
@@ -10280,20 +10252,20 @@
 .B \fBsvnisodate\fP
 .sp
 "2006\-09\-18 08:13:13 \-700 (Mon, 18 Sep 2006)"
-.UNINDENT
+.RE
 .sp
-The default template mappings (view with \%\fBhg kwdemo \-d\fP\:) can be
+The default template mappings (view with \fBhg kwdemo \-d\fP) can be
 replaced with customized keywords and templates. Again, run
-\%\fBhg kwdemo\fP\: to control the results of your configuration changes.
+\fBhg kwdemo\fP to control the results of your configuration changes.
 .sp
-Before changing/disabling active keywords, you must run \%\fBhg kwshrink\fP\:
+Before changing/disabling active keywords, you must run \fBhg kwshrink\fP
 to avoid storing expanded keywords in the change history.
 .sp
 To force expansion after enabling it, or a configuration change, run
-\%\fBhg kwexpand\fP\:.
+\fBhg kwexpand\fP.
 .sp
 Expansions spanning more than one line and incremental expansions,
-like CVS\(aq $Log$, are not supported. A keyword template map "Log =
+like CVS' $Log$, are not supported. A keyword template map "Log =
 {desc}" expands to the first line of the changeset description.
 .SS Commands
 .SS kwdemo
@@ -10301,9 +10273,9 @@
 print [keywordmaps] configuration and an expansion example:
 .sp
 .nf
-.ft C
+.ft
 hg kwdemo [\-d] [\-f RCFILE] [TEMPLATEMAP]...
-.ft P
+.ft
 .fi
 .sp
 Show current, custom, or default keyword template maps and their
@@ -10314,10 +10286,10 @@
 .sp
 Use \-d/\-\-default to disable current configuration.
 .sp
-See \%\fBhg help templates\fP\: for information on templates and filters.
+See \fBhg help templates\fP for information on templates and filters.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-d,  \-\-default
 .
@@ -10326,15 +10298,15 @@
 .BI \-f,  \-\-rcfile \ <FILE>
 .
 read maps from rcfile
-.UNINDENT
+.RE
 .SS kwexpand
 .sp
 expand keywords in the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg kwexpand [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Run after (re)enabling keyword expansion.
@@ -10342,7 +10314,7 @@
 kwexpand refuses to run if given files contain local changes.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-I,  \-\-include \ <PATTERN[+]>
 .
@@ -10351,7 +10323,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS kwfiles
@@ -10359,9 +10331,9 @@
 show files configured for keyword expansion:
 .sp
 .nf
-.ft C
+.ft
 hg kwfiles [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 List which files in the working directory are matched by the
@@ -10371,7 +10343,7 @@
 execution by including only files that are actual candidates for
 expansion.
 .sp
-See \%\fBhg help keyword\fP\: on how to construct patterns both for
+See \fBhg help keyword\fP on how to construct patterns both for
 inclusion and exclusion of files.
 .sp
 With \-A/\-\-all and \-v/\-\-verbose the codes used to show the status
@@ -10378,16 +10350,16 @@
 of files are:
 .sp
 .nf
-.ft C
+.ft
 K = keyword expansion candidate
 k = keyword expansion candidate (not tracked)
 I = ignored
 i = ignored (not tracked)
-.ft P
+.ft
 .fi
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-all
 .
@@ -10408,7 +10380,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS kwshrink
@@ -10416,9 +10388,9 @@
 revert expanded keywords in the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg kwshrink [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Must be run before changing/disabling active keywords.
@@ -10426,7 +10398,7 @@
 kwshrink refuses to run if given files contain local changes.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-I,  \-\-include \ <PATTERN[+]>
 .
@@ -10435,7 +10407,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS largefiles
@@ -10444,10 +10416,10 @@
 .sp
 Large binary files tend to be not very compressible, not very
 diffable, and not at all mergeable. Such files are not handled
-efficiently by Mercurial\(aqs storage format (revlog), which is based on
+efficiently by Mercurial's storage format (revlog), which is based on
 compressed binary deltas; storing large binary files as regular
 Mercurial files wastes bandwidth and disk space and increases
-Mercurial\(aqs memory usage. The largefiles extension addresses these
+Mercurial's memory usage. The largefiles extension addresses these
 problems by adding a centralized client\-server layer on top of
 Mercurial: largefiles live in a \fIcentral store\fP out on the network
 somewhere, and you only fetch the revisions that you need when you
@@ -10459,18 +10431,18 @@
 identified by the SHA\-1 hash of their contents, which is written to
 the standin. largefiles uses that revision ID to get/put largefile
 revisions from/to the central store. This saves both disk space and
-bandwidth, since you don\(aqt need to retrieve all historical revisions
+bandwidth, since you don't need to retrieve all historical revisions
 of large files when you clone or pull.
 .sp
 To start a new repository or add new large binary files, just add
-\-\-large to your \%\fBhg add\fP\: command. For example:
+\-\-large to your \fBhg add\fP command. For example:
 .sp
 .nf
-.ft C
+.ft
 $ dd if=/dev/urandom of=randomdata count=2000
 $ hg add \-\-large randomdata
-$ hg commit \-m \(aqadd randomdata as a largefile\(aq
-.ft P
+$ hg commit \-m 'add randomdata as a largefile'
+.ft
 .fi
 .sp
 When you push a changeset that adds/modifies largefiles to a remote
@@ -10487,8 +10459,8 @@
 copy to the latest pulled revision (and thereby downloading any new
 largefiles).
 .sp
-If you want to pull largefiles you don\(aqt need for update yet, then
-you can use pull with the \fI\-\-lfrev\fP option or the \%\fBhg lfpull\fP\: command.
+If you want to pull largefiles you don't need for update yet, then
+you can use pull with the \fI\-\-lfrev\fP option or the \fBhg lfpull\fP command.
 .sp
 If you know you are pulling from a non\-default location and want to
 download all the largefiles that correspond to the new changesets at
@@ -10507,12 +10479,12 @@
 If you already have large files tracked by Mercurial without the
 largefiles extension, you will need to convert your repository in
 order to benefit from largefiles. This is done with the
-\%\fBhg lfconvert\fP\: command:
+\fBhg lfconvert\fP command:
 .sp
 .nf
-.ft C
+.ft
 $ hg lfconvert \-\-size 10 oldrepo newrepo
-.ft P
+.ft
 .fi
 .sp
 In repositories that already have largefiles in them, any new file
@@ -10522,20 +10494,20 @@
 \-\-lfsize option to the add command (also in megabytes):
 .sp
 .nf
-.ft C
+.ft
 [largefiles]
 minsize = 2
 
 $ hg add \-\-lfsize 2
-.ft P
+.ft
 .fi
 .sp
 The \fBlargefiles.patterns\fP config option allows you to specify a list
-of filename patterns (see \%\fBhg help patterns\fP\:) that should always be
+of filename patterns (see \fBhg help patterns\fP) that should always be
 tracked as largefiles:
 .sp
 .nf
-.ft C
+.ft
 [largefiles]
 patterns =
   *.jpg
@@ -10542,7 +10514,7 @@
   re:.*\e.(png|bmp)$
   library.zip
   content/audio/*
-.ft P
+.ft
 .fi
 .sp
 Files that match one of these patterns will be added as largefiles
@@ -10551,7 +10523,7 @@
 The \fBlargefiles.minsize\fP and \fBlargefiles.patterns\fP config options
 will be ignored for any repositories not already containing a
 largefile. To add the first largefile to a repository, you must
-explicitly do so with the \-\-large flag passed to the \%\fBhg add\fP\:
+explicitly do so with the \-\-large flag passed to the \fBhg add\fP
 command.
 .SS Commands
 .SS lfconvert
@@ -10559,9 +10531,9 @@
 convert a normal repository to a largefiles repository:
 .sp
 .nf
-.ft C
+.ft
 hg lfconvert SOURCE DEST [FILE ...]
-.ft P
+.ft
 .fi
 .sp
 Convert repository SOURCE to a new repository DEST, identical to
@@ -10581,7 +10553,7 @@
 this, the DEST repository can be used without largefiles at all.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-s,  \-\-size \ <SIZE>
 .
@@ -10590,33 +10562,33 @@
 .B \-\-to\-normal
 .
 convert from a largefiles repo to a normal repo
-.UNINDENT
+.RE
 .SS lfpull
 .sp
 pull largefiles for the specified revisions from the specified source:
 .sp
 .nf
-.ft C
+.ft
 hg lfpull \-r REV... [\-e CMD] [\-\-remotecmd CMD] [SOURCE]
-.ft P
+.ft
 .fi
 .sp
 Pull largefiles that are referenced from local changesets but missing
 locally, pulling from a remote repository to the local cache.
 .sp
-If SOURCE is omitted, the \(aqdefault\(aq path will be used.
-See \%\fBhg help urls\fP\: for more information.
+If SOURCE is omitted, the 'default' path will be used.
+See \fBhg help urls\fP for more information.
 .sp
 Some examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 pull largefiles for all branch heads:
 .sp
 .nf
-.ft C
+.ft
 hg lfpull \-r "head() and not closed()"
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -10623,14 +10595,14 @@
 pull largefiles on the default branch:
 .sp
 .nf
-.ft C
+.ft
 hg lfpull \-r "branch(default)"
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <VALUE[+]>
 .
@@ -10647,7 +10619,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS mq
@@ -10661,10 +10633,10 @@
 Known patches are represented as patch files in the .hg/patches
 directory. Applied patches are both patch files and changesets.
 .sp
-Common tasks (use \%\fBhg help command\fP\: for more details):
+Common tasks (use \fBhg help command\fP for more details):
 .sp
 .nf
-.ft C
+.ft
 create new patch                          qnew
 import existing patch                     qimport
 
@@ -10674,7 +10646,7 @@
 add known patch to applied stack          qpush
 remove patch from applied stack           qpop
 refresh contents of top applied patch     qrefresh
-.ft P
+.ft
 .fi
 .sp
 By default, mq will automatically use git patches when required to
@@ -10682,29 +10654,29 @@
 files creations or deletions. This behaviour can be configured with:
 .sp
 .nf
-.ft C
+.ft
 [mq]
 git = auto/keep/yes/no
-.ft P
+.ft
 .fi
 .sp
-If set to \(aqkeep\(aq, mq will obey the [diff] section configuration while
-preserving existing git patches upon qrefresh. If set to \(aqyes\(aq or
-\(aqno\(aq, mq will override the [diff] section and always generate git or
+If set to 'keep', mq will obey the [diff] section configuration while
+preserving existing git patches upon qrefresh. If set to 'yes' or
+\&'no', mq will override the [diff] section and always generate git or
 regular patches, possibly losing data in the second case.
 .sp
 It may be desirable for mq changesets to be kept in the secret phase (see
-\%\fBhg help phases\fP\:), which can be enabled with the following setting:
+\fBhg help phases\fP), which can be enabled with the following setting:
 .sp
 .nf
-.ft C
+.ft
 [mq]
 secret = True
-.ft P
+.ft
 .fi
 .sp
 You will by default be managing a patch queue named "patches". You can
-create other, independent patch queues with the \%\fBhg qqueue\fP\: command.
+create other, independent patch queues with the \fBhg qqueue\fP command.
 .sp
 If the working directory contains uncommitted files, qpush, qpop and
 qgoto abort immediately. If \-f/\-\-force is used, the changes are
@@ -10711,10 +10683,10 @@
 discarded. Setting:
 .sp
 .nf
-.ft C
+.ft
 [mq]
 keepchanges = True
-.ft P
+.ft
 .fi
 .sp
 make them behave as if \-\-keep\-changes were passed, and non\-conflicting
@@ -10729,15 +10701,15 @@
 print the patches already applied:
 .sp
 .nf
-.ft C
+.ft
 hg qapplied [\-1] [\-s] [PATCH]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-1,  \-\-last
 .
@@ -10746,15 +10718,15 @@
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS qclone
 .sp
 clone main and patch repository at same time:
 .sp
 .nf
-.ft C
+.ft
 hg qclone [OPTION]... SOURCE [DEST]
-.ft P
+.ft
 .fi
 .sp
 If source is local, destination will have no patches applied. If
@@ -10767,12 +10739,12 @@
 default. Use \-p <url> to change.
 .sp
 The patch directory must be a nested Mercurial repository, as
-would be created by \%\fBhg init \-\-mq\fP\:.
+would be created by \fBhg init \-\-mq\fP.
 .sp
 Return 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-pull
 .
@@ -10801,21 +10773,21 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .SS qcommit
 .sp
 commit changes in the queue repository (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg qcommit [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
-This command is deprecated; use \%\fBhg commit \-\-mq\fP\: instead.
+This command is deprecated; use \fBhg commit \-\-mq\fP instead.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-addremove
 .
@@ -10868,23 +10840,23 @@
 .B \-S,  \-\-subrepos
 .
 recurse into subrepositories
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: qci
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS qdelete
 .sp
 remove patches from queue:
 .sp
 .nf
-.ft C
+.ft
 hg qdelete [\-k] [PATCH]...
-.ft P
+.ft
 .fi
 .sp
 The patches must not be applied, and at least one patch is required. Exact
@@ -10892,10 +10864,10 @@
 preserved in the patch directory.
 .sp
 To stop managing a patch and move it into permanent history,
-use the \%\fBhg qfinish\fP\: command.
+use the \fBhg qfinish\fP command.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-k,  \-\-keep
 .
@@ -10904,23 +10876,23 @@
 .BI \-r,  \-\-rev \ <REV[+]>
 .
 stop managing a revision (DEPRECATED)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: qremove qrm
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS qdiff
 .sp
 diff of the current patch and subsequent modifications:
 .sp
 .nf
-.ft C
+.ft
 hg qdiff [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Shows a diff which includes the current patch as well as any
@@ -10928,8 +10900,8 @@
 last refresh (thus showing what the current patch would become
 after a qrefresh).
 .sp
-Use \%\fBhg diff\fP\: if you only want to see the changes made since the
-last qrefresh, or \%\fBhg export qtip\fP\: if you want to see changes
+Use \fBhg diff\fP if you only want to see the changes made since the
+last qrefresh, or \fBhg export qtip\fP if you want to see changes
 made by the current patch without including changes made since the
 qrefresh.
 .sp
@@ -10936,7 +10908,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-text
 .
@@ -10993,7 +10965,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS qfinish
@@ -11001,9 +10973,9 @@
 move applied patches into repository history:
 .sp
 .nf
-.ft C
+.ft
 hg qfinish [\-a] [REV]...
-.ft P
+.ft
 .fi
 .sp
 Finishes the specified revisions (corresponding to applied
@@ -11022,20 +10994,20 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-applied
 .
 finish all applied changesets
-.UNINDENT
+.RE
 .SS qfold
 .sp
 fold the named patches into the current patch:
 .sp
 .nf
-.ft C
+.ft
 hg qfold [\-e] [\-k] [\-m TEXT] [\-l FILE] PATCH...
-.ft P
+.ft
 .fi
 .sp
 Patches must not yet be applied. Each patch will be successively
@@ -11051,7 +11023,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-e,  \-\-edit
 .
@@ -11068,21 +11040,21 @@
 .BI \-l,  \-\-logfile \ <FILE>
 .
 read commit message from file
-.UNINDENT
+.RE
 .SS qgoto
 .sp
 push or pop patches until named patch is at top of stack:
 .sp
 .nf
-.ft C
+.ft
 hg qgoto [OPTION]... PATCH
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-keep\-changes
 .
@@ -11095,21 +11067,21 @@
 .B \-\-no\-backup
 .
 do not save backup copies of files
-.UNINDENT
+.RE
 .SS qguard
 .sp
 set or print guards for a patch:
 .sp
 .nf
-.ft C
+.ft
 hg qguard [\-l] [\-n] [PATCH] [\-\- [+GUARD]... [\-GUARD]...]
-.ft P
+.ft
 .fi
 .sp
 Guards control whether a patch can be pushed. A patch with no
 guards is always pushed. A patch with a positive guard ("+foo") is
-pushed only if the \%\fBhg qselect\fP\: command has activated it. A patch with
-a negative guard ("\-foo") is never pushed if the \%\fBhg qselect\fP\: command
+pushed only if the \fBhg qselect\fP command has activated it. A patch with
+a negative guard ("\-foo") is never pushed if the \fBhg qselect\fP command
 has activated it.
 .sp
 With no arguments, print the currently active guards.
@@ -11116,21 +11088,21 @@
 With arguments, set guards for the named patch.
 .IP Note
 .
-Specifying negative guards now requires \(aq\-\-\(aq.
+Specifying negative guards now requires '\-\-'.
 .RE
 .sp
 To set guards on another patch:
 .sp
 .nf
-.ft C
+.ft
 hg qguard other.patch \-\- +2.6.17 \-stable
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-l,  \-\-list
 .
@@ -11139,15 +11111,15 @@
 .B \-n,  \-\-none
 .
 drop all guards
-.UNINDENT
+.RE
 .SS qheader
 .sp
 print the header of the topmost or specified patch:
 .sp
 .nf
-.ft C
+.ft
 hg qheader [PATCH]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
@@ -11156,9 +11128,9 @@
 import a patch or existing changeset:
 .sp
 .nf
-.ft C
+.ft
 hg qimport [\-e] [\-n NAME] [\-f] [\-g] [\-P] [\-r REV]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 The patch is inserted into the series after the last applied
@@ -11179,7 +11151,7 @@
 under mq control). With \-g/\-\-git, patches imported with \-\-rev will
 use the git diff format. See the diffs help topic for information
 on why this is important for preserving rename/copy information
-and permission changes. Use \%\fBhg qfinish\fP\: to remove changesets
+and permission changes. Use \fBhg qfinish\fP to remove changesets
 from mq control.
 .sp
 To import a patch from standard input, pass \- as the patch file.
@@ -11189,15 +11161,15 @@
 To import an existing patch while renaming it:
 .sp
 .nf
-.ft C
+.ft
 hg qimport \-e existing\-patch \-n new\-name
-.ft P
+.ft
 .fi
 .sp
 Returns 0 if import succeeded.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-e,  \-\-existing
 .
@@ -11222,7 +11194,7 @@
 .B \-P,  \-\-push
 .
 qpush after importing
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS qinit
@@ -11230,9 +11202,9 @@
 init a new queue repository (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg qinit [\-c]
-.ft P
+.ft
 .fi
 .sp
 The queue repository is unversioned by default. If
@@ -11241,24 +11213,24 @@
 an unversioned patch repository into a versioned one). You can use
 qcommit to commit changes to this queue repository.
 .sp
-This command is deprecated. Without \-c, it\(aqs implied by other relevant
-commands. With \-c, use \%\fBhg init \-\-mq\fP\: instead.
+This command is deprecated. Without \-c, it's implied by other relevant
+commands. With \-c, use \fBhg init \-\-mq\fP instead.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-c,  \-\-create\-repo
 .
 create queue repository
-.UNINDENT
+.RE
 .SS qnew
 .sp
 create a new patch:
 .sp
 .nf
-.ft C
+.ft
 hg qnew [\-e] [\-m TEXT] [\-l FILE] PATCH [FILE]...
-.ft P
+.ft
 .fi
 .sp
 qnew creates a new patch on top of the currently\-applied patch (if
@@ -11274,7 +11246,7 @@
 .sp
 \-e/\-\-edit, \-m/\-\-message or \-l/\-\-logfile set the patch header as
 well as the commit message. If none is specified, the header is
-empty and the commit message is \(aq[mq]: PATCH\(aq.
+empty and the commit message is '[mq]: PATCH'.
 .sp
 Use the \-g/\-\-git option to keep the patch in the git extended diff
 format. Read the diffs help topic for more information on why this
@@ -11284,7 +11256,7 @@
 Returns 0 on successful creation of a new patch.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-e,  \-\-edit
 .
@@ -11329,7 +11301,7 @@
 .BI \-l,  \-\-logfile \ <FILE>
 .
 read commit message from file
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS qnext
@@ -11337,28 +11309,28 @@
 print the name of the next pushable patch:
 .sp
 .nf
-.ft C
+.ft
 hg qnext [\-s]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS qpop
 .sp
 pop the current patch off the stack:
 .sp
 .nf
-.ft C
+.ft
 hg qpop [\-a] [\-f] [PATCH | INDEX]
-.ft P
+.ft
 .fi
 .sp
 Without argument, pops off the top of the patch stack. If given a
@@ -11373,7 +11345,7 @@
 Return 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-all
 .
@@ -11394,34 +11366,34 @@
 .B \-\-no\-backup
 .
 do not save backup copies of files
-.UNINDENT
+.RE
 .SS qprev
 .sp
 print the name of the preceding applied patch:
 .sp
 .nf
-.ft C
+.ft
 hg qprev [\-s]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS qpush
 .sp
 push the next patch onto the stack:
 .sp
 .nf
-.ft C
+.ft
 hg qpush [\-f] [\-l] [\-a] [\-\-move] [PATCH | INDEX]
-.ft P
+.ft
 .fi
 .sp
 By default, abort if the working directory contains uncommitted
@@ -11432,7 +11404,7 @@
 Return 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-\-keep\-changes
 .
@@ -11469,15 +11441,15 @@
 .B \-\-no\-backup
 .
 do not save backup copies of files
-.UNINDENT
+.RE
 .SS qqueue
 .sp
 manage multiple patch queues:
 .sp
 .nf
-.ft C
+.ft
 hg qqueue [OPTION] [QUEUE]
-.ft P
+.ft
 .fi
 .sp
 Supports switching between different patch queues, as well as creating
@@ -11499,7 +11471,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-l,  \-\-list
 .
@@ -11524,15 +11496,15 @@
 .B \-\-purge
 .
 delete queue, and remove patch dir
-.UNINDENT
+.RE
 .SS qrefresh
 .sp
 update the current patch:
 .sp
 .nf
-.ft C
+.ft
 hg qrefresh [\-I] [\-X] [\-e] [\-m TEXT] [\-l FILE] [\-s] [FILE]...
-.ft P
+.ft
 .fi
 .sp
 If any file patterns are provided, the refreshed patch will
@@ -11554,7 +11526,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-e,  \-\-edit
 .
@@ -11599,7 +11571,7 @@
 .BI \-l,  \-\-logfile \ <FILE>
 .
 read commit message from file
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS qrename
@@ -11607,9 +11579,9 @@
 rename a patch:
 .sp
 .nf
-.ft C
+.ft
 hg qrename PATCH1 [PATCH2]
-.ft P
+.ft
 .fi
 .sp
 With one argument, renames the current patch to PATCH1.
@@ -11616,26 +11588,26 @@
 With two arguments, renames PATCH1 to PATCH2.
 .sp
 Returns 0 on success.
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: qmv
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS qrestore
 .sp
 restore the queue state saved by a revision (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg qrestore [\-d] [\-u] REV
-.ft P
+.ft
 .fi
 .sp
-This command is deprecated, use \%\fBhg rebase\fP\: instead.
+This command is deprecated, use \fBhg rebase\fP instead.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-d,  \-\-delete
 .
@@ -11644,21 +11616,21 @@
 .B \-u,  \-\-update
 .
 update queue working directory
-.UNINDENT
+.RE
 .SS qsave
 .sp
 save current queue state (DEPRECATED):
 .sp
 .nf
-.ft C
+.ft
 hg qsave [\-m TEXT] [\-l FILE] [\-c] [\-n NAME] [\-e] [\-f]
-.ft P
+.ft
 .fi
 .sp
-This command is deprecated, use \%\fBhg rebase\fP\: instead.
+This command is deprecated, use \fBhg rebase\fP instead.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-c,  \-\-copy
 .
@@ -11683,18 +11655,18 @@
 .BI \-l,  \-\-logfile \ <FILE>
 .
 read commit message from file
-.UNINDENT
+.RE
 .SS qselect
 .sp
 set or print guarded patches to push:
 .sp
 .nf
-.ft C
+.ft
 hg qselect [OPTION]... [GUARD]...
-.ft P
+.ft
 .fi
 .sp
-Use the \%\fBhg qguard\fP\: command to set or print guards on patch, then use
+Use the \fBhg qguard\fP command to set or print guards on patch, then use
 qselect to tell mq which guards to use. A patch will be pushed if
 it has no guards or any positive guards match the currently
 selected guard, but will not be pushed if any negative guards
@@ -11701,11 +11673,11 @@
 match the current guard. For example:
 .sp
 .nf
-.ft C
+.ft
 qguard foo.patch \-\- \-stable    (negative guard)
 qguard bar.patch    +stable    (positive guard)
 qselect stable
-.ft P
+.ft
 .fi
 .sp
 This activates the "stable" guard. mq will skip foo.patch (because
@@ -11731,7 +11703,7 @@
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-n,  \-\-none
 .
@@ -11748,21 +11720,21 @@
 .B \-\-reapply
 .
 pop, then reapply patches
-.UNINDENT
+.RE
 .SS qseries
 .sp
 print the entire series file:
 .sp
 .nf
-.ft C
+.ft
 hg qseries [\-ms]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-m,  \-\-missing
 .
@@ -11771,40 +11743,40 @@
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS qtop
 .sp
 print the name of the current patch:
 .sp
 .nf
-.ft C
+.ft
 hg qtop [\-s]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS qunapplied
 .sp
 print the patches not yet applied:
 .sp
 .nf
-.ft C
+.ft
 hg qunapplied [\-1] [\-s] [PATCH]
-.ft P
+.ft
 .fi
 .sp
 Returns 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-1,  \-\-first
 .
@@ -11813,7 +11785,7 @@
 .B \-s,  \-\-summary
 .
 print first line of patch header
-.UNINDENT
+.RE
 .SS notify
 .sp
 hooks for sending email push notifications
@@ -11821,13 +11793,13 @@
 This extension implements hooks to send email notifications when
 changesets are sent from or received by the local repository.
 .sp
-First, enable the extension as explained in \%\fBhg help extensions\fP\:, and
+First, enable the extension as explained in \fBhg help extensions\fP, and
 register the hook you want to run. \fBincoming\fP and \fBchangegroup\fP hooks
 are run when changesets are received, while \fBoutgoing\fP hooks are for
 changesets sent to another repository:
 .sp
 .nf
-.ft C
+.ft
 [hooks]
 # one email for each incoming changeset
 incoming.notify = python:hgext.notify.hook
@@ -11836,7 +11808,7 @@
 
 # one email for all outgoing changesets
 outgoing.notify = python:hgext.notify.hook
-.ft P
+.ft
 .fi
 .sp
 This registers the hooks. To enable notification, subscribers must
@@ -11845,7 +11817,7 @@
 multiple recipients to a single repository:
 .sp
 .nf
-.ft C
+.ft
 [usersubs]
 # key is subscriber email, value is a comma\-separated list of repo patterns
 user@host = pattern
@@ -11853,7 +11825,7 @@
 [reposubs]
 # key is repo pattern, value is a comma\-separated list of subscriber emails
 pattern = user@host
-.ft P
+.ft
 .fi
 .sp
 A \fBpattern\fP is a \fBglob\fP matching the absolute path to a repository,
@@ -11861,10 +11833,10 @@
 present, is separated from the glob by a hash. Example:
 .sp
 .nf
-.ft C
+.ft
 [reposubs]
 */widgets#branch(release) = qa\-team@example.com
-.ft P
+.ft
 .fi
 .sp
 This sends to \fBqa\-team@example.com\fP whenever a changeset on the \fBrelease\fP
@@ -11875,10 +11847,10 @@
 incorporated by reference:
 .sp
 .nf
-.ft C
+.ft
 [notify]
 config = /path/to/subscriptionsfile
-.ft P
+.ft
 .fi
 .sp
 Notifications will not be sent until the \fBnotify.test\fP value is set
@@ -11885,7 +11857,7 @@
 to \fBFalse\fP; see below.
 .sp
 Notifications content can be tweaked with the following configuration entries:
-.INDENT 0.0
+.RS 0
 .TP
 .B notify.test
 .
@@ -11894,8 +11866,8 @@
 .B notify.sources
 .
 Space\-separated list of change sources. Notifications are activated only
-when a changeset\(aqs source is in this list. Sources may be:
-.INDENT 7.0
+when a changeset's source is in this list. Sources may be:
+.RS 7
 .TP
 .B \fBserve\fP
 .sp
@@ -11916,7 +11888,7 @@
 .B \fBbundle\fP
 .sp
 changesets sent via \fBhg unbundle\fP
-.UNINDENT
+.RE
 .sp
 Default: serve.
 .TP
@@ -11959,7 +11931,7 @@
 .TP
 .B notify.maxsubject
 .
-Maximum number of characters in email\(aqs subject line. Default: 67.
+Maximum number of characters in email's subject line. Default: 67.
 .TP
 .B notify.diffstat
 .
@@ -11978,11 +11950,11 @@
 If set, use the committer of the first changeset in a changegroup for
 the "From" field of the notification mail. If not set, take the user
 from the pushing repo.  Default: False.
-.UNINDENT
+.RE
 .sp
 If set, the following entries will also be used to customize the
 notifications:
-.INDENT 0.0
+.RS 0
 .TP
 .B email.from
 .
@@ -11993,7 +11965,7 @@
 .
 Root repository URL to combine with repository paths when making
 references. See also \fBnotify.strip\fP.
-.UNINDENT
+.RE
 .SS pager
 .sp
 browse command output with an external pager
@@ -12001,10 +11973,10 @@
 To set the pager that should be used, set the application variable:
 .sp
 .nf
-.ft C
+.ft
 [pager]
 pager = less \-FRX
-.ft P
+.ft
 .fi
 .sp
 If no pager is set, the pager extensions uses the environment variable
@@ -12014,10 +11986,10 @@
 pager.ignore list:
 .sp
 .nf
-.ft C
+.ft
 [pager]
 ignore = version, help, update
-.ft P
+.ft
 .fi
 .sp
 You can also enable the pager only for certain commands using
@@ -12024,10 +11996,10 @@
 pager.attend. Below is the default list of commands to be paged:
 .sp
 .nf
-.ft C
+.ft
 [pager]
 attend = annotate, cat, diff, export, glog, log, qdiff
-.ft P
+.ft
 .fi
 .sp
 Setting pager.attend to an empty value will cause all commands to be
@@ -12040,13 +12012,13 @@
 existing attend and ignore options and defaults:
 .sp
 .nf
-.ft C
+.ft
 [pager]
 attend\-cat = false
-.ft P
+.ft
 .fi
 .sp
-To ignore global commands like \%\fBhg version\fP\: or \%\fBhg help\fP\:, you have
+To ignore global commands like \fBhg version\fP or \fBhg help\fP, you have
 to specify them in your user configuration file.
 .sp
 The \-\-pager=... option can also be used to control when the pager is
@@ -12062,7 +12034,7 @@
 Each patch email has a Subject line of "[PATCH M of N] ...", using the
 first line of the changeset description as the subject text. The
 message contains two or three body parts:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 The changeset description.
@@ -12071,8 +12043,8 @@
 [Optional] The result of running diffstat on the patch.
 .IP \(bu 2
 .
-The patch itself, as generated by \%\fBhg export\fP\:.
-.UNINDENT
+The patch itself, as generated by \fBhg export\fP.
+.RE
 .sp
 Each message refers to the first in the series using the In\-Reply\-To
 and References headers, so they will show up as a sequence in threaded
@@ -12082,7 +12054,7 @@
 configuration file:
 .sp
 .nf
-.ft C
+.ft
 [email]
 from = My Name <my@email>
 to = recipient1, recipient2, ...
@@ -12089,13 +12061,13 @@
 cc = cc1, cc2, ...
 bcc = bcc1, bcc2, ...
 reply\-to = address1, address2, ...
-.ft P
+.ft
 .fi
 .sp
 Use \fB[patchbomb]\fP as configuration section name if you need to
 override global \fB[email]\fP address settings.
 .sp
-Then you can use the \%\fBhg email\fP\: command to mail a series of
+Then you can use the \fBhg email\fP command to mail a series of
 changesets as a patchbomb.
 .sp
 You can also either configure the method option in the email section
@@ -12109,12 +12081,12 @@
 overwritten by command line flags like \-\-intro and \-\-desc:
 .sp
 .nf
-.ft C
+.ft
 [patchbomb]
 intro=auto   # include introduction message if more than 1 patch (default)
 intro=never  # never include an introduction message
 intro=always # always include an introduction message
-.ft P
+.ft
 .fi
 .sp
 You can set patchbomb to always ask for confirmation by setting
@@ -12125,13 +12097,13 @@
 send changesets by email:
 .sp
 .nf
-.ft C
+.ft
 hg email [OPTION]... [DEST]...
-.ft P
+.ft
 .fi
 .sp
 By default, diffs are sent in the format generated by
-\%\fBhg export\fP\:, one per message. The series starts with a "[PATCH 0
+\fBhg export\fP, one per message. The series starts with a "[PATCH 0
 of N]" introduction, which describes the series as a whole.
 .sp
 Each patch email has a Subject line of "[PATCH M of N] ...", using
@@ -12142,7 +12114,7 @@
 With the \-d/\-\-diffstat option, if the diffstat program is
 installed, the result of running diffstat on the patch is inserted.
 .sp
-Finally, the patch itself, as generated by \%\fBhg export\fP\:.
+Finally, the patch itself, as generated by \fBhg export\fP.
 .sp
 With the \-d/\-\-diffstat or \-\-confirm options, you will be presented
 with a final summary of all messages and asked for confirmation before
@@ -12180,12 +12152,12 @@
 introductory message in \fB.hg/last\-email.txt\fP.
 .sp
 The default behavior of this command can be customized through
-configuration. (See \%\fBhg help patchbomb\fP\: for details)
+configuration. (See \fBhg help patchbomb\fP for details)
 .sp
 Examples:
 .sp
 .nf
-.ft C
+.ft
 hg email \-r 3000          # send patch 3000 only
 hg email \-r 3000 \-r 3001  # send patches 3000 and 3001
 hg email \-r 3000:3005     # send patches 3000 through 3005
@@ -12206,7 +12178,7 @@
 hg email \-o \-m mbox &&    # generate an mbox file ...
   formail \-s sendmail \e   # ... and use formail to send from the mbox
     \-bm \-t < mbox         # ... using sendmail
-.ft P
+.ft
 .fi
 .sp
 Before using this command, you will need to enable email in your
@@ -12213,7 +12185,7 @@
 hgrc. See the [email] section in hgrc(5) for details.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-g,  \-\-git
 .
@@ -12330,7 +12302,7 @@
 .B \-\-insecure
 .
 do not verify server certificate (ignoring web.cacerts config)
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS progress
@@ -12345,7 +12317,7 @@
 The following settings are available:
 .sp
 .nf
-.ft C
+.ft
 [progress]
 delay = 3 # number of seconds (float) before showing the progress bar
 changedelay = 1 # changedelay: minimum delay before showing a new topic.
@@ -12355,11 +12327,11 @@
 format = topic bar number estimate # format of the progress bar
 width = <none> # if set, the maximum width of the progress information
                # (that is, min(width, term width) will be used)
-clear\-complete = True # clear the progress bar after it\(aqs done
-disable = False # if true, don\(aqt show a progress bar
+clear\-complete = True # clear the progress bar after it's done
+disable = False # if true, don't show a progress bar
 assume\-tty = False # if true, ALWAYS show a progress bar, unless
                    # disable is given
-.ft P
+.ft
 .fi
 .sp
 Valid entries for the format field are topic, bar, number, unit,
@@ -12376,9 +12348,9 @@
 removes files not tracked by Mercurial:
 .sp
 .nf
-.ft C
+.ft
 hg purge [OPTION]... [DIR]...
-.ft P
+.ft
 .fi
 .sp
 Delete files not known to Mercurial. This is useful to test local
@@ -12385,18 +12357,18 @@
 and uncommitted changes in an otherwise\-clean source tree.
 .sp
 This means that purge will delete the following by default:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
-Unknown files: files marked with "?" by \%\fBhg status\fP\:
+Unknown files: files marked with "?" by \fBhg status\fP
 .IP \(bu 2
 .
 Empty directories: in fact Mercurial ignores directories unless
 they contain files under source control management
-.UNINDENT
+.RE
 .sp
 But it will leave untouched:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Modified and unmodified tracked files
@@ -12405,8 +12377,8 @@
 Ignored files (unless \-\-all is specified)
 .IP \(bu 2
 .
-New files added to the repository (with \%\fBhg add\fP\:)
-.UNINDENT
+New files added to the repository (with \fBhg add\fP)
+.RE
 .sp
 The \-\-files and \-\-dirs options can be used to direct purge to delete
 only files, only directories, or both. If neither option is given,
@@ -12421,7 +12393,7 @@
 option.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-abort\-on\-err
 .
@@ -12454,15 +12426,15 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 aliases: clean
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .SS rebase
 .sp
 command to move sets of revisions to a different ancestor
@@ -12471,7 +12443,7 @@
 repository.
 .sp
 For more information:
-\%http://mercurial.selenic.com/wiki/RebaseExtension\:
+http://mercurial.selenic.com/wiki/RebaseExtension
 .SS Commands
 .SS rebase
 .sp
@@ -12478,9 +12450,9 @@
 move changeset (and descendants) to a different branch:
 .sp
 .nf
-.ft C
+.ft
 hg rebase [\-s REV | \-b REV] [\-d REV] [OPTION]
-.ft P
+.ft
 .fi
 .sp
 Rebase uses repeated merging to graft changesets from one part of
@@ -12494,9 +12466,9 @@
 pulling in your rebased changesets.
 .sp
 In its default configuration, Mercurial will prevent you from
-rebasing published changes. See \%\fBhg help phases\fP\: for details.
+rebasing published changes. See \fBhg help phases\fP for details.
 .sp
-If you don\(aqt specify a destination changeset (\fB\-d/\-\-dest\fP),
+If you don't specify a destination changeset (\fB\-d/\-\-dest\fP),
 rebase uses the current branch tip as the destination. (The
 destination changeset is not modified by rebasing, but new
 changesets are added as its descendants.)
@@ -12528,7 +12500,7 @@
 and source branch is that, unlike \fBmerge\fP, rebase will do
 nothing if you are at the branch tip of a named branch
 with two heads. You need to explicitly specify source and/or
-destination (or \fBupdate\fP to the other head, if it\(aqs the head of
+destination (or \fBupdate\fP to the other head, if it's the head of
 the intended source branch).
 .sp
 If a rebase is interrupted to manually resolve a merge, it can be
@@ -12535,7 +12507,7 @@
 continued with \-\-continue/\-c or aborted with \-\-abort/\-a.
 .sp
 Examples:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 move "local changes" (current commit back to branching point)
@@ -12542,9 +12514,9 @@
 to the current branch tip after a pull:
 .sp
 .nf
-.ft C
+.ft
 hg rebase
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -12551,9 +12523,9 @@
 move a single changeset to the stable branch:
 .sp
 .nf
-.ft C
+.ft
 hg rebase \-r 5f493448 \-d stable
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -12560,9 +12532,9 @@
 splice a commit and all its descendants onto another part of history:
 .sp
 .nf
-.ft C
+.ft
 hg rebase \-\-source c0c3 \-\-dest 4cf9
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -12570,9 +12542,9 @@
 default branch:
 .sp
 .nf
-.ft C
+.ft
 hg rebase \-\-base myfeature \-\-dest default
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -12579,9 +12551,9 @@
 collapse a sequence of changes into a single commit:
 .sp
 .nf
-.ft C
+.ft
 hg rebase \-\-collapse \-r 1520:1525 \-d .
-.ft P
+.ft
 .fi
 .IP \(bu 2
 .
@@ -12588,17 +12560,17 @@
 move a named branch while preserving its name:
 .sp
 .nf
-.ft C
+.ft
 hg rebase \-r "branch(featureX)" \-d 1.3 \-\-keepbranches
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 Returns 0 on success, 1 if nothing to rebase or there are
 unresolved conflicts.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-s,  \-\-source \ <REV>
 .
@@ -12667,7 +12639,7 @@
 .BI \-T,  \-\-template \ <TEMPLATE>
 .
 display with template
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS record
@@ -12679,12 +12651,12 @@
 interactively record a new patch:
 .sp
 .nf
-.ft C
+.ft
 hg qrecord [OPTION]... PATCH [FILE]...
-.ft P
+.ft
 .fi
 .sp
-See \%\fBhg help qnew\fP\: & \%\fBhg help record\fP\: for more information and
+See \fBhg help qnew\fP & \fBhg help record\fP for more information and
 usage.
 .SS record
 .sp
@@ -12691,15 +12663,15 @@
 interactively select changes to commit:
 .sp
 .nf
-.ft C
+.ft
 hg record [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
-If a list of files is omitted, all changes reported by \%\fBhg status\fP\:
+If a list of files is omitted, all changes reported by \fBhg status\fP
 will be candidates for recording.
 .sp
-See \%\fBhg help dates\fP\: for a list of formats valid for \-d/\-\-date.
+See \fBhg help dates\fP for a list of formats valid for \-d/\-\-date.
 .sp
 You will be prompted for whether to record changes to each
 modified file, and for files with multiple changes, for each
@@ -12707,7 +12679,7 @@
 possible:
 .sp
 .nf
-.ft C
+.ft
 y \- record this change
 n \- skip this change
 e \- edit this change manually
@@ -12720,13 +12692,13 @@
 q \- quit, recording no changes
 
 ? \- display help
-.ft P
+.ft
 .fi
 .sp
 This command is not available when committing a merge.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-addremove
 .
@@ -12787,7 +12759,7 @@
 .B \-B,  \-\-ignore\-blank\-lines
 .
 ignore changes whose lines are all blank
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS relink
@@ -12799,9 +12771,9 @@
 recreate hardlinks between two repositories:
 .sp
 .nf
-.ft C
+.ft
 hg relink [ORIGIN]
-.ft P
+.ft
 .fi
 .sp
 When repositories are cloned locally, their data files will be
@@ -12833,18 +12805,18 @@
 lot of repositories to act like a scheme, for example:
 .sp
 .nf
-.ft C
+.ft
 [schemes]
 py = http://code.python.org/hg/
-.ft P
+.ft
 .fi
 .sp
 After that you can use it like:
 .sp
 .nf
-.ft C
+.ft
 hg clone py://trunk/
-.ft P
+.ft
 .fi
 .sp
 Additionally there is support for some more complex schemas, for
@@ -12851,10 +12823,10 @@
 example used by Google Code:
 .sp
 .nf
-.ft C
+.ft
 [schemes]
 gcode = http://{1}.googlecode.com/hg/
-.ft P
+.ft
 .fi
 .sp
 The syntax is taken from Mercurial templates, and you have unlimited
@@ -12866,7 +12838,7 @@
 For convenience, the extension adds these schemes by default:
 .sp
 .nf
-.ft C
+.ft
 [schemes]
 py = http://hg.python.org/
 bb = https://bitbucket.org/
@@ -12873,7 +12845,7 @@
 bb+ssh = ssh://hg@bitbucket.org/
 gcode = https://{1}.googlecode.com/hg/
 kiln = https://{1}.kilnhg.com/Repo/
-.ft P
+.ft
 .fi
 .sp
 You can override a predefined scheme by defining a new scheme with the
@@ -12887,9 +12859,9 @@
 create a new shared repository:
 .sp
 .nf
-.ft C
+.ft
 hg share [\-U] [\-B] SOURCE [DEST]
-.ft P
+.ft
 .fi
 .sp
 Initialize a new repository and working directory that shares its
@@ -12907,7 +12879,7 @@
 .RE
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-U,  \-\-noupdate
 .
@@ -12916,15 +12888,15 @@
 .B \-B,  \-\-bookmarks
 .
 also share bookmarks
-.UNINDENT
+.RE
 .SS unshare
 .sp
 convert a shared repository to a normal one:
 .sp
 .nf
-.ft C
+.ft
 hg unshare
-.ft P
+.ft
 .fi
 .sp
 Copy the store data to the repo and remove the sharedpath data.
@@ -12938,7 +12910,7 @@
 .sp
 Later on, the "hg unshelve" command restores the changes saved by "hg
 shelve". Changes can be restored even after updating to a different
-parent, in which case Mercurial\(aqs merge machinery will resolve any
+parent, in which case Mercurial's merge machinery will resolve any
 conflicts if necessary.
 .sp
 You can have more than one shelved change outstanding at a time; each
@@ -12950,9 +12922,9 @@
 save and set aside changes from the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg shelve [OPTION]... [FILE]...
-.ft P
+.ft
 .fi
 .sp
 Shelving takes files that "hg status" reports as not clean, saves
@@ -12980,7 +12952,7 @@
 all shelved changes, use \fB\-\-cleanup\fP.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-A,  \-\-addremove
 .
@@ -13033,7 +13005,7 @@
 .BI \-X,  \-\-exclude \ <PATTERN[+]>
 .
 exclude names matching the given patterns
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS unshelve
@@ -13041,9 +13013,9 @@
 restore a shelved change to the working directory:
 .sp
 .nf
-.ft C
+.ft
 hg unshelve [SHELVED]
-.ft P
+.ft
 .fi
 .sp
 This command accepts an optional name of a shelved change to
@@ -13064,7 +13036,7 @@
 does not delete the bundle.)
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .B \-a,  \-\-abort
 .
@@ -13081,7 +13053,7 @@
 .BI \-\-date \ <DATE>
 .
 set date for temporary commits (DEPRECATED)
-.UNINDENT
+.RE
 .SS strip
 .sp
 strip changesets and their descendants from history
@@ -13094,9 +13066,9 @@
 strip changesets and all their descendants from the repository:
 .sp
 .nf
-.ft C
+.ft
 hg strip [\-k] [\-f] [\-n] [\-B bookmark] [\-r] REV...
-.ft P
+.ft
 .fi
 .sp
 The strip command removes the specified changesets and all their
@@ -13110,8 +13082,8 @@
 completes.
 .sp
 Any stripped changesets are stored in \fB.hg/strip\-backup\fP as a
-bundle (see \%\fBhg help bundle\fP\: and \%\fBhg help unbundle\fP\:). They can
-be restored by running \%\fBhg unbundle .hg/strip\-backup/BUNDLE\fP\:,
+bundle (see \fBhg help bundle\fP and \fBhg help unbundle\fP). They can
+be restored by running \fBhg unbundle .hg/strip\-backup/BUNDLE\fP,
 where BUNDLE is the bundle file created by the strip. Note that
 the local revision numbers will in general be different after the
 restore.
@@ -13126,7 +13098,7 @@
 Return 0 on success.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-r,  \-\-rev \ <REV[+]>
 .
@@ -13155,7 +13127,7 @@
 .BI \-B,  \-\-bookmark \ <VALUE>
 .
 remove revs only reachable from given bookmark
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS transplant
@@ -13163,7 +13135,7 @@
 command to transplant changesets from another branch
 .sp
 This extension allows you to transplant changes to another parent revision,
-possibly in another repository. The transplant is done using \(aqdiff\(aq patches.
+possibly in another repository. The transplant is done using 'diff' patches.
 .sp
 Transplanted patches are recorded in .hg/transplant/transplants, as a
 map from a changeset hash to its hash in the source repository.
@@ -13173,9 +13145,9 @@
 transplant changesets from another branch:
 .sp
 .nf
-.ft C
+.ft
 hg transplant [\-s REPO] [\-b BRANCH [\-a]] [\-p REV] [\-m REV] [REV]...
-.ft P
+.ft
 .fi
 .sp
 Selected changesets will be applied on top of the current working
@@ -13192,9 +13164,9 @@
 of the form:
 .sp
 .nf
-.ft C
+.ft
 (transplanted from CHANGESETHASH)
-.ft P
+.ft
 .fi
 .sp
 You can rewrite the changelog message with the \-\-filter option.
@@ -13210,17 +13182,17 @@
 with \-\-branch will be transplanted.
 .sp
 Example:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 transplant all changes up to REV on top of your current revision:
 .sp
 .nf
-.ft C
+.ft
 hg transplant \-\-branch REV \-\-all
-.ft P
+.ft
 .fi
-.UNINDENT
+.RE
 .sp
 You can optionally mark selected transplanted changesets as merge
 changesets. You will not be prompted to transplant any ancestors
@@ -13228,17 +13200,17 @@
 normally instead of transplanting them.
 .sp
 Merge changesets may be transplanted directly by specifying the
-proper parent changeset by calling \%\fBhg transplant \-\-parent\fP\:.
+proper parent changeset by calling \fBhg transplant \-\-parent\fP.
 .sp
-If no merges or revisions are provided, \%\fBhg transplant\fP\: will
+If no merges or revisions are provided, \fBhg transplant\fP will
 start an interactive changeset browser.
 .sp
 If a changeset application fails, you can fix the merge by hand
-and then resume where you left off by calling \%\fBhg transplant
-\-\-continue/\-c\fP\:.
+and then resume where you left off by calling \fBhg transplant
+\-\-continue/\-c\fP.
 .sp
 Options:
-.INDENT 0.0
+.RS 0
 .TP
 .BI \-s,  \-\-source \ <REPO>
 .
@@ -13279,7 +13251,7 @@
 .BI \-\-filter \ <CMD>
 .
 filter changesets through command
-.UNINDENT
+.RE
 .sp
 [+] marked option can be specified multiple times
 .SS win32mbcs
@@ -13294,7 +13266,7 @@
 operation.
 .sp
 This extension is useful for:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Japanese Windows users using shift_jis encoding.
@@ -13305,10 +13277,10 @@
 .
 All users who use a repository with one of problematic encodings on
 case\-insensitive file system.
-.UNINDENT
+.RE
 .sp
 This extension is not needed for:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 Any user who use only ASCII chars in path.
@@ -13315,10 +13287,10 @@
 .IP \(bu 2
 .
 Any user who do not use any of problematic encodings.
-.UNINDENT
+.RE
 .sp
 Note that there are some limitations on using this extension:
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
 You should use single encoding in one repository.
@@ -13328,16 +13300,16 @@
 .IP \(bu 2
 .
 win32mbcs is not compatible with fixutf8 extension.
-.UNINDENT
+.RE
 .sp
 By default, win32mbcs uses encoding.encoding decided by Mercurial.
 You can specify the encoding by config option:
 .sp
 .nf
-.ft C
+.ft
 [win32mbcs]
 encoding = sjis
-.ft P
+.ft
 .fi
 .sp
 It is useful for the users who want to commit with UTF\-8 log message.
@@ -13344,8 +13316,8 @@
 .SS win32text
 .sp
 perform automatic newline conversion (DEPRECATED)
-.INDENT 0.0
-.INDENT 3.5
+.RS 0
+.RS 3
 .sp
 Deprecation: The win32text extension requires each user to configure
 the extension again and again for each clone since the configuration
@@ -13354,13 +13326,13 @@
 We have therefore made the \fBeol\fP as an alternative. The \fBeol\fP
 uses a version controlled file for its configuration and each clone
 will therefore use the right settings from the start.
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .sp
 To perform automatic newline conversion, use:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
 win32text =
 [encode]
@@ -13370,17 +13342,17 @@
 [decode]
 ** = cleverdecode:
 # or ** = macdecode:
-.ft P
+.ft
 .fi
 .sp
 If not doing conversion, to make sure you do not commit CRLF/CR by accident:
 .sp
 .nf
-.ft C
+.ft
 [hooks]
 pretxncommit.crlf = python:hgext.win32text.forbidcrlf
 # or pretxncommit.cr = python:hgext.win32text.forbidcr
-.ft P
+.ft
 .fi
 .sp
 To do the same check on a server to prevent CRLF/CR from being
@@ -13387,11 +13359,11 @@
 pushed or pulled:
 .sp
 .nf
-.ft C
+.ft
 [hooks]
 pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
 # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr
-.ft P
+.ft
 .fi
 .SS zeroconf
 .sp
@@ -13402,33 +13374,33 @@
 without knowing their actual IP address.
 .sp
 To allow other people to discover your repository using run
-\%\fBhg serve\fP\: in your repository:
+\fBhg serve\fP in your repository:
 .sp
 .nf
-.ft C
+.ft
 $ cd test
 $ hg serve
-.ft P
+.ft
 .fi
 .sp
 You can discover Zeroconf\-enabled repositories by running
-\%\fBhg paths\fP\::
+\fBhg paths\fP:
 .sp
 .nf
-.ft C
+.ft
 $ hg paths
 zc\-test = http://example.com:8000/test
-.ft P
+.ft
 .fi
 .SH FILES
-.INDENT 0.0
+.RS 0
 .TP
 .B \fB/etc/mercurial/hgrc\fP, \fB$HOME/.hgrc\fP, \fB.hg/hgrc\fP
 .sp
 This file contains defaults and configuration. Values in
-\fB.hg/hgrc\fP override those in \fB$HOME/.hgrc\fP, and these override
+\fB\&.hg/hgrc\fP override those in \fB$HOME/.hgrc\fP, and these override
 settings made in the global \fB/etc/mercurial/hgrc\fP configuration.
-See \%\fBhgrc\fP(5)\: for details of the contents and format of these
+See \fBhgrc\fP(5) for details of the contents and format of these
 files.
 .TP
 .B \fB.hgignore\fP
@@ -13435,13 +13407,13 @@
 .sp
 This file contains regular expressions (one per line) that
 describe file names that should be ignored by \fBhg\fP. For details,
-see \%\fBhgignore\fP(5)\:.
+see \fBhgignore\fP(5).
 .TP
 .B \fB.hgsub\fP
 .sp
 This file defines the locations of all subrepositories, and
 tells where the subrepository checkouts came from. For details, see
-\%\fBhg help subrepos\fP\:.
+\fBhg help subrepos\fP.
 .TP
 .B \fB.hgsubstate\fP
 .sp
@@ -13456,7 +13428,7 @@
 .TP
 .B \fB.hg/last\-message.txt\fP
 .sp
-This file is used by \%\fBhg commit\fP\: to store a backup of the commit message
+This file is used by \fBhg commit\fP to store a backup of the commit message
 in case the commit fails.
 .TP
 .B \fB.hg/localtags\fP
@@ -13464,28 +13436,34 @@
 This file can be used to define local tags which are not shared among
 repositories. The file format is the same as for \fB.hgtags\fP, but it is
 encoded using the local system encoding.
-.UNINDENT
+.TP
+.B \fB/usr/demo/mercurial\fP
 .sp
+This directory contains assorted files which are part of the Mercurial
+distribution, but not core to its functionality.  They will generally
+need to be copied elsewhere to be of use.
+.RE
+.sp
 Some commands (e.g. revert) produce backup files ending in \fB.orig\fP,
 if the \fB.orig\fP file already exists and is not tracked by Mercurial,
 it will be overwritten.
 .SH BUGS
 .sp
-Probably lots, please post them to the mailing list (see \%Resources\:
+Probably lots, please post them to the mailing list (see Resources
 below) when you find them.
 .SH SEE ALSO
 .sp
-\%\fBhgignore\fP(5)\:, \%\fBhgrc\fP(5)\:
+\fBhgignore\fP(5), \fBhgrc\fP(5)
 .SH AUTHOR
 .sp
-Written by Matt Mackall <\%mpm@selenic.com\:>
+Written by Matt Mackall <mpm@selenic.com>
 .SH RESOURCES
 .sp
-Main Web Site: \%http://mercurial.selenic.com/\:
+Main Web Site: http://mercurial.selenic.com/
 .sp
-Source code repository: \%http://selenic.com/hg\:
+Source code repository: http://selenic.com/hg
 .sp
-Mailing list: \%http://selenic.com/mailman/listinfo/mercurial\:
+Mailing list: http://selenic.com/mailman/listinfo/mercurial
 .SH COPYING
 .sp
 Copyright (C) 2005\-2015 Matt Mackall.
--- mercurial-3.4/doc/hgignore.5.orig	Fri May  1 14:49:19 2015
+++ mercurial-3.4/doc/hgignore.5	Mon May  4 14:57:28 2015
@@ -3,33 +3,6 @@
 .TH HGIGNORE 5 "" "" "Mercurial Manual"
 .SH NAME
 hgignore \- syntax for Mercurial ignore files
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
 .SH SYNOPSIS
 .sp
 The Mercurial system uses a file called \fB.hgignore\fP in the root
@@ -55,16 +28,16 @@
 .sp
 In addition, a Mercurial configuration file can reference a set of
 per\-user or global ignore files. See the \fBignore\fP configuration
-key on the \fB[ui]\fP section of \%\fBhg help config\fP\: for details of how to
+key on the \fB[ui]\fP section of \fBhg help config\fP for details of how to
 configure these files.
 .sp
-To control Mercurial\(aqs handling of files that it manages, many
+To control Mercurial's handling of files that it manages, many
 commands support the \fB\-I\fP and \fB\-X\fP options; see
-\%\fBhg help <command>\fP\: and \%\fBhg help patterns\fP\: for details.
+\fBhg help <command>\fP and \fBhg help patterns\fP for details.
 .sp
 Files that are already tracked are not affected by .hgignore, even
 if they appear in .hgignore. An untracked file X can be explicitly
-added with \%\fBhg add X\fP\:, even if X would be excluded by a pattern
+added with \fBhg add X\fP, even if X would be excluded by a pattern
 in .hgignore.
 .SH SYNTAX
 .sp
@@ -79,13 +52,13 @@
 To change the syntax used, use a line of the following form:
 .sp
 .nf
-.ft C
+.ft
 syntax: NAME
-.ft P
+.ft
 .fi
 .sp
 where \fBNAME\fP is one of the following:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBregexp\fP
 .sp
@@ -94,7 +67,7 @@
 .B \fBglob\fP
 .sp
 Shell\-style glob.
-.UNINDENT
+.RE
 .sp
 The chosen syntax stays in effect when parsing all patterns that
 follow, until another syntax is selected.
@@ -106,7 +79,7 @@
 .IP Note
 .
 Patterns specified in other than \fB.hgignore\fP are always rooted.
-Please see \%\fBhg help patterns\fP\: for details.
+Please see \fBhg help patterns\fP for details.
 .RE
 .SH EXAMPLE
 .sp
@@ -113,7 +86,7 @@
 Here is an example ignore file.
 .sp
 .nf
-.ft C
+.ft
 # use glob syntax.
 syntax: glob
 
@@ -124,16 +97,16 @@
 # switch to regexp syntax.
 syntax: regexp
 ^\e.pc/
-.ft P
+.ft
 .fi
 .SH AUTHOR
 .sp
-Vadim Gelfer <\%vadim.gelfer@gmail.com\:>
+Vadim Gelfer <vadim.gelfer@gmail.com>
 .sp
-Mercurial was written by Matt Mackall <\%mpm@selenic.com\:>.
+Mercurial was written by Matt Mackall <mpm@selenic.com>.
 .SH SEE ALSO
 .sp
-\%\fBhg\fP(1)\:, \%\fBhgrc\fP(5)\:
+\fBhg\fP(1), \fBhgrc\fP(5)
 .SH COPYING
 .sp
 This manual page is copyright 2006 Vadim Gelfer.
--- mercurial-3.4/doc/hgrc.5.orig	Fri May  1 14:49:20 2015
+++ mercurial-3.4/doc/hgrc.5	Mon May  4 14:57:32 2015
@@ -3,33 +3,6 @@
 .TH HGRC 5 "" "" "Mercurial Manual"
 .SH NAME
 hgrc \- configuration files for Mercurial
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
 .SH DESCRIPTION
 .sp
 The Mercurial system uses a set of configuration files to control
@@ -40,11 +13,11 @@
 by \fBname = value\fP entries:
 .sp
 .nf
-.ft C
+.ft
 [ui]
 username = Firstname Lastname <firstname.lastname@example.net>
 verbose = True
-.ft P
+.ft
 .fi
 .sp
 The above entries will be referred to as \fBui.username\fP and
@@ -54,8 +27,7 @@
 Mercurial reads configuration data from several files, if they exist.
 These files do not exist by default and you will have to create the
 appropriate configuration files yourself: global configuration like
-the username setting is typically put into
-\fB%USERPROFILE%\emercurial.ini\fP or \fB$HOME/.hgrc\fP and local
+the username setting is typically put into \fB$HOME/.hgrc\fP and local
 configuration is put into the per\-repository \fB<repo>/.hg/hgrc\fP file.
 .sp
 The names of these files depend on the system on which Mercurial is
@@ -64,8 +36,8 @@
 paths are given below, settings from earlier paths override later
 ones.
 .sp
-On Unix, the following files are consulted:
-.INDENT 0.0
+The following files are consulted:
+.RS 0
 .IP \(bu 2
 .
 \fB<repo>/.hg/hgrc\fP (per\-repository)
@@ -87,79 +59,18 @@
 .IP \(bu 2
 .
 \fB<internal>/default.d/*.rc\fP (defaults)
-.UNINDENT
-.sp
-On Windows, the following files are consulted:
-.INDENT 0.0
-.IP \(bu 2
-.
-\fB<repo>/.hg/hgrc\fP (per\-repository)
-.IP \(bu 2
-.
-\fB%USERPROFILE%\e.hgrc\fP (per\-user)
-.IP \(bu 2
-.
-\fB%USERPROFILE%\eMercurial.ini\fP (per\-user)
-.IP \(bu 2
-.
-\fB%HOME%\e.hgrc\fP (per\-user)
-.IP \(bu 2
-.
-\fB%HOME%\eMercurial.ini\fP (per\-user)
-.IP \(bu 2
-.
-\fB<install\-dir>\eMercurial.ini\fP (per\-installation)
-.IP \(bu 2
-.
-\fB<install\-dir>\ehgrc.d\e*.rc\fP (per\-installation)
-.IP \(bu 2
-.
-\fBHKEY_LOCAL_MACHINE\eSOFTWARE\eMercurial\fP (per\-installation)
-.IP \(bu 2
-.
-\fB<internal>/default.d/*.rc\fP (defaults)
-.UNINDENT
-.IP Note
-.
-The registry key \fBHKEY_LOCAL_MACHINE\eSOFTWARE\eWow6432Node\eMercurial\fP
-is used when running 32\-bit Python on 64\-bit Windows.
 .RE
 .sp
-On Plan9, the following files are consulted:
-.INDENT 0.0
-.IP \(bu 2
-.
-\fB<repo>/.hg/hgrc\fP (per\-repository)
-.IP \(bu 2
-.
-\fB$home/lib/hgrc\fP (per\-user)
-.IP \(bu 2
-.
-\fB<install\-root>/lib/mercurial/hgrc\fP (per\-installation)
-.IP \(bu 2
-.
-\fB<install\-root>/lib/mercurial/hgrc.d/*.rc\fP (per\-installation)
-.IP \(bu 2
-.
-\fB/lib/mercurial/hgrc\fP (per\-system)
-.IP \(bu 2
-.
-\fB/lib/mercurial/hgrc.d/*.rc\fP (per\-system)
-.IP \(bu 2
-.
-\fB<internal>/default.d/*.rc\fP (defaults)
-.UNINDENT
-.sp
 Per\-repository configuration options only apply in a
 particular repository. This file is not version\-controlled, and
 will not get transferred during a "clone" operation. Options in
-this file override options in all other configuration files. On
-Plan 9 and Unix, most of this file will be ignored if it doesn\(aqt
+this file override options in all other configuration files.
+Most of this file will be ignored if it doesn't
 belong to a trusted user or to a trusted group. See the documentation
 for the \fB[trusted]\fP section below for more details.
 .sp
-Per\-user configuration file(s) are for the user running Mercurial. On
-Windows 9x, \fB%HOME%\fP is replaced by \fB%APPDATA%\fP. Options in these
+Per\-user configuration file(s) are for the user running Mercurial.
+Options in these
 files apply to all Mercurial commands executed by this user in any
 directory. Options in these files override per\-system and per\-installation
 options.
@@ -173,10 +84,8 @@
 .sp
 Per\-installation configuration files are for the system on
 which Mercurial is running. Options in these files apply to all
-Mercurial commands executed by any user in any directory. Registry
-keys contain PATH\-like strings, every part of which must reference
-a \fBMercurial.ini\fP file or be a directory where \fB*.rc\fP files will
-be read.  Mercurial checks each of these locations in the specified
+Mercurial commands executed by any user in any directory.
+Mercurial checks each of these locations in the specified
 order until one or more configuration files are detected.
 .sp
 Per\-system configuration files are for the system on which Mercurial
@@ -197,12 +106,12 @@
 \fBconfiguration keys\fP):
 .sp
 .nf
-.ft C
+.ft
 [spam]
 eggs=ham
 green=
    eggs
-.ft P
+.ft
 .fi
 .sp
 Each line contains one entry. If the lines that follow are indented,
@@ -214,12 +123,12 @@
 will use the value that was configured last. As an example:
 .sp
 .nf
-.ft C
+.ft
 [spam]
 eggs=large
 ham=serrano
 eggs=small
-.ft P
+.ft
 .fi
 .sp
 This would set the configuration key named \fBeggs\fP to \fBsmall\fP.
@@ -229,7 +138,7 @@
 example:
 .sp
 .nf
-.ft C
+.ft
 [foo]
 eggs=large
 ham=serrano
@@ -244,7 +153,7 @@
 ham=prosciutto
 eggs=medium
 bread=toasted
-.ft P
+.ft
 .fi
 .sp
 This would set the \fBeggs\fP, \fBham\fP, and \fBbread\fP configuration keys
@@ -266,9 +175,9 @@
 \fBfile\fP. This lets you do something like:
 .sp
 .nf
-.ft C
+.ft
 %include ~/.hgrc.d/$HOST.rc
-.ft P
+.ft
 .fi
 .sp
 to include a different configuration file on each computer you use.
@@ -285,9 +194,9 @@
 placed in double quotation marks:
 .sp
 .nf
-.ft C
+.ft
 allow_read = "John Doe, PhD", brian, betty
-.ft P
+.ft
 .fi
 .sp
 Quotation marks can be escaped by prefixing them with a backslash. Only
@@ -311,17 +220,17 @@
 Alias definitions consist of lines of the form:
 .sp
 .nf
-.ft C
+.ft
 <alias> = <command> [<argument>]...
-.ft P
+.ft
 .fi
 .sp
 For example, this definition:
 .sp
 .nf
-.ft C
+.ft
 latest = log \-\-limit 5
-.ft P
+.ft
 .fi
 .sp
 creates a new command \fBlatest\fP that shows only the five most recent
@@ -328,9 +237,9 @@
 changesets. You can define subsequent aliases using earlier ones:
 .sp
 .nf
-.ft C
+.ft
 stable5 = latest \-b stable
-.ft P
+.ft
 .fi
 .IP Note
 .
@@ -344,9 +253,9 @@
 run arbitrary commands. As an example,
 .sp
 .nf
-.ft C
+.ft
 echo = !echo $@
-.ft P
+.ft
 .fi
 .sp
 will let you do \fBhg echo foo\fP to have \fBfoo\fP printed in your
@@ -353,9 +262,9 @@
 terminal. A better example might be:
 .sp
 .nf
-.ft C
+.ft
 purge = !$HG status \-\-no\-status \-\-unknown \-0 | xargs \-0 rm
-.ft P
+.ft
 .fi
 .sp
 which will make \fBhg purge\fP delete all unknown files in the
@@ -385,7 +294,7 @@
 Settings used when displaying file annotations. All values are
 Booleans and default to False. See \fBdiff\fP section for related
 options for the diff command.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBignorews\fP
 .sp
@@ -398,7 +307,7 @@
 .B \fBignoreblanklines\fP
 .sp
 Ignore changes whose lines are all blank.
-.UNINDENT
+.RE
 .SS \fBauth\fP
 .sp
 Authentication credentials for HTTP authentication. This section
@@ -409,9 +318,9 @@
 Each line has the following format:
 .sp
 .nf
-.ft C
+.ft
 <name>.<argument> = <value>
-.ft P
+.ft
 .fi
 .sp
 where \fB<name>\fP is used to group arguments into authentication
@@ -418,7 +327,7 @@
 entries. Example:
 .sp
 .nf
-.ft C
+.ft
 foo.prefix = hg.intevation.org/mercurial
 foo.username = foo
 foo.password = bar
@@ -428,11 +337,11 @@
 bar.key = path/to/file.key
 bar.cert = path/to/file.cert
 bar.schemes = https
-.ft P
+.ft
 .fi
 .sp
 Supported arguments:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBprefix\fP
 .sp
@@ -439,7 +348,7 @@
 Either \fB*\fP or a URI prefix with or without the scheme part.
 The authentication entry with the longest matching prefix is used
 (where \fB*\fP matches everything and counts as a match of length
-1). If the prefix doesn\(aqt include a scheme, the match is performed
+1). If the prefix doesn't include a scheme, the match is performed
 against the URI with its scheme stripped as well, and the schemes
 argument, q.v., is then subsequently consulted.
 .TP
@@ -471,11 +380,11 @@
 .B \fBschemes\fP
 .sp
 Optional. Space separated list of URI schemes to use this
-authentication entry with. Only used if the prefix doesn\(aqt include
+authentication entry with. Only used if the prefix doesn't include
 a scheme. Supported schemes are http and https. They will match
 static\-http and static\-https respectively, as well.
 Default: https.
-.UNINDENT
+.RE
 .sp
 If no suitable authentication entry is found, the user is prompted
 for credentials as usual if required by the remote.
@@ -486,176 +395,176 @@
 .sp
 In addition to pre\-defined template keywords, commit log specific one
 below can be used for customization:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBextramsg\fP
 .sp
-String: Extra message (typically \(aqLeave message empty to abort
-commit.\(aq). This may be changed by some commands or extensions.
-.UNINDENT
+String: Extra message (typically 'Leave message empty to abort
+commit.'). This may be changed by some commands or extensions.
+.RE
 .sp
 For example, the template configuration below shows as same text as
 one shown by default:
 .sp
 .nf
-.ft C
+.ft
 [committemplate]
 changeset = {desc}\en\en
-    HG: Enter commit message.  Lines beginning with \(aqHG:\(aq are removed.
+    HG: Enter commit message.  Lines beginning with 'HG:' are removed.
     HG: {extramsg}
     HG: \-\-
     HG: user: {author}\en{ifeq(p2rev, "\-1", "",
    "HG: branch merge\en")
-   }HG: branch \(aq{branch}\(aq\en{if(currentbookmark,
-   "HG: bookmark \(aq{currentbookmark}\(aq\en")  }{subrepos %
+   }HG: branch '{branch}'\en{if(currentbookmark,
+   "HG: bookmark '{currentbookmark}'\en")  }{subrepos %
    "HG: subrepo {subrepo}\en"              }{file_adds %
    "HG: added {file}\en"                   }{file_mods %
    "HG: changed {file}\en"                 }{file_dels %
    "HG: removed {file}\en"                 }{if(files, "",
    "HG: no files changed\en")}
-.ft P
+.ft
 .fi
 .IP Note
 .
-For some problematic encodings (see \%\fBhg help win32mbcs\fP\: for
+For some problematic encodings (see \fBhg help win32mbcs\fP for
 detail), this customization should be configured carefully, to
 avoid showing broken characters.
 .sp
 For example, if multibyte character ending with backslash (0x5c) is
-followed by ASCII character \(aqn\(aq in the customized template,
-sequence of backslash and \(aqn\(aq is treated as line\-feed unexpectedly
+followed by ASCII character 'n' in the customized template,
+sequence of backslash and 'n' is treated as line\-feed unexpectedly
 (and multibyte character is broken, too).
 .RE
 .sp
 Customized template is used for commands below (\fB\-\-edit\fP may be
 required):
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
-\%\fBhg backout\fP\:
+\fBhg backout\fP
 .IP \(bu 2
 .
-\%\fBhg commit\fP\:
+\fBhg commit\fP
 .IP \(bu 2
 .
-\%\fBhg fetch\fP\: (for merge commit only)
+\fBhg fetch\fP (for merge commit only)
 .IP \(bu 2
 .
-\%\fBhg graft\fP\:
+\fBhg graft\fP
 .IP \(bu 2
 .
-\%\fBhg histedit\fP\:
+\fBhg histedit\fP
 .IP \(bu 2
 .
-\%\fBhg import\fP\:
+\fBhg import\fP
 .IP \(bu 2
 .
-\%\fBhg qfold\fP\:, \%\fBhg qnew\fP\: and \%\fBhg qrefresh\fP\:
+\fBhg qfold\fP, \fBhg qnew\fP and \fBhg qrefresh\fP
 .IP \(bu 2
 .
-\%\fBhg rebase\fP\:
+\fBhg rebase\fP
 .IP \(bu 2
 .
-\%\fBhg shelve\fP\:
+\fBhg shelve\fP
 .IP \(bu 2
 .
-\%\fBhg sign\fP\:
+\fBhg sign\fP
 .IP \(bu 2
 .
-\%\fBhg tag\fP\:
+\fBhg tag\fP
 .IP \(bu 2
 .
-\%\fBhg transplant\fP\:
-.UNINDENT
+\fBhg transplant\fP
+.RE
 .sp
 Configuring items below instead of \fBchangeset\fP allows showing
 customized message only for specific actions, or showing different
 messages for each action.
-.INDENT 0.0
+.RS 0
 .IP \(bu 2
 .
-\fBchangeset.backout\fP for \%\fBhg backout\fP\:
+\fBchangeset.backout\fP for \fBhg backout\fP
 .IP \(bu 2
 .
-\fBchangeset.commit.amend.merge\fP for \%\fBhg commit \-\-amend\fP\: on merges
+\fBchangeset.commit.amend.merge\fP for \fBhg commit \-\-amend\fP on merges
 .IP \(bu 2
 .
-\fBchangeset.commit.amend.normal\fP for \%\fBhg commit \-\-amend\fP\: on other
+\fBchangeset.commit.amend.normal\fP for \fBhg commit \-\-amend\fP on other
 .IP \(bu 2
 .
-\fBchangeset.commit.normal.merge\fP for \%\fBhg commit\fP\: on merges
+\fBchangeset.commit.normal.merge\fP for \fBhg commit\fP on merges
 .IP \(bu 2
 .
-\fBchangeset.commit.normal.normal\fP for \%\fBhg commit\fP\: on other
+\fBchangeset.commit.normal.normal\fP for \fBhg commit\fP on other
 .IP \(bu 2
 .
-\fBchangeset.fetch\fP for \%\fBhg fetch\fP\: (impling merge commit)
+\fBchangeset.fetch\fP for \fBhg fetch\fP (impling merge commit)
 .IP \(bu 2
 .
-\fBchangeset.gpg.sign\fP for \%\fBhg sign\fP\:
+\fBchangeset.gpg.sign\fP for \fBhg sign\fP
 .IP \(bu 2
 .
-\fBchangeset.graft\fP for \%\fBhg graft\fP\:
+\fBchangeset.graft\fP for \fBhg graft\fP
 .IP \(bu 2
 .
-\fBchangeset.histedit.edit\fP for \fBedit\fP of \%\fBhg histedit\fP\:
+\fBchangeset.histedit.edit\fP for \fBedit\fP of \fBhg histedit\fP
 .IP \(bu 2
 .
-\fBchangeset.histedit.fold\fP for \fBfold\fP of \%\fBhg histedit\fP\:
+\fBchangeset.histedit.fold\fP for \fBfold\fP of \fBhg histedit\fP
 .IP \(bu 2
 .
-\fBchangeset.histedit.mess\fP for \fBmess\fP of \%\fBhg histedit\fP\:
+\fBchangeset.histedit.mess\fP for \fBmess\fP of \fBhg histedit\fP
 .IP \(bu 2
 .
-\fBchangeset.histedit.pick\fP for \fBpick\fP of \%\fBhg histedit\fP\:
+\fBchangeset.histedit.pick\fP for \fBpick\fP of \fBhg histedit\fP
 .IP \(bu 2
 .
-\fBchangeset.import.bypass\fP for \%\fBhg import \-\-bypass\fP\:
+\fBchangeset.import.bypass\fP for \fBhg import \-\-bypass\fP
 .IP \(bu 2
 .
-\fBchangeset.import.normal.merge\fP for \%\fBhg import\fP\: on merges
+\fBchangeset.import.normal.merge\fP for \fBhg import\fP on merges
 .IP \(bu 2
 .
-\fBchangeset.import.normal.normal\fP for \%\fBhg import\fP\: on other
+\fBchangeset.import.normal.normal\fP for \fBhg import\fP on other
 .IP \(bu 2
 .
-\fBchangeset.mq.qnew\fP for \%\fBhg qnew\fP\:
+\fBchangeset.mq.qnew\fP for \fBhg qnew\fP
 .IP \(bu 2
 .
-\fBchangeset.mq.qfold\fP for \%\fBhg qfold\fP\:
+\fBchangeset.mq.qfold\fP for \fBhg qfold\fP
 .IP \(bu 2
 .
-\fBchangeset.mq.qrefresh\fP for \%\fBhg qrefresh\fP\:
+\fBchangeset.mq.qrefresh\fP for \fBhg qrefresh\fP
 .IP \(bu 2
 .
-\fBchangeset.rebase.collapse\fP for \%\fBhg rebase \-\-collapse\fP\:
+\fBchangeset.rebase.collapse\fP for \fBhg rebase \-\-collapse\fP
 .IP \(bu 2
 .
-\fBchangeset.rebase.merge\fP for \%\fBhg rebase\fP\: on merges
+\fBchangeset.rebase.merge\fP for \fBhg rebase\fP on merges
 .IP \(bu 2
 .
-\fBchangeset.rebase.normal\fP for \%\fBhg rebase\fP\: on other
+\fBchangeset.rebase.normal\fP for \fBhg rebase\fP on other
 .IP \(bu 2
 .
-\fBchangeset.shelve.shelve\fP for \%\fBhg shelve\fP\:
+\fBchangeset.shelve.shelve\fP for \fBhg shelve\fP
 .IP \(bu 2
 .
-\fBchangeset.tag.add\fP for \%\fBhg tag\fP\: without \fB\-\-remove\fP
+\fBchangeset.tag.add\fP for \fBhg tag\fP without \fB\-\-remove\fP
 .IP \(bu 2
 .
-\fBchangeset.tag.remove\fP for \%\fBhg tag \-\-remove\fP\:
+\fBchangeset.tag.remove\fP for \fBhg tag \-\-remove\fP
 .IP \(bu 2
 .
-\fBchangeset.transplant.merge\fP for \%\fBhg transplant\fP\: on merges
+\fBchangeset.transplant.merge\fP for \fBhg transplant\fP on merges
 .IP \(bu 2
 .
-\fBchangeset.transplant.normal\fP for \%\fBhg transplant\fP\: on other
-.UNINDENT
+\fBchangeset.transplant.normal\fP for \fBhg transplant\fP on other
+.RE
 .sp
 These dot\-separated lists of names are treated as hierarchical ones.
 For example, \fBchangeset.tag.remove\fP customizes the commit message
-only for \%\fBhg tag \-\-remove\fP\:, but \fBchangeset.tag\fP customizes the
-commit message for \%\fBhg tag\fP\: regardless of \fB\-\-remove\fP option.
+only for \fBhg tag \-\-remove\fP, but \fBchangeset.tag\fP customizes the
+commit message for \fBhg tag\fP regardless of \fB\-\-remove\fP option.
 .sp
 At the external editor invocation for committing, corresponding
 dot\-separated list of names without \fBchangeset.\fP prefix
@@ -666,7 +575,7 @@
 below can be referred as \fB{listupfiles}\fP:
 .sp
 .nf
-.ft C
+.ft
 [committemplate]
 listupfiles = {file_adds %
    "HG: added {file}\en"     }{file_mods %
@@ -673,7 +582,7 @@
    "HG: changed {file}\en"   }{file_dels %
    "HG: removed {file}\en"   }{if(files, "",
    "HG: no files changed\en")}
-.ft P
+.ft
 .fi
 .SS \fBdecode/encode\fP
 .sp
@@ -697,7 +606,7 @@
 Pipe example:
 .sp
 .nf
-.ft C
+.ft
 [encode]
 # uncompress gzip files on checkin to improve delta compression
 # note: not necessarily a good idea, just an example
@@ -705,9 +614,9 @@
 
 [decode]
 # recompress gzip files when writing them to the working dir (we
-# can safely omit "pipe:", because it\(aqs the default)
+# can safely omit "pipe:", because it's the default)
 *.gz = gzip
-.ft P
+.ft
 .fi
 .sp
 A \fBtempfile:\fP command is a template. The string \fBINFILE\fP is replaced
@@ -715,12 +624,6 @@
 filtered by the command. The string \fBOUTFILE\fP is replaced with the name
 of an empty temporary file, where the filtered data must be written by
 the command.
-.IP Note
-.
-The tempfile mechanism is recommended for Windows systems,
-where the standard shell I/O redirection operators often have
-strange effects and may corrupt the contents of your files.
-.RE
 .sp
 This filter mechanism is used internally by the \fBeol\fP extension to
 translate line ending characters between Windows (CRLF) and Unix (LF)
@@ -727,20 +630,20 @@
 format. We suggest you use the \fBeol\fP extension for convenience.
 .SS \fBdefaults\fP
 .sp
-(defaults are deprecated. Don\(aqt use them. Use aliases instead)
+(defaults are deprecated. Don't use them. Use aliases instead)
 .sp
 Use the \fB[defaults]\fP section to define command defaults, i.e. the
 default options/arguments to pass to the specified commands.
 .sp
-The following example makes \%\fBhg log\fP\: run in verbose mode, and
-\%\fBhg status\fP\: show only the modified files, by default:
+The following example makes \fBhg log\fP run in verbose mode, and
+\fBhg status\fP show only the modified files, by default:
 .sp
 .nf
-.ft C
+.ft
 [defaults]
 log = \-v
 status = \-m
-.ft P
+.ft
 .fi
 .sp
 The actual commands, instead of their aliases, must be used when
@@ -751,7 +654,7 @@
 Settings used when displaying diffs. Everything except for \fBunified\fP
 is a Boolean and defaults to False. See \fBannotate\fP section for
 related options for the annotate command.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBgit\fP
 .sp
@@ -763,11 +666,11 @@
 .TP
 .B \fBnodates\fP
 .sp
-Don\(aqt include dates in diff headers.
+Don't include dates in diff headers.
 .TP
 .B \fBnoprefix\fP
 .sp
-Omit \(aqa/\(aq and \(aqb/\(aq prefixes from filenames. Ignored in plain mode.
+Omit 'a/' and 'b/' prefixes from filenames. Ignored in plain mode.
 .TP
 .B \fBshowfunc\fP
 .sp
@@ -788,11 +691,11 @@
 .B \fBunified\fP
 .sp
 Number of lines of context to show.
-.UNINDENT
+.RE
 .SS \fBemail\fP
 .sp
 Settings for extensions that send email messages.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBfrom\fP
 .sp
@@ -801,16 +704,16 @@
 .TP
 .B \fBto\fP
 .sp
-Optional. Comma\-separated list of recipients\(aq email addresses.
+Optional. Comma\-separated list of recipients' email addresses.
 .TP
 .B \fBcc\fP
 .sp
-Optional. Comma\-separated list of carbon copy recipients\(aq
+Optional. Comma\-separated list of carbon copy recipients'
 email addresses.
 .TP
 .B \fBbcc\fP
 .sp
-Optional. Comma\-separated list of blind carbon copy recipients\(aq
+Optional. Comma\-separated list of blind carbon copy recipients'
 email addresses.
 .TP
 .B \fBmethod\fP
@@ -833,7 +736,7 @@
 empty (explicit) list.
 .sp
 Order of outgoing email character sets:
-.INDENT 7.0
+.RS 7
 .IP 1. 3
 .
 \fBus\-ascii\fP: always first, regardless of settings
@@ -849,13 +752,13 @@
 .IP 5. 3
 .
 \fButf\-8\fP: always last, regardless of settings
-.UNINDENT
-.UNINDENT
+.RE
+.RE
 .sp
 Email example:
 .sp
 .nf
-.ft C
+.ft
 [email]
 from = Joseph User <joe.user@example.com>
 method = /usr/sbin/sendmail
@@ -862,7 +765,7 @@
 # charsets for western Europeans
 # us\-ascii, utf\-8 omitted, as they are tried first and last
 charsets = iso\-8859\-1, iso\-8859\-15, windows\-1252
-.ft P
+.ft
 .fi
 .SS \fBextensions\fP
 .sp
@@ -869,7 +772,7 @@
 Mercurial has an extension mechanism for adding new features. To
 enable an extension, create an entry for it in this section.
 .sp
-If you know that the extension is already in Python\(aqs search path,
+If you know that the extension is already in Python's search path,
 you can give the name of the module, followed by \fB=\fP, with nothing
 after the \fB=\fP.
 .sp
@@ -884,16 +787,16 @@
 Example for \fB~/.hgrc\fP:
 .sp
 .nf
-.ft C
+.ft
 [extensions]
-# (the progress extension will get loaded from Mercurial\(aqs path)
+# (the progress extension will get loaded from Mercurial's path)
 progress =
 # (this extension will get loaded from the file specified)
 myfeature = ~/.hgext/myfeature.py
-.ft P
+.ft
 .fi
 .SS \fBformat\fP
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBusestore\fP
 .sp
@@ -921,7 +824,7 @@
 Mac OS X and spaces on Windows. Enabled by default. Disabling this
 option ensures that the on\-disk format of newly created
 repositories will be compatible with Mercurial before version 1.7.
-.UNINDENT
+.RE
 .SS \fBgraph\fP
 .sp
 Web graph view configuration. This section let you change graph
@@ -931,9 +834,9 @@
 Each line has the following format:
 .sp
 .nf
-.ft C
+.ft
 <branch>.<argument> = <value>
-.ft P
+.ft
 .fi
 .sp
 where \fB<branch>\fP is the name of the branch being
@@ -940,17 +843,17 @@
 customized. Example:
 .sp
 .nf
-.ft C
+.ft
 [graph]
 # 2px width
 default.width = 2
 # red color
 default.color = FF0000
-.ft P
+.ft
 .fi
 .sp
 Supported arguments:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBwidth\fP
 .sp
@@ -959,7 +862,7 @@
 .B \fBcolor\fP
 .sp
 Set branch edges color in hexadecimal RGB notation.
-.UNINDENT
+.RE
 .SS \fBhooks\fP
 .sp
 Commands or Python functions that get automatically executed by
@@ -974,7 +877,7 @@
 Example \fB.hg/hgrc\fP:
 .sp
 .nf
-.ft C
+.ft
 [hooks]
 # update working directory after adding changesets
 changegroup.update = hg update
@@ -984,13 +887,13 @@
 incoming.autobuild = /my/build/hook
 # force autobuild hook to run before other incoming hooks
 priority.incoming.autobuild = 1
-.ft P
+.ft
 .fi
 .sp
 Most hooks are run with environment variables set that give useful
 additional information. For each hook below, the environment
 variables it is passed are listed with names of the form \fB$HG_foo\fP.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBchangegroup\fP
 .sp
@@ -1034,7 +937,7 @@
 representations of the data internally passed to <command>. \fB$HG_OPTS\fP
 is a  dictionary of options (with unspecified options set to their
 defaults). \fB$HG_PATS\fP is a list of arguments. If the hook returns
-failure, the command doesn\(aqt execute and Mercurial returns the failure
+failure, the command doesn't execute and Mercurial returns the failure
 code.
 .TP
 .B \fBprechangegroup\fP
@@ -1167,7 +1070,7 @@
 new parent is in \fB$HG_PARENT1\fP. If merge, ID of second new parent is
 in \fB$HG_PARENT2\fP. If the update succeeded, \fB$HG_ERROR=0\fP. If the
 update failed (e.g. because conflicts not resolved), \fB$HG_ERROR=1\fP.
-.UNINDENT
+.RE
 .IP Note
 .
 It is generally better to use standard hooks rather than the
@@ -1176,21 +1079,14 @@
 Also, hooks like "commit" will be called in all contexts that
 generate a commit (e.g. tag) and not just the commit command.
 .RE
-.IP Note
-.
-Environment variables with empty values may not be passed to
-hooks on platforms such as Windows. As an example, \fB$HG_PARENT2\fP
-will have an empty value under Unix\-like platforms for non\-merge
-changesets, while it will not be available at all under Windows.
-.RE
 .sp
 The syntax for Python hooks is as follows:
 .sp
 .nf
-.ft C
+.ft
 hookname = python:modulename.submodule.callable
 hookname = python:/path/to/python/module.py:callable
-.ft P
+.ft
 .fi
 .sp
 Python hooks are run within the Mercurial process. Each hook is
@@ -1214,10 +1110,10 @@
 For example:
 .sp
 .nf
-.ft C
+.ft
 [hostfingerprints]
 hg.intevation.org = fa:1f:d9:48:f1:e7:74:30:38:8d:d8:58:b6:94:b8:58:28:7d:8b:d0
-.ft P
+.ft
 .fi
 .sp
 This feature is only supported when using Python 2.6 or later.
@@ -1225,7 +1121,7 @@
 .sp
 Used to access web\-based Mercurial repositories through a HTTP
 proxy.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBhost\fP
 .sp
@@ -1249,7 +1145,7 @@
 .sp
 Optional. Always use the proxy, even for localhost and any entries
 in \fBhttp_proxy.no\fP. True or False. Default: False.
-.UNINDENT
+.RE
 .SS \fBmerge\-patterns\fP
 .sp
 This section specifies merge tools to associate with particular file
@@ -1260,23 +1156,23 @@
 Example:
 .sp
 .nf
-.ft C
+.ft
 [merge\-patterns]
 **.c = kdiff3
 **.jpg = myimgmerge
-.ft P
+.ft
 .fi
 .SS \fBmerge\-tools\fP
 .sp
 This section configures external merge tools to use for file\-level
 merges. This section has likely been preconfigured at install time.
-Use \%\fBhg config merge\-tools\fP\: to check the existing configuration.
-Also see \%\fBhg help merge\-tools\fP\: for more details.
+Use \fBhg config merge\-tools\fP to check the existing configuration.
+Also see \fBhg help merge\-tools\fP for more details.
 .sp
 Example \fB~/.hgrc\fP:
 .sp
 .nf
-.ft C
+.ft
 [merge\-tools]
 # Override stock tool location
 kdiff3.executable = ~/bin/kdiff3
@@ -1290,13 +1186,12 @@
 
 # Define new tool
 myHtmlTool.args = \-m $local $other $base $output
-myHtmlTool.regkey = Software\eFooSoftware\eHtmlMerge
 myHtmlTool.priority = 1
-.ft P
+.ft
 .fi
 .sp
 Supported arguments:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBpriority\fP
 .sp
@@ -1305,9 +1200,7 @@
 .TP
 .B \fBexecutable\fP
 .sp
-Either just the name of the executable or its pathname.  On Windows,
-the path can use environment variables with ${ProgramFiles} syntax.
-Default: the tool name.
+Either just the name of the executable or its pathname.  Default: the tool name.
 .TP
 .B \fBargs\fP
 .sp
@@ -1329,7 +1222,7 @@
 \fBkeep\-merge3\fP. The \fBkeep\fP option will leave markers in the file if the
 premerge fails. The \fBkeep\-merge3\fP will do the same but include information
 about the base of the merge in the marker (see internal :merge3 in
-\%\fBhg help merge\-tools\fP\:).
+\fBhg help merge\-tools\fP).
 Default: True
 .TP
 .B \fBbinary\fP
@@ -1345,7 +1238,7 @@
 .B \fBcheck\fP
 .sp
 A list of merge success\-checking options:
-.INDENT 7.0
+.RS 7
 .TP
 .B \fBchanged\fP
 .sp
@@ -1358,7 +1251,7 @@
 .B \fBprompt\fP
 .sp
 Always prompt for merge success, regardless of success reported by tool.
-.UNINDENT
+.RE
 .TP
 .B \fBfixeol\fP
 .sp
@@ -1368,42 +1261,16 @@
 .B \fBgui\fP
 .sp
 This tool requires a graphical interface to run. Default: False
-.TP
-.B \fBregkey\fP
-.sp
-Windows registry key which describes install location of this
-tool. Mercurial will search for this key first under
-\fBHKEY_CURRENT_USER\fP and then under \fBHKEY_LOCAL_MACHINE\fP.
-Default: None
-.TP
-.B \fBregkeyalt\fP
-.sp
-An alternate Windows registry key to try if the first key is not
-found.  The alternate key uses the same \fBregname\fP and \fBregappend\fP
-semantics of the primary key.  The most common use for this key
-is to search for 32bit applications on 64bit operating systems.
-Default: None
-.TP
-.B \fBregname\fP
-.sp
-Name of value to read from specified registry key. Defaults to the
-unnamed (default) value.
-.TP
-.B \fBregappend\fP
-.sp
-String to append to the value read from the registry, typically
-the executable name of the tool.
-Default: None
-.UNINDENT
+.RE
 .SS \fBpatch\fP
 .sp
-Settings used when applying patches, for instance through the \(aqimport\(aq
+Settings used when applying patches, for instance through the 'import'
 command or with Mercurial Queues extension.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBeol\fP
 .sp
-When set to \(aqstrict\(aq patch content and patched files end of lines
+When set to 'strict' patch content and patched files end of lines
 are preserved. When set to \fBlf\fP or \fBcrlf\fP, both files end of
 lines are ignored when patching and the result line endings are
 normalized to either LF (Unix) or CRLF (Windows). When set to
@@ -1412,7 +1279,7 @@
 on a per\-file basis. If target file does not exist or has no end
 of line, patch line endings are preserved.
 Default: strict.
-.UNINDENT
+.RE
 .SS \fBpaths\fP
 .sp
 Assigns symbolic names to repositories. The left side is the
@@ -1419,7 +1286,7 @@
 symbolic name, and the right gives the directory or URL that is the
 location of the repository. Default paths can be declared by setting
 the following entries.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBdefault\fP
 .sp
@@ -1431,30 +1298,30 @@
 .sp
 Optional. Directory or URL to use when pushing if no destination
 is specified.
-.UNINDENT
+.RE
 .sp
 Custom paths can be defined by assigning the path to a name that later can be
 used from the command line. Example:
 .sp
 .nf
-.ft C
+.ft
 [paths]
 my_path = http://example.com/path
-.ft P
+.ft
 .fi
 .sp
 To push to the path defined in \fBmy_path\fP run the command:
 .sp
 .nf
-.ft C
+.ft
 hg push my_path
-.ft P
+.ft
 .fi
 .SS \fBphases\fP
 .sp
-Specifies default handling of phases. See \%\fBhg help phases\fP\: for more
+Specifies default handling of phases. See \fBhg help phases\fP for more
 information about working with phases.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBpublish\fP
 .sp
@@ -1479,7 +1346,7 @@
 either aborted (if checksubrepos is set to "abort") or the higher phase is
 used for the parent repository commit (if set to "follow").
 Default: "follow"
-.UNINDENT
+.RE
 .SS \fBprofiling\fP
 .sp
 Specifies profiling type, format, and file output. Two profilers are
@@ -1486,21 +1353,21 @@
 supported: an instrumenting profiler (named \fBls\fP), and a sampling
 profiler (named \fBstat\fP).
 .sp
-In this section description, \(aqprofiling data\(aq stands for the raw data
-collected during profiling, while \(aqprofiling report\(aq stands for a
+In this section description, 'profiling data' stands for the raw data
+collected during profiling, while 'profiling report' stands for a
 statistical text report generated from the profiling data. The
 profiling is done using lsprof.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBtype\fP
 .sp
 The type of profiler to use.
 Default: ls.
-.INDENT 7.0
+.RS 7
 .TP
 .B \fBls\fP
 .sp
-Use Python\(aqs built\-in instrumenting profiler. This profiler
+Use Python's built\-in instrumenting profiler. This profiler
 works on all platforms, but each line number it reports is the
 first line of a function. This restriction makes it difficult to
 identify the expensive parts of a non\-trivial function.
@@ -1510,13 +1377,13 @@
 Use a third\-party statistical profiler, statprof. This profiler
 currently runs only on Unix systems, and is most useful for
 profiling commands that run for longer than about 0.1 seconds.
-.UNINDENT
+.RE
 .TP
 .B \fBformat\fP
 .sp
 Profiling format.  Specific to the \fBls\fP instrumenting profiler.
 Default: text.
-.INDENT 7.0
+.RS 7
 .TP
 .B \fBtext\fP
 .sp
@@ -1529,7 +1396,7 @@
 Format profiling data for kcachegrind use: when saving to a
 file, the generated file can directly be loaded into
 kcachegrind.
-.UNINDENT
+.RE
 .TP
 .B \fBfrequency\fP
 .sp
@@ -1560,14 +1427,14 @@
 This can help explain the difference between Total and Inline.
 Specific to the \fBls\fP instrumenting profiler.
 Default: 5.
-.UNINDENT
+.RE
 .SS \fBrevsetalias\fP
 .sp
-Alias definitions for revsets. See \%\fBhg help revsets\fP\: for details.
+Alias definitions for revsets. See \fBhg help revsets\fP for details.
 .SS \fBserver\fP
 .sp
 Controls generic server settings.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBuncompressed\fP
 .sp
@@ -1592,11 +1459,11 @@
 Whether to validate the completeness of pushed changesets by
 checking that all new file revisions specified in manifests are
 present. Default is False.
-.UNINDENT
+.RE
 .SS \fBsmtp\fP
 .sp
 Configuration for extensions that need to send email messages.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBhost\fP
 .sp
@@ -1621,7 +1488,7 @@
 \fB[web] cacerts\fP also). For "strict", sending email is also
 aborted, if there is no configuration for mail server in
 \fB[hostfingerprints]\fP and \fB[web] cacerts\fP.  \-\-insecure for
-\%\fBhg email\fP\: overwrites this as "loose". Default: "strict".
+\fBhg email\fP overwrites this as "loose". Default: "strict".
 .TP
 .B \fBusername\fP
 .sp
@@ -1636,9 +1503,9 @@
 .TP
 .B \fBlocal_hostname\fP
 .sp
-Optional. It\(aqs the hostname that the sender can use to identify
+Optional. It's the hostname that the sender can use to identify
 itself to the MTA.
-.UNINDENT
+.RE
 .SS \fBsubpaths\fP
 .sp
 Subrepository source URLs can go stale if a remote server changes name
@@ -1646,9 +1513,9 @@
 rewrite rules of the form:
 .sp
 .nf
-.ft C
+.ft
 <pattern> = <replacement>
-.ft P
+.ft
 .fi
 .sp
 where \fBpattern\fP is a regular expression matching a subrepository
@@ -1657,9 +1524,9 @@
 \fBreplacements\fP. For instance:
 .sp
 .nf
-.ft C
+.ft
 http://server/(.*)\-hg/ = http://hg.server/\e1/
-.ft P
+.ft
 .fi
 .sp
 rewrites \fBhttp://server/foo\-hg/\fP into \fBhttp://hg.server/foo/\fP.
@@ -1670,7 +1537,7 @@
 .SS \fBtrusted\fP
 .sp
 Mercurial will not use the settings in the
-\fB.hg/hgrc\fP file from a repository if it doesn\(aqt belong to a trusted
+\fB\&.hg/hgrc\fP file from a repository if it doesn't belong to a trusted
 user or to a trusted group, as various hgrc features allow arbitrary
 commands to be run. This issue is often encountered when configuring
 hooks or extensions for shared repositories or servers. However,
@@ -1682,7 +1549,7 @@
 group with name \fB*\fP. These settings must be placed in an
 \fIalready\-trusted file\fP to take effect, such as \fB$HOME/.hgrc\fP of the
 user or service running Mercurial.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBusers\fP
 .sp
@@ -1691,17 +1558,17 @@
 .B \fBgroups\fP
 .sp
 Comma\-separated list of trusted groups.
-.UNINDENT
+.RE
 .SS \fBui\fP
 .sp
 User interface controls.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBarchivemeta\fP
 .sp
 Whether to include the .hg_archival.txt file containing meta data
 (hashes for the repository base and for tip) in archives created
-by the \%\fBhg archive\fP\: command or downloaded via hgweb.
+by the \fBhg archive\fP command or downloaded via hgweb.
 Default is True.
 .TP
 .B \fBaskusername\fP
@@ -1729,7 +1596,7 @@
 .TP
 .B \fBfallbackencoding\fP
 .sp
-Encoding to try if it\(aqs not possible to decode the changelog using
+Encoding to try if it's not possible to decode the changelog using
 UTF\-8. Default is ISO\-8859\-1.
 .TP
 .B \fBignore\fP
@@ -1752,7 +1619,7 @@
 .B \fBmerge\fP
 .sp
 The conflict resolution program to use during a manual merge.
-For more information on merge tools see \%\fBhg help merge\-tools\fP\:.
+For more information on merge tools see \fBhg help merge\-tools\fP.
 For configuring merge tools see the \fB[merge\-tools]\fP section.
 .TP
 .B \fBmergemarkers\fP
@@ -1759,7 +1626,7 @@
 .sp
 Sets the merge conflict marker label styling. The \fBdetailed\fP
 style uses the \fBmergemarkertemplate\fP setting to style the labels.
-The \fBbasic\fP style just uses \(aqlocal\(aq and \(aqother\(aq as the marker label.
+The \fBbasic\fP style just uses 'local' and 'other' as the marker label.
 One of \fBbasic\fP or \fBdetailed\fP.
 Default is \fBbasic\fP.
 .TP
@@ -1766,7 +1633,7 @@
 .B \fBmergemarkertemplate\fP
 .sp
 The template used to print the commit description next to each conflict
-marker during merge conflicts. See \%\fBhg help templates\fP\: for the template
+marker during merge conflicts. See \fBhg help templates\fP for the template
 format.
 Defaults to showing the hash, tags, branches, bookmarks, author, and
 the first line of the commit description.
@@ -1784,7 +1651,7 @@
 Default is \fBwarn\fP.
 If set to \fBwarn\fP (or \fBtrue\fP), a warning message is printed on POSIX
 platforms, if a file with a non\-portable filename is added (e.g. a file
-with a name that can\(aqt be created on Windows because it contains reserved
+with a name that can't be created on Windows because it contains reserved
 parts like \fBAUX\fP, reserved characters like \fB:\fP, or would cause a case
 collision with an existing file).
 If set to \fBignore\fP (or \fBfalse\fP), no warning is printed.
@@ -1849,7 +1716,7 @@
 .B \fBusername\fP
 .sp
 The committer of a changeset created when running "commit".
-Typically a person\(aqs name and email address, e.g. \fBFred Widget
+Typically a person's name and email address, e.g. \fBFred Widget
 <fred@example.com>\fP. Default is \fB$EMAIL\fP or \fBusername@hostname\fP. If
 the username in hgrc is empty, it has to be specified manually or
 in a different hgrc file (e.g. \fB$HOME/.hgrc\fP, if the admin set
@@ -1859,11 +1726,11 @@
 .B \fBverbose\fP
 .sp
 Increase the amount of output printed. True or False. Default is False.
-.UNINDENT
+.RE
 .SS \fBweb\fP
 .sp
 Web interface configuration. The settings in this section apply to
-both the builtin webserver (started by \%\fBhg serve\fP\:) and the script you
+both the builtin webserver (started by \fBhg serve\fP) and the script you
 run through a webserver (\fBhgweb.cgi\fP and the derivatives for FastCGI
 and WSGI).
 .sp
@@ -1879,9 +1746,9 @@
 command line:
 .sp
 .nf
-.ft C
+.ft
 $ hg \-\-config web.allow_push=* \-\-config web.push_ssl=False serve
-.ft P
+.ft
 .fi
 .sp
 Note that this will allow anybody to push anything to the server and
@@ -1888,7 +1755,7 @@
 that this should not be used for public servers.
 .sp
 The full set of options is:
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBaccesslog\fP
 .sp
@@ -1972,13 +1839,13 @@
 To disable SSL verification temporarily, specify \fB\-\-insecure\fP from
 command line.
 .sp
-You can use OpenSSL\(aqs CA certificate file if your platform has
+You can use OpenSSL's CA certificate file if your platform has
 one. On most Linux systems this will be
 \fB/etc/ssl/certs/ca\-certificates.crt\fP. Otherwise you will have to
 generate this file manually. The form must be as follows:
 .sp
 .nf
-.ft C
+.ft
 \-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-
 \&... (certificate in base64 PEM encoding) ...
 \-\-\-\-\-END CERTIFICATE\-\-\-\-\-
@@ -1985,7 +1852,7 @@
 \-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-
 \&... (certificate in base64 PEM encoding) ...
 \-\-\-\-\-END CERTIFICATE\-\-\-\-\-
-.ft P
+.ft
 .fi
 .TP
 .B \fBcache\fP
@@ -2046,7 +1913,7 @@
 .TP
 .B \fBdescription\fP
 .sp
-Textual description of the repository\(aqs purpose or contents.
+Textual description of the repository's purpose or contents.
 Default is "unknown".
 .TP
 .B \fBencoding\fP
@@ -2111,7 +1978,7 @@
 .TP
 .B \fBprefix\fP
 .sp
-Prefix path to serve from. Default is \(aq\(aq (server root).
+Prefix path to serve from. Default is '' (server root).
 .TP
 .B \fBpush_ssl\fP
 .sp
@@ -2140,7 +2007,7 @@
 .sp
 Where to find the HTML templates. The default path to the HTML templates
 can be obtained from \fBhg debuginstall\fP.
-.UNINDENT
+.RE
 .SS \fBwebsub\fP
 .sp
 Web substitution filter definition. You can use this section to
@@ -2162,9 +2029,9 @@
 which in turn imitates the Unix sed replacement syntax:
 .sp
 .nf
-.ft C
+.ft
 patternname = s/SEARCH_REGEX/REPLACE_EXPRESSION/[i]
-.ft P
+.ft
 .fi
 .sp
 You can use any separator other than "/". The final "i" is optional
@@ -2173,12 +2040,12 @@
 Examples:
 .sp
 .nf
-.ft C
+.ft
 [websub]
 issues = s|issue(\ed+)|<a href="http://bts.example.org/issue\e1">issue\e1</a>|i
 italic = s/\eb_(\eS+)_\eb/<i>\e1<\e/i>/
 bold = s/\e*\eb(\eS+)\eb\e*/<b>\e1<\e/b>/
-.ft P
+.ft
 .fi
 .SS \fBworker\fP
 .sp
@@ -2185,7 +2052,7 @@
 Parallel master/worker configuration. We currently perform working
 directory updates in parallel on Unix\-like systems, which greatly
 helps performance.
-.INDENT 0.0
+.RS 0
 .TP
 .B \fBnumcpus\fP
 .sp
@@ -2192,18 +2059,18 @@
 Number of CPUs to use for parallel operations. Default is 4 or the
 number of CPUs on the system, whichever is larger. A zero or
 negative value is treated as \fBuse the default\fP.
-.UNINDENT
+.RE
 .SH AUTHOR
 .sp
-Bryan O\(aqSullivan <\%bos@serpentine.com\:>.
+Bryan O'Sullivan <bos@serpentine.com>.
 .sp
-Mercurial was written by Matt Mackall <\%mpm@selenic.com\:>.
+Mercurial was written by Matt Mackall <mpm@selenic.com>.
 .SH SEE ALSO
 .sp
-\%\fBhg\fP(1)\:, \%\fBhgignore\fP(5)\:
+\fBhg\fP(1), \fBhgignore\fP(5)
 .SH COPYING
 .sp
-This manual page is copyright 2005 Bryan O\(aqSullivan.
+This manual page is copyright 2005 Bryan O'Sullivan.
 Mercurial is copyright 2005\-2015 Matt Mackall.
 Free use of this software is granted under the terms of the GNU General
 Public License version 2 or any later version.
