annotate doc/README @ 1031:503aaf19a040
Rewrite log command. New version is faster and more featureful.
The original implementation of log walked backwards through history,
which had terrible behaviour. It took several minutes to view
complete kernel change history on a fast machine, for example.
The rewrite uses a windowed approach to walk hunks of history
forwards, while still giving results in reverse order. This reduces
run time from five minutes to five seconds on my system.
In addition, the rewrite uses our normal name handling mechanisms, so
you can run a command like "hg log net/ipv4/**.c" and get a useful
answer. It optimises for three different cases (no arguments, only
files, and anything goes), so it performs well in all circumstances
I've tested.
author |
Bryan O'Sullivan <bos@serpentine.com> |
date |
Wed, 24 Aug 2005 12:39:10 -0700 |
parents |
7a3a3952c431 |
children |
8db8e1100f3f |
rev |
line source |
453
|
1 Mercurial's documentation is currently kept in ASCIIDOC format, which
|
|
2 is a simple plain text format that's easy to read and edit. It's also
|
|
3 convertible to a variety of other formats including standard UNIX man
|
|
4 page format and HTML.
|
177
|
5
|
453
|
6 To do this, you'll need to install ASCIIDOC:
|
177
|
7
|
453
|
8 http://www.methods.co.nz/asciidoc/
|
177
|
9
|
453
|
10 To generate the man page:
|
177
|
11
|
453
|
12 asciidoc -d manpage -b docbook hg.1.txt
|
|
13 xmlto man hg.1.xml
|
177
|
14
|
453
|
15 To display:
|
177
|
16
|
453
|
17 groff -mandoc -Tascii hg.1 | more
|
177
|
18
|
453
|
19 To create the html page (without stylesheets):
|
177
|
20
|
453
|
21 asciidoc -b html hg.1.txt
|