Commit Graph

110 Commits

Author SHA1 Message Date
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
Dirkjan Ochtman
e31d0e46c9 Merge from crew-stable. 2008-04-07 09:26:40 +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
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
1edbaf314a Remove spurious escape attempt in hg.1.txt 2007-12-10 00:35:04 +00: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
Brendan Cully
4b733bff67 Document pseudo-tags "null" and ".". 2007-09-11 13:23:59 -07: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
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
Thomas Arendsen Hein
51c2c94d6a Corrected hg synopsis. 2006-10-26 09:22:10 +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
Jose M. Prieto
7670d11c8a Add documentation about the date formats allowed in the command line 2006-10-03 12:33:22 +02:00
Benoit Boissinot
8e44aaf0dd Document the fact that revert might overwrite .orig files 2006-08-29 19:26:58 +02:00
Vadim Gelfer
dc377b58c1 update copyrights. 2006-08-12 12:30:02 -07:00
Benoit Boissinot
6eff6b4069 replace old-http:// syntax by static-http:// and deprecate the redundant hg:// 2006-06-14 21:53:42 +02:00
Vadim Gelfer
b2130fb2d5 document hgignore syntax in new file doc/hgignore.5.txt.
fix issue 162.
2006-05-04 22:20:02 -07:00
Thomas Arendsen Hein
db17ec404e Web site and wiki are now the same. 2006-04-01 19:11:59 +02:00
Vadim Gelfer
9504f432e5 add HGRCPATH env var, list of places to look for hgrc files.
if set, override default hgrc search path.
if empty, only .hg/hgrc of current repo read.

for each element, if directory, all entries in directory with end in
".rc" are added to path.  else, element is added to path.

big thing about this change is that user "~/.hgrc" and system hgrc not
longer breaks tests.  run-tests makes HGRCPATH empty now.
2006-03-14 21:40:46 -08:00
Benoit Boissinot
f1aae6bd52 generate hg manpage from commands.py docstring
gendoc.py is a script generating a part of the manpage (the commands
help and options) from the docstring in commands.py.
It avoids duplicating the doc between the doc/ directory and the docstrings.
To generate the manpage, 'make doc' will create all the necessary intermediate
files.
2006-02-28 00:48:49 +01:00
Vadim Gelfer
2945acbf40 add options to log man page. 2006-02-20 11:09:25 -08:00
Vadim Gelfer
250a3b7e9d add -l,--limit to log command. 2006-02-20 11:06:41 -08:00
Vadim Gelfer
b1dabd957f add --daemon option to serve command. for issue 45.
code looks odd because it is portable to windows. windows does not have
os.fork, so have to spawn and use pipe to tell parent ready instead.
2006-02-17 16:29:30 -08:00
Vadim Gelfer
b208eaf201 add -p option to tip. for issue 64. 2006-02-15 11:05:43 -08:00
Vadim Gelfer
81d4eba8eb add -w and -p options to diff. this is for issue 126. 2006-02-15 10:39:47 -08:00
Matt Mackall
6f37e02b78 doc: clone and outgoing point to pull for valid path docs 2006-01-29 20:13:43 +13:00
Matt Mackall
7b07f944d2 deprecate the rawcommit command 2006-01-29 19:06:42 +13:00
Vadim Gelfer
951f815f9b document revert command more accurately.
this fixes issue 87.
2006-01-02 14:31:25 -08:00
lupus@debian.org
465111ba8f Added --date option to annotate. 2005-11-09 13:39:24 -08:00
Matt Mackall
5b35150f96 Remove copy/rename --parents option
This is no longer needed now that we have more standard UNIX-like copy
semantics.
2005-10-26 16:32:50 -07:00
Vincent Danjean
041288b787 Fix copyright symbol in docs
--- hg.orig/doc/hg.1.txt	2005-09-22 09:40:47.000000000 -0700
+++ hg/doc/hg.1.txt	2005-09-23 18:31:58.000000000 -0700
@@ -802,6 +802,6 @@ http://selenic.com/mailman/listinfo/merc

 COPYING
 -------
