Commit Graph

260 Commits

Author SHA1 Message Date
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
Dirkjan Ochtman
331f22c437 use ${PYTHON} var in doc/Makefile as well 2008-06-24 09:33:13 +02:00
Johannes Stezenbach
fd4475d65a help: move "revision syntax" help topics into online help
Move the "Specifying Single Revisions" and "Specifying Multiple
Revisions" help topics from the manual page into the helptable
so they are available both online and in the manual page.
2008-06-03 21:20:52 +02:00
Johannes Stezenbach
2a7f0686c0 help: helptable is an ordered collection
The helptable is used for helptopics listed in the manual
page, so the order of topics should not be random.
Convert it from a dictionary into a tuple of tuples.
Also reorder helptable entries to keep previous manual
page order.
2008-06-03 21:03:51 +02:00
Adrian Buehlmann
ce4d2eca37 doc/hgrc.5.txt: add anchors for sections
Enables links into hgrc.5.html of the form: hgrc.5.html#section
2008-05-14 01:08:51 +02:00
Adrian Buehlmann
855a483848 gendoc: add anchors for commands
Enables links into hg.1.html of the form: hg.1.html#command
2008-04-23 19:40:15 +02:00
Dirkjan Ochtman
e31d0e46c9 Merge from crew-stable. 2008-04-07 09:26:40 +02:00
Christian Ebert
3247bd3127 gendoc: fix indentation 2008-04-06 13:13:31 +02:00
Christian Ebert
e208fbcb2d hg.1: bogus escaping of .hg* not needed anymore
Revert a1f27fda31ea, bbc0eeefe0b3 workarounds.
2008-04-06 13:13:31 +02:00
Christian Ebert
d68174388b doc: escape .hg at bol in manpages with make (issue1072)
This works around a bug in old docbook stylesheets.
Remove .*.swp example from hgignore.5.txt.

Diagnosis and workaround thanks to Alexis S. L. Carvalho.
2008-04-07 09:02:04 +02:00
Christian Ebert
592b27aad1 asciidoc: consistently use 1 space after full stop
Note: the command doc strings included in hg (1) are still
      inconsistent wrt to spaces after full stops.
2008-04-01 14:35:35 +02:00
Christian Ebert
cbc606291c hgrc.5: fix subsection formatting 2008-04-01 14:35:11 +02:00
Matt Mackall
4794cecf39 pager: remove pager code from core 2008-03-20 11:12:35 -05:00
Peter Arrenbrecht
8a1366afb6 make hgrc man page tell about ~/.hgrc on Windows 2008-03-07 16:19:46 +01:00
David Soria Parra
fba7246b03 Use the pager given by the environment to display long output
Unix systems usually have a PAGER environment variable set.
If it is set, mercurial will use the pager application to display
output.

Two configuration variables are available to influence the behaviour of the
pager. ui.pager sets the pager application. The pager is
only used if ui.usepager is true. By default ui.usepager is disabled.
2008-03-18 22:12:34 +01:00
Thomas Arendsen Hein
deb94bc7fe Removed trailing spaces from everything except test output 2008-03-07 00:24:36 +01:00
Thomas Arendsen Hein
da3b50be51 Add config option to disable putting .hg_archival.txt inside archives. 2008-02-28 22:39:59 +01:00
Steve Borho
6ccb1552b6 add explicit extension disabling syntax to hgrc.5 2008-02-26 06:25:11 -06:00
Thomas Arendsen Hein
6f399a19b1 merge backout 2008-02-18 19:21:33 +01:00
Thomas Arendsen Hein
4d33c02751 Backed out changeset 8105fa3c7347 (see issue971/msg5317) 2008-02-18 19:20:22 +01:00
Bryan O'Sullivan
dfa3e1ea9b profiling: allow CGI and FastCGI to be profiled 2008-02-01 13:09:45 -08:00
Michele Cella
3d9c1412dd added an entry about the prefix option inside the hgrc man page 2008-01-22 23:07:23 +01:00
Thomas Arendsen Hein
1566cda979 Don't let ui.username override web.contact (issue900)
63beab327d26 introduced using ui.username before web.contact, but this was
never documented and might cause commit accidents.

- Drop web.author (deprecated since 2005)
- Try ui.username or $EMAIL as a fallback to display something useful.
- Update docs for the fallbacks.
2008-01-01 17:07:15 +01:00
Jesse Glick
47211365ca man 5 hgrc implied you need to use external tools to do CRLF translation.
This is no longer true; win32text provides a much better in-process alternative.
2007-12-20 07:46:47 -08:00
Christian Ebert
1edbaf314a Remove spurious escape attempt in hg.1.txt 2007-12-10 00:35:04 +00:00
Matt Mackall
a172f3448b doc: correct preoutgoing description 2007-12-10 10:23:56 -06:00
Matt Mackall
7d8a71a539 churn: avoid division by zero 2007-12-02 17:04:16 -06:00
Matt Mackall
2e547ddf4b doc: add repo/ to .hgignore and .hgtags
These names were disappearing in the asciidoc output and no form of
escaping seems to help. Let's just add repo/ to make it explicit that
they're in the repository root.
2007-12-02 15:52:36 -06:00
Steve Borho
6d589928ab win32: read system rcpath from registry
Using the module name was not always helpful.  It breaks down
when Mercurial is installed as source and when the Mercurial
libs are used by external applications.

This patch allows Mercurial installers to store the system wide
rcpath in the registry, where it can always be found.  HGRCPATH
is a poor option for storing the system wide rcpath, since it
overrides both the system and user rcpaths.
2007-12-02 17:15:03 +01:00
Steve Borho
a42f97b40e filemerge: add 'checkchanged' merge tool property 2008-02-06 20:32:06 -06:00
Steve Borho
434a24dd1b add merge sections to hgrc.5 2008-01-31 22:32:11 -06:00
Matt Mackall
a2dcecb2de filemerge: remove the hgmerge script
This is now better handled using [merge-tools] and [merge-patterns] in hgrc.
2008-02-03 19:29:05 -06:00
Bryan O'Sullivan
b945cf7339 profile: expand PID in output file name 2008-02-01 13:31:46 -08:00
Brendan Cully
d03ed3d33e Merge with crew-stable 2007-09-11 13:24:52 -07:00
Brendan Cully
4b733bff67 Document pseudo-tags "null" and ".". 2007-09-11 13:23:59 -07:00
Matt Mackall
73411dd185 gendoc: use demandimport 2007-08-20 21:10:45 -05:00
Thomas Arendsen Hein
001b7980f8 Remove trailing spaces 2007-08-07 10:24:33 +02:00
Brendan Cully
a3d0fd0b0d Update asciidoc instructions to suggest html4 for newer versions 2007-08-01 14:32:05 -07:00
Thomas Arendsen Hein
28e90ca5c4 Fixed double slash for doc install path introduced by using $DESTDIR (issue620)
$MANDIR already is an absolute path so the extra / isn't needed.
2007-07-08 12:58:19 +02:00
Thomas Arendsen Hein
61d51838df New config option: ui.report_untrusted (defaults to True) 2007-06-25 22:41:15 +02:00
Thomas Arendsen Hein
f4d1e9e360 Fixed sorting inside nearly sorted sections in hgrc.5 2007-06-24 11:17:49 +02:00