Commit Graph

423 Commits

Author SHA1 Message Date
Mads Kiilerich
665d2722d8 doc: clarify that https cert verification requires web.cacerts 2010-10-01 00:48:50 +02:00
Anthony Foiani
5a82d7f2a7 doc: clarify smtp.password usage 2010-09-23 00:27:04 -06:00
Martin Geisler
db0d34b21b url: limit expansion to safe auth keys (Issue2328)
Mads Kiilerich pointed out that 1e4ade283b02 was too eager since the
prefix and password keys may contain $-signs. So this only add the
username to the list of keys that are expanded.

This also updates the documentation to match.
2010-08-13 10:53:10 +02:00
Martin Geisler
a7c1749596 hgrc.5: fix "hg hg status" -> "hg status" 2010-08-13 10:13:38 +02:00
Nicolas Dumazet
0e9b05da3e runrst: try to be more helpful if docutils is not installed 2010-07-30 14:41:47 +09:00
Nicolas Dumazet
4a63431eda doc: remove has_key usage in hgmanpage 2010-07-22 14:33:50 +09:00
Nicolas Dumazet
0616cfa31f gendoc: remove callable usage (check-code) 2010-07-22 14:30:29 +09:00
Mads Kiilerich
8a38c3ba07 doc: make sure we use our own code for generating man pages
docutils would in some situations pick up its own manpage.py instead of
doc/manpage.py. Renaming to hgmanpage.py makes it less ambiguous.
2010-07-21 17:51:37 +02:00
Chad Dombrova
22bbfbd44a provide pre- and post- hooks with parsed command line arguments.
python hooks are passed two new keyword arguments:
- opts: a dict of options; unsepcified options are set to their default
- pats: a list of arguments

shell hooks receive two new variables containing string representations
of the above data:
- $HG_OPTS
- $HG_PATS

for example, the opts and pats for 'hg -f v1.1' would be:
{'force': True, 'message': '', 'rev': '', 'user': '', 'date': '', 'local': None, 'remove': None, 'mq': None}
['v1.1']
2010-06-10 09:32:19 -07:00
FUJIWARA Katsunori
ce06b102df help: show value requirement and multiple occurrence of options
this helps users to know what kind of option is:

  - no value is required(flag option)
  - value is required
  - value is required, and multiple occurrences are allowed

each kinds are shown as below:

 -f --force              force push
 -e --ssh CMD            specify ssh command to use
 -b --branch BRANCH [+]  a specific branch you would like to push

if one or more 3rd type options are shown, explanation for '[+]' mark
is also shown as footnote.
2010-06-06 17:25:00 +09:00
Matt Mackall
3daed7cd59 hgrc: improve docs for the trusted section 2010-06-04 20:13:51 -05:00
Martin Geisler
ae18c6a910 win32text: mark this extension as deprecated 2010-06-02 14:54:25 +02:00
Martin Geisler
bb828f2f9b doc: document expansion of %include and ui.username 2010-05-27 10:37:14 +02:00
Martin Geisler
f8280fc5b0 Merge with stable 2010-05-25 18:45:44 +02:00
Angel Ezquerra
9be5ff2737 doc: clarify that sections can be split 2010-05-25 18:19:40 +02:00
Angel Ezquerra
08d2753759 doc: clarify that keys can be overridden 2010-05-25 18:19:16 +02:00
David Champion
b8cccccefd merge: tool.check = prompt will force an interactive merge check
tool.check = prompt can be used when the exit status of a merge
tool is unreliable but an explicit user signoff on the merge result is
acceptable.
2010-05-10 11:04:56 -05:00
David Champion
884303ae82 merge: introduce tool.check parameter
tool.check is a list of check options, and can be used in place of
tool.checkchanged and tool.checkconflicts:

Equivalences:
tool.checkchanged = yes
tool.checkconflicts = no
tool.check = changed

tool.checkchanged = no
tool.checkconflicts = yes
tool.check = conflicts

tool.checkchanged = yes
tool.checkconflicts = yes
tool.check = changed, conflicts

Add _toollist() wrapper for ui.configlist() to implement this consistently.

checkchanged and checkconflicts are still supported, but check is
preferred for implementing new check options.
2010-05-10 11:04:56 -05:00
David Champion
14b32f640c merge: tool.premerge=keep will leave premerge markers in $local 2010-04-21 11:57:45 -05:00
Matt Mackall
ae3b272f12 docs: document default for web.encoding 2010-04-26 11:03:40 -05:00
Henrik Stuart
1c5ca1f5d8 ui: support quotes in configlist (issue2147)
Several places that use ui.configlist, predominantly in authentication
scenarios need to interface with systems that can contain spaces in usernames
(e.g. when client certificates are usernames, or Windows usernames).