-Copyright (C) 2005 Matt Mackall.
+Copyright \(C) 2005 Matt Mackall.
 Free use of this software is granted under the terms of the GNU General
 Public License (GPL).
Index: hg/doc/hgmerge.1.txt
===================================================================
--- hg.orig/doc/hgmerge.1.txt	2005-06-30 10:19:51.000000000 -0700
+++ hg/doc/hgmerge.1.txt	2005-09-23 18:31:59.000000000 -0700
@@ -30,6 +30,6 @@ hg(1) - the command line interface to Me

 COPYING
 -------
-Copyright (C) 2005 Matt Mackall.
+Copyright \(C) 2005 Matt Mackall.
 Free use of this software is granted under the terms of the GNU General
 Public License (GPL).
2005-09-23 18:59:16 -07:00
Thomas Arendsen Hein
455a56454d Cleanup of tabs and trailing spaces. 2005-09-21 07:56:19 +02:00
Bryan O'Sullivan
9b97ac29ea Add --pull option to clone. 2005-09-20 11:20:48 -07:00
Florian La Roche
6597085860 Fix man page typos 2005-09-18 14:06:36 -07:00
Bryan O'Sullivan
f0b627c75a Update doc for ssh URL, describing path handling more clearly. 2005-09-16 13:34:29 -07:00
mpm@selenic.com
05e9c74f43 mark copy/rename as experimental in the docs 2005-09-15 00:49:40 -05:00
Bryan O'Sullivan
b6e3f2ae8c Switch cat command to use walk code.
The old syntax of "hg cat FILE REV" is now obsolete.
Use "hg cat -r REV FILE" instead, as for all other commands.
2005-09-14 21:57:41 -07:00
Bryan O'Sullivan
db7eec2670 Add rename/mv command.
This is the logical equivalent of copy and remove, and is in fact
implemented as such.  It doesn't use the remove command directly.
2005-09-14 16:34:22 -07:00
Bryan O'Sullivan
048d850eb8 Fix up copy command to behave more like regular "cp".
In addition to recording changes, copy now updates the working
directory.
2005-09-14 14:29:02 -07:00
Bryan O'Sullivan
33fe1a1d9e Make remove command really unlink files. 2005-09-14 10:50:03 -07:00
mpm@selenic.com
09d2a3f668 Add preliminary support for the bundle and unbundle commands 2005-09-08 01:27:25 -07:00
Thomas Arendsen Hein
7f7f7a2f22 Cleanup of tabs and trailing spaces in documentation. 2005-09-08 09:11:17 +02:00
mpm@selenic.com
8989165f6e Change grep -e to grep --all
We want to reserve -e for future use and grep compatibility.

I've changed every-match to all out of a general preference for
shorter long option names where short options don't exist.
2005-09-07 20:50:23 -07:00
mpm@selenic.com
913fee3381 Fold import -m option into import -f 2005-09-07 20:09:16 -07:00
TK Soh
64dcff79fa Add -p to incoming and outgoing commands to show patch 2005-09-01 09:11:25 -07:00
bos@serpentine.internal.keyresearch.com
1c87d60be4 Revert changeset 0ba7f6134a4a2cbd767c5ec5cc497dbecf1b4e36.
I inadvertantly used "hg import" on a message I saved, expecting it to do
the right thing, but instead it made the commit look like I authored it,
and filled the description with the email header.

Changeset 238f05c9201ffe16c81e32a55d4d6b563cc9f605 contains a guard
against "hg import" doing this again.
2005-09-01 09:08:21 -07:00
bos@serpentine.internal.keyresearch.com
31ab427b7b Make import command reject patches that resemble email messages.
See changeset 0ba7f6134a4a2cbd767c5ec5cc497dbecf1b4e36 for an example
of why this is a good idea.
2005-09-01 09:04:18 -07:00