doc: Add back quotes around filenames
authorJavi Merino <cibervicho@gmail.com>
Sat, 05 Feb 2011 13:59:34 +0000
changeset 13344 6367459decf7
parent 13343 69e69b131458
child 13345 b8214d871338
doc: Add back quotes around filenames Filenames starting with a dot (.hg and .hgignore) confuse man when creating the ps documentation with "man -t hg >hg.ps" if they are not enclosed in back quotes.
mercurial/commands.py
--- a/mercurial/commands.py	Fri Feb 04 09:17:07 2011 +0100
+++ b/mercurial/commands.py	Sat Feb 05 13:59:34 2011 +0000
@@ -58,7 +58,7 @@
     repository.
 
     New files are ignored if they match any of the patterns in
-    .hgignore. As with add, these changes take effect at the next
+    ``.hgignore``. As with add, these changes take effect at the next
     commit.
 
     Use the -s/--similarity option to detect renamed files. With a
@@ -668,12 +668,12 @@
     basename of the source.
 
     The location of the source is added to the new repository's
-    .hg/hgrc file, as the default to be used for future pulls.
+    ``.hg/hgrc`` file, as the default to be used for future pulls.
 
     See :hg:`help urls` for valid source format details.
 
     It is possible to specify an ``ssh://`` URL as the destination, but no
-    .hg/hgrc and working directory will be created on the remote side.
+    ``.hg/hgrc`` and working directory will be created on the remote side.
     Please see :hg:`help urls` for important details about ``ssh://`` URLs.
 
     A set of changesets (tags, or branch names) to pull may be specified