This changeset introduces a parser that supports quoting of strings, and
escape quotation marks that get decoded into a single quotation mark that
adopts the usual behavior one would expect from quoting strings. The Python
library shlex module is not used, on purpose, as that raises if it cannot
match quotation marks in the given input.
2010-04-25 17:38:41 +02:00
Martin Geisler
68483a49bd Merge with stable 2010-04-25 17:11:50 +02:00
Martin Geisler
aa7bc3741f hgrc.5: mention lists as well 2010-04-25 17:11:36 +02:00
Martin Geisler
e334ff8231 Merge with stable 2010-04-25 16:46:44 +02:00
Martin Geisler
61ede1530c hgrc.5: describe form of config values 2010-04-25 16:46:26 +02:00
Martin Geisler
886975f7a6 doc: add links from hgrc.5 to hg.1 2010-04-23 09:55:47 +02:00
Martin Geisler
7f5b9a0a43 doc: make links for hg role
The system has a bit of smartness:

  :hg:`update`     -> links to hg.1.html#update
  :hg:`help diffs` -> links to hg.1.html#diffs
2010-04-23 09:53:25 +02:00
Martin Geisler
1d06245892 doc, minirst: support hg interpreted text role 2010-04-22 10:04:53 +02:00
Martin Geisler
ce3c2717e9 doc: add generic frontend to rst2man and rst2html
This will allow us to easily register new roles and directives.
2010-04-22 09:57:04 +02:00
Nicolas Dumazet
7f1a963829 pylint, pyflakes: remove unused or duplicate imports 2010-04-14 17:58:10 +09:00
Martin Geisler
01d542a46d doc/ja: remove old Japanese man page translations
They were added way back in 2005 and haven't been updated since. They
are no longer referenced by the Makefiles at upper levels and have not
been shipped with a recent version of Mercurial.
2010-03-02 21:34:24 +01:00
Wagner Bruna
7733a703e9 doc/Makefile: fix doc generation when LANGUAGE is set 2010-02-24 13:47:59 -03:00
Steve Borho
aad9ecf6aa hgrc.5: document use of environment variables on Windows
This feature was introduced in c7a5a2c7063a
2010-02-15 20:28:42 -06:00
Matt Mackall
f4a529722f hgrc: update docs for the server section 2010-02-11 17:13:22 -06:00
Henrik Stuart
534ea9a0f8 doc: add missing documentation for http_proxy.always 2010-02-11 21:11:59 +01:00
Matt Mackall
a2acbc421b fix up a bunch of check-code warnings 2010-02-09 14:12:22 -06:00
Henrik Stuart
2d2f851cb8 url: SSL server certificate verification using web.cacerts file (issue1174) 2010-02-10 20:27:46 +01:00
Steve Borho
4bb4d09720 hgrc.5: Fix a typo 2010-02-08 06:24:34 -06:00
Steve Borho
9a5cb3aaab win32: allow hgrc.d on Windows 2010-02-07 05:34:22 -06:00
Martin Geisler
8664a6b426 Merge with stable. 2010-01-29 01:04:38 +01:00
Christian Ebert
42dde8faf8 hgrc.5: whether bcc is prompted for is up to the extension
There is no code in mail.py that forbids an extension to prompt for bcc.
2010-01-28 10:38:29 +00:00
Matt Mackall
8d99be19f0 many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00
Matt Mackall
cd3ef170f7 Merge with stable 2010-01-19 22:45:09 -06:00
Matt Mackall
595d66f424 Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
Mads Kiilerich
3b9db3f9d9 Update test and man page for multiple matching encode/decode filters 2010-01-05 03:20:45 +01:00
Pascal Quantin
9e8542ebfd Update copyright year to 2010 2010-01-04 23:45:45 +01:00
Mads Kiilerich
30c9ad5ebc doc/Makefile: Fix rst2html detection
Displaying the output from the failing call to "which" didn't prevent
make from doing stupid things later. We now only search for "rst2html"
and fallback to "rst2html.py". If neither name is found, make will
eventually abort when we try to use $(RST2HTML).
2009-12-16 23:59:50 +01:00
Martin Geisler
b076a1e802 doc/Makefile: ensure C locale
The man pages can actually be translated by building them in a
different locale. However, the man pages contain internal links to
certain sections, and when the section titles are translated, the
links change too. So it is currently not recommended to build the man
pages in anything by the "C" locale.
2009-12-01 00:43:21 +01:00
Nicolas Dumazet
eb99c4418d doc/style: add orange border color to notes 2009-11-11 21:52:02 +01:00
Martin Geisler
8053426d1c hgrc.5: mark some words as inline literals 2009-11-11 21:45:13 +01:00