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
Thomas Arendsen Hein
d9912ec66d
Always show short help when an unknown command is given.
2005-08-06 14:04:59 +01:00
kreijack@inwind.REMOVEME.it
208c8b8f44
Update the TODO file to the help changes, and the output of test-help.
2005-08-06 13:33:14 +01:00
Thomas Arendsen Hein
87aabef405
Updated output of tests.
2005-07-29 15:21:02 +01:00
Thomas Arendsen Hein
8ba70bc4df
Updated help strings and test-help:
...
- options -I/-X: always at the end, don't include them in the synopsis.
- NAME is optional for hg revert
- other small changes.
2005-07-22 08:47:35 +01:00
Bryan O'Sullivan
bd62653aff
Update tests to reflect walk changes.
2005-07-20 03:43:05 -08:00
Thomas Arendsen Hein
e747504c6c
Changed command synopsises to match style of common UNIX tools.
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Changed command synopsises to match style of common UNIX tools.
manifest hash: cf62235e46f5c06ac5a3c88cb61e9b57d35fe222
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC13YhW7P1GVgWeRoRAnSOAKCOtrYHZ2XMTjpphY/G2UZHcJcZeQCdFsgv
D5Hu+s9ahVX8hns2ZbQpriI=
=g6NW
-----END PGP SIGNATURE-----
2005-07-15 09:38:57 +01:00
mpm@selenic.com
d56d83961e
A bunch of parsing/help updates
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A bunch of parsing/help updates
more explanation of how to get non-basic commands
shorten names of debug functions and add docstrings
add undo long docstring
promote anotate, export, and revert
make the global opts array global
refactor parsing
kill two unused arguments to fancyopts
update test-help
manifest hash: 459ae2273aaf54f71b4576677a681dc53ab2908c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCyEDhywK+sNU5EO8RAr0DAJ9LTu8Fc2quLRtuwLPTQzWqlOJWKwCbBpZk
pnMkYnshsutVYljcil1P46I=
=Sleg
-----END PGP SIGNATURE-----
2005-07-03 11:47:45 -08:00
mpm@selenic.com
89f9d08d36
Shorten help
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shorten help
Basic commands are now marked with "^" in the table
only basic commands are show in hg help by default
copyright banner not displayed with help by default
manifest hash: 7337678588354ca669a3b13d1fbb0ad893563947
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCx9LNywK+sNU5EO8RAokCAJ9ZK2sGEto9RLyukFX+n0nzHRoB9QCfU84I
e+Evc2g91kSS92FPrIC+Hnw=
=yUmt
-----END PGP SIGNATURE-----
2005-07-03 03:58:05 -08:00
mpm@selenic.com
c7c6ca830d
[PATCH] hg revert
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] hg revert
From: Bryan O'Sullivan <bos@serpentine.com>
Add revert command.
manifest hash: 0094e6bf421f34bd0492a33f95400b1b095a6bdc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCx2BaywK+sNU5EO8RAigMAKCrvgTtIDuirCsMVlbiTMqaJy3UNgCdEcTL
hMN1X8FZi6sH+NjUdr9sYBg=
=i58L
-----END PGP SIGNATURE-----
2005-07-02 19:49:46 -08:00
mpm@selenic.com
57e171d1a4
Fix up test-help for export
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fix up test-help for export
manifest hash: a178ced2f645770d11c88261489dd8e8d876d94c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCx03xywK+sNU5EO8RAs1sAKCNgjEvBkGKaLi//pRy+NyNoDYKgQCghd6F
RA+ydCpNoC9k2fvge29c8fc=
=DoKn
-----END PGP SIGNATURE-----
2005-07-02 18:31:13 -08:00
mpm@selenic.com
4303665bb4
[PATCH] replace history with log
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] replace history with log
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
Merge hg history into hg log leaving the first as an alias
(tweaked by mpm: update docs, tests, use existing alias mechanism)
manifest hash: f85001a4373b8b823a6221ba5c506628059d6779
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwSr1ywK+sNU5EO8RAmbAAJ9HlFkf8/qLOAQUtj8CWxGRPEyzVgCgtXwP
SdnAg1a2q4693+TBiOjrimY=
=w9rf
-----END PGP SIGNATURE-----
2005-06-28 02:48:21 -08:00
mpm@selenic.com
d18e292a59
[PATCH] simplify init
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] simplify init
From: Bryan O'Sullivan <bos@serpentine.com>
Remove source directory option from "hg init".
manifest hash: 2ace7b16c962fb434340b937fbcd494f3098a85f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwQG/ywK+sNU5EO8RArbCAJ9DG45GepMI0Z9KWXqV8gmEbV1WfwCgotih
LGAkD8iTfOLn7HIPVqt9FWY=
=65uW
-----END PGP SIGNATURE-----
2005-06-27 23:52:31 -08:00
mpm@selenic.com
4fb29605c3
[PATCH] add clone command
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] add clone command
Add clone command. Mark with-source version of "init" as deprecated.
manifest hash: 3c31263474977c3d8303f45f71c44f7b7e10e97e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvzhOywK+sNU5EO8RAmh+AJwIlRfX143oxKShgPWF2dbDvCuH3gCbBrAW
isIHptwVRX8pcA0lU638pHo=
=ZoQy
-----END PGP SIGNATURE-----
2005-06-26 15:20:46 -08:00
mpm@selenic.com
92f7e42f97
[PATCH] add "root" command
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] add "root" command
From: Bryan O'Sullivan <bos@serpentine.com>
Add "root" command
Useful for scripting.
manifest hash: a2df76139130ac034e53872f24f21f31b083bc42
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvQZGywK+sNU5EO8RAtYSAKCKRyuxzcDOTV9q+GY5WZDJ/VZgzwCfXhut
VvGtiSnIqoBeQ/PtPsokMb0=
=gUsq
-----END PGP SIGNATURE-----
2005-06-24 23:22:46 -08:00
mpm@selenic.com
d0abc4682a
Add version command
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add version command
Suggested by Arun Sharma
manifest hash: 7fc056ffe45ee854f00e76916a560fba28c74a91
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvQW+ywK+sNU5EO8RAqGQAJ91Eysw4tHVpOB7ICeN9hMF/p+lfQCgksmg
TAKr5VNrw2wIZtSKjgQRqiA=
=8w84
-----END PGP SIGNATURE-----
2005-06-24 23:20:30 -08:00
mpm@selenic.com
ff537c08df
Fix up tests for command name changes
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fix up tests for command name changes
manifest hash: 04b04d0b2ca96f29b3b9a52e4ed8478ee7e2761f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuvDTywK+sNU5EO8RAnKzAJ9JSRUsVy/kHp3CweXpsJiu+fXCKQCgq0Pt
OOUKYPj6aJOvxB+Zz17X8dg=
=EyYE
-----END PGP SIGNATURE-----
2005-06-23 09:26:43 -08:00
mpm@selenic.com
663c3fc4ae
Pull from TAH
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pull from TAH
manifest hash: 600d04efbd836d555d11a3bd9d821d1d8c0a9790
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuPFxywK+sNU5EO8RAjfzAKC18Zc2EOkXhy1zcpgGnyPHnFMdmgCfW5Ut
I5HSWqZMt8H0WJx1Or7ajNc=
=27D5
-----END PGP SIGNATURE-----
2005-06-21 21:04:49 -08:00
mpm@selenic.com
109875616d
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
add hg tag command
Tweaks by mpm:
clean up error messages
handle non-existent .hgtags file
add tests
update test-help output
manifest hash: 569c7fe01193159919af2566e8f5089409ffad65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuMMwywK+sNU5EO8RAuUdAJ90TkT/D9lDOnEVAW2d3WT7K8Ct3QCggiJA
c9Qbd79K4UWKQAVkYq03cOY=
=SWS8
-----END PGP SIGNATURE-----
2005-06-21 17:47:28 -08:00
Thomas Arendsen Hein
26b86a9abe
Support for 'hg --version'. setup.py stores version from hg repository.
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Support for 'hg --version'. setup.py stores version from hg repository.
manifest hash: c69058298ea12035f2cf356f987ba2fb5ff4bbae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCtD6ZW7P1GVgWeRoRAnGHAKCLscthht2UlBEMDmxL9cku4PlcswCffOVo
wTOhYkW4Ie5+8bdmL8EqsvY=
=uGpn
-----END PGP SIGNATURE-----
2005-06-18 16:32:41 +01:00
mpm@selenic.com
71621159f5
test-help: hg copy now shows up in the help
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
test-help: hg copy now shows up in the help
manifest hash: f5a8f55f2e87e363c22e1639eef4a919ed028d4e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCsMCTywK+sNU5EO8RAg0UAKCtCVRkgxqjfHGIbaz1DTZ+FJgXdQCgrfkq
i4W+etRh5HWatXrjw+n7Ppk=
=4lE7
-----END PGP SIGNATURE-----
2005-06-15 15:58:11 -08:00
mpm@selenic.com
5245f6a8d4
update help test for identify
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
update help test for identify
manifest hash: 38a41136c79411b0c926f93c54684a0716c11d68
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCr+DNywK+sNU5EO8RAjDoAKCv6JGj9TkDtu3cn82zjlWyUJvfUwCcCh/u
LPzNYK6Cy29IZ4TKApmPUoQ=
=edY/
-----END PGP SIGNATURE-----
2005-06-15 00:03:25 -08:00
mpm@selenic.com
5c6e3ef485
Add some more tests
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add some more tests
manifest hash: 0e357a0d32baee877f2c7b6c6a8f7468e4b7f1b5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCr4TQywK+sNU5EO8RAoZ1AJ9lbLIN2uwLWpVOilQs9CkyFIaQ5wCeKToO
1HXJVrlhexgIzwSnBkTBNOo=
=UJ+y
-----END PGP SIGNATURE-----
2005-06-14 17:30:56 -08:00
mpm@selenic.com
47b5acb197
Add a simple testing framework
...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add a simple testing framework
manifest hash: 9eeea72f2f33438040998a190183958764232ece
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCr0wKywK+sNU5EO8RAl9FAJ4o1QUA/YE2hCSlUPngR8h30hT1xQCgoEhu
um2QkJOc2Rz7i6xTGPxuqzU=
=YyUM
-----END PGP SIGNATURE-----
2005-06-14 13:28:42 -08:00