Commit Graph

300 Commits

Author SHA1 Message Date
Dirkjan Ochtman
1d29e68744 change wiki/bts URLs to point to new hostname 2009-06-24 15:32:37 +02:00
Martin Geisler
6606fddaf6 hgrc.5: remove reference to DEFAULT section 2009-06-23 15:51:27 +02:00
Martin Geisler
018713a8e9 hgrc.5: mark more literal strings 2009-06-23 15:50:32 +02:00
Martin Geisler
0e4c4d2cd4 hgrc.5: markup compromis compatible with 7.1.2 and 8.4.5 2009-06-23 15:16:19 +02:00
Henrik Stuart
972f154635 url: support client certificate files over HTTPS (issue643)
This extends the httpshandler with the means to utilise the auth
section to provide it with a PEM encoded certificate key file and
certificate chain file. This works also with sites that both require
client certificate authentication and basic or digest password
authentication, although the latter situation may require the user to
enter the PEM password multiple times.
2009-06-20 10:58:57 +02:00
Cédric Duval
32cb7a3823 doc: fix regexp for determining the man page section
Preceding a .* pattern with an other dot serves little purpose,
better anchor the regexp to the start of the file name.
2009-06-10 19:59:44 +02:00
Patrick Mezard
c1548a6a3e Add patch.eol to ignore EOLs when patching (issue1019)
The intent is to fix many issues involving patching when win32ext is enabled.
With win32ext, the working directory and repository files EOLs are not the same
which means that patches made on a non-win32ext host do not apply cleanly
because of EOLs discrepancies. A theorically correct approach would be
transform either the patched file or the patch content with the
encoding/decoding filters used by win32ext. This solution is tricky to
implement and invasive, instead we prefer to address the win32ext case, by
offering a way to ignore input EOLs when patching and rewriting them when
saving the patched result.
2009-06-15 00:03:26 +02:00
Martin Geisler
eed2dde24c doc: wrap man pages after fixing quoting 2009-06-11 17:29:14 +02:00
Martin Geisler
20440a9594 hgrc.5: fix quoting of literal strings
The quotes would go wrong in many places due to differences between
asciidoc version 8.2.7 used by Benoit and 8.4.5 used by me. Between
those versions asciidoc stopped interpreting the content of `quoted
strings`, and so `*` would start bold text in the old version, but do
nothing in the new version.

To complicate things further, `\*` would escape the bold tag in the
old version, but in the new version the backslash was inserted
literally into the output (because the backtick quotes it).

I've now replaced backticks with non-quoting plusses and escaped
backslashes as appropriate.
2009-06-11 17:19:48 +02:00
Martin Geisler
df6db3c4ae hgignore.5: remove extra quotes
The so-called "unconstrained quotes" didn't really work, so I reverted
them to normal quotes. Tested with asciidoc version 8.2.7 and 8.4.5.
2009-06-11 17:16:04 +02:00
Benoit Boissinot
101bc29df4 doc: correctly escape * 2009-06-10 03:20:20 +02:00
Benoit Boissinot
89aac29846 doc: correctly escape * 2009-06-10 03:10:46 +02:00
Martin Geisler
215f869db8 hg.1: highlight references to commands and man pages 2009-06-10 01:14:16 +02:00
Martin Geisler
f906d04b19 hg.1: simplify synopsis
Now that arguments can be mixed with options we can simplify the
synopsis considerably. Also, highlighting the command name in bold
(instead of italics) seem to be the standard convention.
2009-06-10 01:09:21 +02:00
Martin Geisler
6d7eccbdcc hgrc.5: spell check 2009-06-10 00:55:57 +02:00
Martin Geisler
bc5c193ce2 man pages: add meta data
This removes the fixme's that were otherwise inserted.
2009-06-10 00:46:30 +02:00
Martin Geisler
f88e959011 man pages: updated copyright years 2009-06-10 00:13:08 +02:00
Martin Geisler
a5e22ab2f7 hgrc.5: use NOTE admonition paragraph 2009-06-10 00:11:24 +02:00
Martin Geisler
25c277802b hgrc.5: reformatted to avoid big chunks of monospaced text
The man page used to have lines longer than 80 characters, even though
all lines in the hgrc.5.txt file were wrapped nicely. The problem
turned out to be that the indented paragraphs started literal blocks
instead of normal paragraphs. The literal blocks were of course not
wrapped when displayed by man.

In short, the asciidoc rules require lists to be formatted like this:

foo::
  Some description of foo.
+
Another paragraph in the description of foo. It *must* start flush
left and the plus is necessary to indicate that this is a list item
continuation.

