Commit Graph

73 Commits

Author SHA1 Message Date
Thomas Arendsen Hein
d3fc1dadc1 Documentation fixes for addremove.
- It is no longer deprecated, but the short help still included (DEPRECATED).
- Similarity parameter has to be 0<=s<=100 and not 0<=s<=1.
2006-09-27 21:43:45 +02:00
Vadim Gelfer
5a993ee589 merge. 2006-08-18 21:17:28 -07:00
Brendan Cully
c18265f47c Add diff --git option 2006-08-14 22:48:03 -07:00
Vadim Gelfer
61cd2f1088 addremove: do not deprecate.
command is too useful to drop.
is also best place to try autodetect of rename/copy by content similarity.
2006-07-23 09:04:14 -07:00
Vadim Gelfer
9738466350 status: add -c (clean) and -A (all files) options
also add new localrepo.status what is more uniform than localrepo.changes.
localrepo.changes is deprecated and will go away soon.
2006-07-20 16:21:07 -07:00
Vadim Gelfer
c70a1efd28 fix tests. 2006-07-19 07:56:40 -07:00
Haakon Riiser
7b06333d1a diff: add -b/-B options 2006-06-29 15:16:25 +02:00
Vadim Gelfer
4538f9a28f help: make "hg help EXTENSION" work 2006-07-03 14:30:24 -07:00
Vadim Gelfer
c2a4ad5200 update test-help output after new options. 2006-06-09 09:14:52 -07:00
Vadim Gelfer
79f11ff2dd hide deprecated undo command by making it an alias for debugundo. 2006-05-09 20:56:13 -07:00
Vadim Gelfer
0401f2bd35 fix test-help output. 2006-05-08 14:18:19 -07:00
Thomas Arendsen Hein
9be2b594a2 Fixed tests for changed help output 2006-05-06 16:43:16 +02:00
Vadim Gelfer
9522c700f4 revert: remove word "modified" from description. 2006-05-05 11:07:29 -07:00
Vadim Gelfer
9c9dc84168 update test-help.out after fixing revert docs. 2006-05-04 15:25:24 -07:00
Thomas Arendsen Hein
dc3e204fa1 Add debugaddremove alias to addremove, so it doesn't show up in 'hg help'.
Add an explicit description of 'hg commit --addremove'.
2006-05-03 10:53:51 +02:00
Vadim Gelfer
6e0d4ab1da deprecate addremove command. 2006-05-02 21:50:53 -07:00
Vadim Gelfer
1975d41da8 add backout command.
command undoes effect of an earlier commit, commits new changeset
as result.
2006-04-29 20:56:46 -07:00
Thomas Arendsen Hein
995ddadce4 Make the deprecated forget an alias of debugforget.
This way it doesn't show up in the non-debug help.
2006-04-27 13:11:23 +02:00
Vadim Gelfer
184aae8b48 mark forget command as deprecated.
will be removed after 0.9 released.
2006-04-26 12:05:16 -07:00
Vadim Gelfer
225a97f6fa update tests after changing archival code.
test-archive now contains tests for archive command.
2006-04-21 15:47:27 -07:00
Thomas Arendsen Hein
f0fd01b209 New option -i/--ignored for 'hg status' to show ignored files.
localrepo.changes() now returns an additional list of ignored files if
it is called with show_ignored=True.
2006-03-29 22:58:34 +02:00
Vadim Gelfer
dfe0de6855 add merge command. means same thing as "update -m".
repo.addchangegroup method now returns number of heads modified and added,
so command line can tell whether update or merge needed.  this makes
tiny change to ssh wire protocol, but change is backwards compatible.

pull command now returns 0 if no changes to pull.
2006-03-29 10:27:16 -08:00
Thomas Arendsen Hein
a082d9732f Make the deprecated rawcommit an alias of debugrawcommit.
This way it doesn't show up in the non-debug help.
2006-03-01 09:14:25 +01:00
Thomas Arendsen Hein
02e514f848 Updated help synopsises and reordered some options. Dropped [-n] from revert. 2006-03-01 09:08:56 +01:00
Vadim Gelfer
837f070f08 fix test-help diff options. 2006-02-16 09:09:45 -08:00
Matt Mackall
7b07f944d2 deprecate the rawcommit command 2006-01-29 19:06:42 +13:00
Thomas Arendsen Hein
f3bc2ce43a Adjusted all but one test output for the new behaviour of localrepo.changes() 2006-01-12 21:02:38 +01:00
Benoit Boissinot
41566e68ad make all commands be repo-wide by default
- refactor code in commands.py so that:
  if no pattern is given, the command will be repo-wide
  else it will work on the working dir
- update the doc
- fix the tests
2005-12-01 10:51:45 -06:00
Matt Mackall
763f80e0dc Fix up test-help, mark test-rename +x 2005-11-08 10:36:23 -08:00
Matt Mackall
b464a7856e Elevate parents to a "common" command in help 2005-10-27 13:49:15 -07:00
Benoit Boissinot
b5603de549 import docstring from doc/hg.1.txt 2005-10-24 15:52:28 -07: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
mpm@selenic.com
4de8754e26 Update test-help for bundle/unbundle 2005-09-08 12:17:24 -07:00
TK Soh
50787ba429 Updated manpage and help.
Updated manpage on change to hg status; standardized description
of -print0 options.
2005-08-27 18:55:14 -07:00
Thomas Arendsen Hein
7a9423f86f Adjusted test-help for change to hg status. 2005-08-27 23:35:30 +02:00
mpm@selenic.com
bd305a5ed5 Fix up help test 2005-08-27 01:50:18 -07:00
mpm@selenic.com
69642fabd6 Merge from BOS, fix help 2005-08-26 01:56:49 -07:00
mpm@selenic.com
026f4acf07 Minor test-help fix 2005-08-26 01:51:44 -07:00
Thomas Arendsen Hein
21bd77e72f Adjust display and alignment of command options to match global options. 2005-08-26 09:56:33 +02:00
Thomas Arendsen Hein
7fd11ee46b Added options -h/--help. 2005-08-26 08:37:41 +02:00
Bryan O'Sullivan
ad065b010b Fix help output, and a few broken tests. 2005-08-24 13:26:45 -07:00
mpm@selenic.com
984d1d95fb Fix up help for binary options 2005-08-24 00:09:56 -07:00
mpm@selenic.com
24211e1d06 Fix incoming help test again 2005-08-16 21:33:50 -08:00
mpm@selenic.com
6a1eb4d99f hg incoming/outgoing: fix tests and update man page 2005-08-16 19:27:46 -08:00
mpm@selenic.com
ea7bd9ea6f run-tests: remove '+ hg' trick
This was causing me a fair amount of debugging confusion. Let's just
forget it entirely. Updated tests to match.
2005-08-16 19:03:01 -08:00
mpm@selenic.com
fba6bf5303 Fix up help test 2005-08-16 10:44:04 -08:00
mpm@selenic.com
1cdda4c656 Fix tests for new init command 2005-08-14 21:36:08 -08:00
Thomas Arendsen Hein
57c1a9a890 Further help improvements:
Show command aliases in 'hg help something', unless in quiet mode.
Show short command description with 'hg help -q something'.
Show global options in verbose mode of command help.
State that Mercurial is a Distributed SCM.
2005-08-06 15:43:12 +01:00