A Scalable, User-Friendly Source Control System.
Go to file
Peter Arrenbrecht 30621bccda mq: add --currentdate and --date options to qnew and qrefresh
These options make qnew add and qrefresh update a "# Date "-style
header line. This allows proper recording of creation / last
modification dates of patches in patch queues.

Note that `qrefresh -D` only updates existing header lines. It never
adds them, and does not warn about this. This is because I expect
people to have `[default] qrefresh -D` in their .hgrc so patches with
tracked dates get updated, others are left unchanged. The suggested
setup in .hgrc is, in fact,

  [default]
  qnew = -D -U
  qrefresh = -D

I tried to not mix header styles, so `qnew -D -U` now writes the user in
"# User "-style, while `qnew -U` still writes it "From: "-style. Also, if
`qrefresh -U` must add the user, it does so in "# User "-style if the
header contains a "# HG changeset patch" line. (This is caused by mq
not supporting the "Date: "-style header line at all - a reasonable choice
given its standard date format.)
2008-01-02 16:24:13 +01:00
contrib Merge with stable 2007-12-18 15:17:11 -06:00
doc Don't let ui.username override web.contact (issue900) 2008-01-01 17:07:15 +01:00
hgext mq: add --currentdate and --date options to qnew and qrefresh 2008-01-02 16:24:13 +01:00
mercurial Move aliases section in help below synopsis (issue362) 2008-01-02 20:22:10 +01:00
templates Fixed XHTML validation errors 2008-01-03 13:39:26 -06:00
tests mq: add --currentdate and --date options to qnew and qrefresh 2008-01-02 16:24:13 +01:00
.hgignore .hgignore += tags & cscope files 2007-12-25 18:48:43 +03:00
.hgsigs Added signature for changeset 579d076d3e94c0b2efc521d81e47509b5b602020 2007-10-19 18:25:28 -05:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING Add COPYING 2005-06-17 09:32:13 -08:00
hg Change standard streams mode to binary at hg startup 2007-11-10 21:30:59 +01:00
hgeditor hgeditor: Use $HG to run 'hg diff' (see 9779a8c8d672) 2007-06-23 20:22:17 +02:00
hgmerge Use VISUAL in addition to EDITOR when choosing the editor to use. 2007-12-05 20:40:01 +09:00
hgweb.cgi Less indirection in the WSGI web interface. This simplifies some code, and makes it more compliant with WSGI. 2007-11-30 18:23:18 +01:00
hgwebdir.cgi Less indirection in the WSGI web interface. This simplifies some code, and makes it more compliant with WSGI. 2007-11-30 18:23:18 +01:00
Makefile Makefile: remove *.pyd files on "make clean". 2007-06-25 14:46:20 +02:00
README Move README info to wiki 2006-12-19 17:17:08 -06:00
setup.py win32: do not install bash hgmerge on Windows 2007-12-07 18:15:24 -06:00

Basic install:

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

See http://www.selenic.com/mercurial/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.