Lists with nested lists can be formatted correctly using something
called "open blocks". These blocks are used to group the list items
and are marked by a line above and below with two dashes. See the
asciidoc user guide for the gory details...
2009-06-10 00:06:20 +02:00
Martin Geisler
f4b6037b5b hgrc.5: mark filename patterns as monospaced text 2009-06-09 23:26:16 +02:00
Martin Geisler
6f8338698b hgrc.5: single quotes means italic in asciidoc
Use double quotes instead and mark the * as monospaced text.
2009-06-09 23:24:43 +02:00
Martin Geisler
c4cdb96344 man pages: mark filenames and env vars as fixed text 2009-06-09 23:08:55 +02:00
Martin Geisler
95425236a2 hgrc.5: wrap lines at 70 chars (whitespace cleanup) 2009-06-08 00:14:24 +02:00
Martin Geisler
46e9222615 hgignore.5: wrap lines at 70 chars (whitespace cleanup) 2009-06-08 00:13:58 +02:00
Martin Geisler
7361cab872 hg.1: wrap lines at 70 chars (whitespace cleanup) 2009-06-08 00:13:35 +02:00
timeless
0bd3444de9 hgrc.5: language fixes 2009-06-07 17:34:12 +02:00
Christian Ebert
acc65a6303 hgrc.5: wrap manpage at 80 chars
Checked with asciidoc 8.4.5
2009-06-01 02:17:57 +02:00
Brendan Cully
5189b36798 Move alias into core 2009-05-30 11:32:23 -07:00
Ori Avtalion
c9dc788181 gendoc: add missing space in command synopsis 2009-05-22 20:19:22 +02:00
Brodie Rao
f244d61202 hgrc.5: fix label delimiter 2009-05-09 15:08:46 -04:00
Sune Foldager
4a665141b4 allow http authentication information to be specified in the configuration 2009-05-04 20:26:27 +02:00
Giorgos Keramidas
afd8c70fd6 manpage build: fail early when xmlto is not available
When we try to build manpages with xmlto and sed, but xmlto is
missing fail at the xmlto stage.  Otherwise, one may run `cd doc;
make' and miss the warnings like:

  xmlto: not found
  sed: hg.1: No such file or directory

and end up with empty files installed as manpages.
2009-05-07 15:08:25 +03:00
Nicolas Dumazet
6ebdee6dde profiling: Adding support for kcachegrind output format, using lsprofcalltree 2009-04-08 14:20:57 +02:00
Nicolas Dumazet
f2cfd93c8c profiling: Adding a profiling.format config variable
Allows defining other output formats for profiling.

If an invalid format is given, output a warning and ignore it.
For now, only the standard 'text' value is supported.
2009-04-02 16:01:30 +09:00
Nicolas Dumazet
14ff1a53ae profiling: Adding profiling.output config variable
If specified, outputs profiling data to the said file.
Prints to stderr by default
2009-04-08 14:19:41 +02:00
Alexander Solovyov
609db13729 ability to load hooks from arbitrary python module 2009-03-27 01:28:09 +02:00
Christian Ebert
d3b93918d5 Do not install executable man pages
Default mode of install might be 755, therefore specify 644.
2009-01-25 12:21:57 +01:00
Patrick Mezard
2771395c7d Document how HTML documentation is built under Windows 2009-01-17 15:15:26 +01:00
Christian Ebert
d66ba973f0 hgrc 5: fix email.charsets documentation 2008-12-02 15:31:48 +01:00
Matt Mackall
d5c6f31ce5 doc: handle shortened command synopses 2008-11-14 14:12:16 -06:00
Mark Edgington
bf5852441b hgweb: support for deny_read/allow_read options
reimplementation of a patch provided by Nilton Volpato.

Folded into a single patch by Thomas Arendsen Hein.
2008-10-31 15:28:06 +01:00
Christian Ebert
44f3c4c080 hgrc.5: explain order of mail.charsets
TODO: add mail.charsets section to hgrc.5.ja.txt
2008-10-22 11:57:20 +02:00
Thomas Arendsen Hein
78d2b2a81c Document config option format.usefncache and improve format.usestore docs. 2008-10-24 14:58:24 +02:00
Matt Mackall
e617903e64 Autodetect static-http 2008-10-22 15:41:32 -05:00
Christian Ebert
3ecc265292 Document email.charsets in hgrc.5
hgrc.5.ja.txt probably should include an example like:

[email]
charsets = iso-8859-1, iso-8859-15, windows-1252, iso-8859-2,
           windows-1250, iso-2022-jp, iso-2022-jp-ms
2008-10-16 17:08:46 +02:00
Martin Geisler
090a14a77f i18n: use gettext instead of _
Both gettext and _ trigger a translation at runtime, but _ can only be
used with a string argument since it also triggers string extraction.
2008-09-09 21:32:39 +02:00
Martin Geisler
66070424fd restructure helptable
When looking up a help topic, the key is now only matched against the
short names for each topic, and not the header. So

  hg help 'Environment Variables'

must be replaced with

  hg help env
2008-09-09 21:32:39 +02:00
Christian Ebert
c486b58886 doc/Makefile: rephrase comment (typo) 2008-08-28 13:06:24 +02:00
Benoit Boissinot
0c4a5ee0aa ui: add an option to prompt for the username when it isn't provided
When ui.askusername is set and not username are specified on the command line,
in hgrc or in the variables $HGUSER or $EMAIL, then hg will prompt for the
username.
Feature requested, and documentation provided by Mark Edgington.
2008-08-06 15:10:05 +02:00
Dirkjan Ochtman
c826ee8fa5 merge from crew-stable 2008-06-24 09:34:38 +02:00