comparison mercurial/commands.py @ 13344:6367459decf7

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.
author Javi Merino <cibervicho@gmail.com>
date Sat, 05 Feb 2011 13:59:34 +0000
parents 69e69b131458
children c756e9166417
comparison
equal deleted inserted replaced
13343:69e69b131458 13344:6367459decf7
56 56
57 Add all new files and remove all missing files from the 57 Add all new files and remove all missing files from the
58 repository. 58 repository.
59 59
60 New files are ignored if they match any of the patterns in 60 New files are ignored if they match any of the patterns in
61 .hgignore. As with add, these changes take effect at the next 61 ``.hgignore``. As with add, these changes take effect at the next
62 commit. 62 commit.
63 63
64 Use the -s/--similarity option to detect renamed files. With a 64 Use the -s/--similarity option to detect renamed files. With a
65 parameter greater than 0, this compares every removed file with 65 parameter greater than 0, this compares every removed file with
66 every added file and records those similar enough as renames. This 66 every added file and records those similar enough as renames. This
666 666
667 If no destination directory name is specified, it defaults to the 667 If no destination directory name is specified, it defaults to the
668 basename of the source. 668 basename of the source.
669 669
670 The location of the source is added to the new repository's 670 The location of the source is added to the new repository's
671 .hg/hgrc file, as the default to be used for future pulls. 671 ``.hg/hgrc`` file, as the default to be used for future pulls.
672 672
673 See :hg:`help urls` for valid source format details. 673 See :hg:`help urls` for valid source format details.
674 674
675 It is possible to specify an ``ssh://`` URL as the destination, but no 675 It is possible to specify an ``ssh://`` URL as the destination, but no
676 .hg/hgrc and working directory will be created on the remote side. 676 ``.hg/hgrc`` and working directory will be created on the remote side.
677 Please see :hg:`help urls` for important details about ``ssh://`` URLs. 677 Please see :hg:`help urls` for important details about ``ssh://`` URLs.
678 678
679 A set of changesets (tags, or branch names) to pull may be specified 679 A set of changesets (tags, or branch names) to pull may be specified
680 by listing each changeset (tag, or branch name) with -r/--rev. 680 by listing each changeset (tag, or branch name) with -r/--rev.
681 If -r/--rev is used, the cloned repository will contain only a subset 681 If -r/--rev is used, the cloned repository will contain only a subset