Commit Graph

212 Commits

Author SHA1 Message Date
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
Markus F.X.J. Oberhumer
974b7c5201 Add option "hidden" to hgwebdir.
TODO: should this option be renamed to 'hide_from_index' or
maybe to 'index_ignore' (like Apache's mod_autoindex) ?
2007-06-25 14:46:20 +02:00
OHASHI Hideya
83f32e7ff9 Enable to select encoding in hgrc web section
This patch provides character encoding setting in each repository. After this
patch, You can use multi encoding repositories with one mercurial server.
2007-06-13 18:18:06 +09:00
Thomas Arendsen Hein
f1c2183cb0 Backed out changeset 6e4b2043f10ea50b3eeb0ceb3e8776032fb8d92e
Only printenv was changed, not the actual execution of hooks.
And not setting an empty value might cause problems on platforms
which can't always remove variables from the environment.
2007-06-21 10:00:59 +02:00
Thomas Arendsen Hein
4df6409ef2 Adjust note about variables not being set for empty values. 2007-06-21 09:45:33 +02:00
Patrick Mezard
10eeab335d Merge with crew-stable 2007-06-20 22:05:43 +02:00
Patrick Mezard
cb7eb3ca92 Document empty environment variables not being passed to hooks under Windows. 2007-06-20 21:35:41 +02:00
Thomas Arendsen Hein
4d29c6dc8e Updated copyright notices and add "and others" to "hg version" 2007-06-19 08:51:34 +02:00
Matt Mackall
c61bc27ccc dispatch: add generic pre- and post-command hooks 2007-06-18 17:49:56 -05:00
Alexis S. L. Carvalho
af3964b248 Add ui.slash hgrc setting
This will make most commands print paths using "/", regardless of
the value of os.sep.
2007-06-08 23:49:12 -03:00
Patrick Mezard
3e2c29954d Add ui.patch option.
ui.patch overrides the default patch/gpatch command and options.
2007-05-12 21:09:31 +02:00
Matt Mackall
8c444e1f45 Allow disabling store format to work with absurdly long filenames 2007-03-08 16:12:52 -06:00
Alexis S. L. Carvalho
b95f1add5a hgweb: allow static files to be served directly by the HTTP server 2007-02-15 08:51:32 -02:00
Alexis S. L. Carvalho
fff454d591 Merge with crew-stable 2007-01-30 19:36:56 -02:00
Thomas Arendsen Hein
661a8e64e4 Adjust documentation for 506f21c68c1d (empty username to force specifying it) 2007-01-25 17:57:51 +01:00
Jonathan Smith
873ddc131c use DESTDIR both places its needed 2007-01-15 15:49:06 -05:00
Jonathan Smith
5282371a7c honor DESTDIR env variable for docs' make install 2007-01-15 15:31:38 -05:00
Jonathan Smith
2389afe820 install man pages by default into $(PREFIX)/share/man not $(PREFIX)/man since the FHS puts them there 2007-01-15 15:30:50 -05:00
Benoit Boissinot
9fe271946b add [diff] section to hgrc documentation 2006-12-29 04:22:31 +01:00
Thomas Arendsen Hein
ef969c8db0 Include hg.1.gendoc.txt in doc/MANIFEST to prevent unnecessary rebuild. 2006-12-16 13:57:37 +01:00
Thomas Arendsen Hein
9a5ca784b6 Regenerate hg.1 manpage if help text in help.py changes. 2006-12-16 13:54:23 +01:00
Benoit Boissinot
253a9af902 fix MANIFEST generation 2006-12-12 11:39:05 +01:00
Alexis S. L. Carvalho
edf9fef62b Allow the user to specify the fallback encoding for the changelog
Example: use EUC-JP instead of ISO-8859-1:

[ui]
fallbackencoding = EUC-JP
2006-12-08 22:01:05 -02:00
Matt Mackall
33b4d3e066 move patterns topics 2006-12-05 16:36:06 -06:00
Matt Mackall
85c7dc0db1 move environment topic 2006-12-05 16:31:08 -06:00
Matt Mackall
027172c8e1 Generate docs for help topics 2006-12-05 16:28:59 -06:00
Matt Mackall
205ca192c3 Add documentation for charset encoding options 2006-12-03 16:16:33 -06:00
Benoit Boissinot
3bad25e752 only print a warning when no username is specified
- revert most of 8b55c0ba
- display the username during interactive commit
2006-11-28 21:16:05 +01:00
Thomas Arendsen Hein
161d77a963 Corrected documentation for return value of python hooks. 2006-11-05 21:57:52 +01:00
Alexis S. L. Carvalho
cb59e4de82 save settings from untrusted config files in a separate configparser
This untrusted configparser is a superset of the trusted configparser,
so that interpolation still works.

Also add an "untrusted" argument to ui.config* to allow querying
ui.ucdata.

With --debug, we print a warning when we read an untrusted config
file, and when we try to access a trusted setting that has one value
in the trusted configparser and another in the untrusted configparser.
2006-10-26 19:25:45 +02:00
Alexis S. L. Carvalho
c44cea1532 Only read .hg/hgrc files from trusted users/groups
The list of trusted users and groups is specified in the [trusted]
section of a hgrc; the current user is always trusted; "*" can be
used to trust all users/groups.

Global hgrc files are always read.

On Windows (and other systems that don't have the pwd and grp modules),
all .hg/hgrc files are read.

This is essentially the same patch that was previously applied as
revision f077d29b114d.
2006-10-26 19:25:44 +02:00
Thomas Arendsen Hein
51c2c94d6a Corrected hg synopsis. 2006-10-26 09:22:10 +02:00
Thomas Arendsen Hein
37655ca869 Commit username: Better error message, abort on empty name, fix documentation. 2006-10-23 14:56:51 +02:00
Benoit Boissinot
dc9483558a makes username mandatory 2006-10-18 22:24:03 +02:00
Thomas Arendsen Hein
31f16d1cd6 Put in backslash again, it was needed to disable an asciidoc macro.
Backed out changeset a8915ff52fc6632f67eb708239fc7bec4225f1f1
2006-10-07 22:11:02 +02:00
Thomas Arendsen Hein
a094b15814 Corrected typo in date format, found by Rob Landley. 2006-10-07 22:02:56 +02:00
Thomas Arendsen Hein
84a05c493c Some versions of sed don't support .\+, so use ..* instead.
Reported by Christian Ebert for MacOS X.
2006-10-05 20:03:38 +02:00
Benoit Boissinot
13a0c62f2b merge with crew 2006-10-05 00:14:21 +02:00
Thomas Arendsen Hein
42c4074e72 Corrected install location of manpages.
(man/manSECTION/ instead of man/man.SECTION/)
2006-10-04 18:43:40 +02:00
Jose M. Prieto
7670d11c8a Add documentation about the date formats allowed in the command line 2006-10-03 12:33:22 +02:00
Matt Mackall
d031f12c1d Merge with backout 2006-09-15 16:01:16 -05:00
Matt Mackall
277fde1fea Back out trusted hgrc change for now
Backed out changeset f077d29b114d4
2006-09-15 16:00:16 -05:00
Alexis S. L. Carvalho
fa133e9e4f Only read .hg/hgrc files from trusted users/groups
The list of trusted users and groups is specified in the [trusted]
section of a hgrc; the current user is always trusted; "*" can be
used to trust all users/groups.

Global hgrc files are always read.

On Windows (and other systems that don't have the pwd and grp modules),
all .hg/hgrc files are read.
2006-08-22 20:45:03 -03:00
Bryan O'Sullivan
24286794a7 Add ui.strict config item.
This turns off command matching by unambiguous prefix, and is a good
thing if you want to write future-proof scripts.

This fixes issue 314.
2006-08-21 21:59:29 -07:00
Vadim Gelfer
dc377b58c1 update copyrights. 2006-08-12 12:30:02 -07:00
Thomas Arendsen Hein
8d8bec1f32 Adjusted documentation for hgrc's "[smtp] host" for change in e579f762cc2a. 2006-08-11 09:11:54 +02:00
Christian Ebert
9cf960e0c5 email: reflect that recipients are specified as comma-separated list 2006-07-27 13:18:21 +02:00
Christian Ebert
17dd085b28 added documentation for to, cc, and bcc addressing 2006-07-26 14:42:17 +02:00
Christian Ebert
2be3c1149c fix reference to "smtp" section
documentation for "method" has reference to "mail" section.
"mail" section doesn't exist, changed to "smtp".
2006-07-26 15:21:20 +02:00