Matt Mackall
2f71d8bc35
Add missing test output
2005-10-27 13:48:00 -07:00
Benoit Boissinot
e25f65575b
make readconfig take a filename instead of a file pointer as argument
...
catch parse error while reading a config file
add a testcase for parse error
2005-10-27 13:40:56 -07:00
Benoit Boissinot
1a6aabcbb0
rewrote changes function in dirstate to use generic walk code
...
now, file with unsupported type will not show up in status anymore
2005-10-27 13:29:35 -07:00
Matt Mackall
577f208d42
Merge bundle -r work from Eric Hopper
2005-10-27 12:26:16 -07:00
Matt Mackall
4da8c5ab00
Add test-confused-revert, fix permissions on test-revert
2005-10-25 15:54:44 -07:00
Benoit Boissinot
27f31c20c2
revert added and removed files to their normal state before reverting
...
add a test for revert
2005-10-25 15:51:28 -07:00
Matt Mackall
482fb0c50c
Remove deprecated commit -t option
2005-10-24 20:42:20 -07:00
Benoit Boissinot
b5603de549
import docstring from doc/hg.1.txt
2005-10-24 15:52:28 -07:00
Benoit Boissinot
6c6a4b138f
Do not use 'glob' expansion by default on OS != 'nt'
2005-10-19 00:02:41 -07:00
Matthew Elder
35ec667f4d
symlink unit test
2005-10-18 21:32:51 -07:00
Eric Hopper
0629aded3d
Added a test for clone -r.
2005-10-16 16:24:40 -07:00
Matt Mackall
1d93d716a6
Fix +x permissions lost by export/import
2005-09-27 14:59:30 -07:00
Eric Hopper
7bec817081
Test case for the misleading message on bad permissions.
2005-09-27 14:59:02 -07:00
Matt Mackall
227eff2fe8
Make test-merge7 repeatable
2005-09-27 14:53:11 -07:00
Matt Mackall
f2dd52a8e4
Repair ancestor logic, fix up test cases
2005-09-26 16:52:47 -07:00
mpm@selenic.com
1d040979fb
Fix up static-http test
2005-09-23 19:46:43 -07:00
mpm@selenic.com
9f19513ebc
Add empty repo test
2005-09-23 17:52:15 -07:00
Bryan O'Sullivan
1a26f80787
Fix old-http test when no server exists.
2005-09-22 23:33:26 -07:00
Thomas Arendsen Hein
f4520a6ce3
Make debugwalk strip trailing spaces and remove these from test-walk.out
2005-09-21 08:07:38 +02:00
Thomas Arendsen Hein
455a56454d
Cleanup of tabs and trailing spaces.
2005-09-21 07:56:19 +02:00
eric@localhost.localdomain
1e0b094630
Add checks for programs which are required for the test suite to run.
...
All prerequisite programs are checked for existance, and if any are
missing,
a list of missing programs is printed, and the test suite is aborted.
All programs currently used in the tests, except those in core-utils,
are checked.
2005-09-19 18:24:37 -07:00
mpm@selenic.com
ea00679784
test-hup: hgrc no longer created at init
2005-09-15 14:06:58 -05:00
mpm@selenic.com
8f5897184a
hgweb: use ui:username rather than web:contact
...
This also removes the creation of .hg/hgrc with web:contact at init time.
2005-09-15 14:05:48 -05:00
mpm@selenic.com
eac251ef7c
Add file encoding/decoding support
2005-09-15 02:59:16 -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
5aabaa1c4d
The copy tests don't need to invoke cp any longer.
2005-09-14 16:31:03 -07:00
Bryan O'Sullivan
75da334110
Merge with MPM.
2005-09-14 14:39:46 -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
2f510bb7be
clone: fall back to pull if we can't lock the source repo
2005-09-14 15:48:34 -05:00
mpm@selenic.com
1572c012c2
Fix bug with co -C across branches, update tests
2005-09-13 18:38:27 -05:00
mpm@selenic.com
3c8b9bd0dd
Fix test-tag output for new abort message
2005-09-13 14:23:43 -05:00
mpm@selenic.com
74b4fbfc7a
Revert unrelated changes in previous commit
2005-09-13 14:22:48 -05:00
mpm@selenic.com
5b149d41a6
Fix abort message for clone
2005-09-13 14:18:18 -05:00
mpm@selenic.com
4de8754e26
Update test-help for bundle/unbundle
2005-09-08 12:17:24 -07: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
Bryan O'Sullivan
3cad4f6ec3
Get test-commit to exit cleanly.
2005-09-04 14:48:33 -07:00
Bryan O'Sullivan
75cd295fec
Commit date validation: more stringent checks, more useful error messages.
2005-09-04 14:47:02 -07:00
Bryan O'Sullivan
87a4ab2aa4
Add test output.
2005-09-03 23:52:39 -07:00
Bryan O'Sullivan
b15e572eba
Make date/timezone validation in changelog.add more robust. Add test.
2005-09-03 23:28:15 -07:00
bos@serpentine.internal.keyresearch.com
00af1ed8b4
Fix up failing tests.
2005-09-01 07:37:49 -07:00
Thomas Arendsen Hein
8cd8c08ece
Fixed two tests to run with bourne shell.
2005-08-30 19:42:58 +02:00
Thomas Arendsen Hein
3d0a115c0f
Added FIXME output to test-grep so the test will not fail.
2005-08-30 19:32:11 +02:00
Thomas Arendsen Hein
591b3bb44e
Added test case for zip/gz/bz2 archive downloads.
2005-08-30 19:17:05 +02:00
bos@serpentine.internal.keyresearch.com
9e5ece5a78
Add test-grep.out file for now.
2005-08-29 11:28:48 -07:00
bos@serpentine.internal.keyresearch.com
d8c746ea08
Merge with TAH.
2005-08-29 10:31:41 -07:00
bos@serpentine.internal.keyresearch.com
d630ed8e52
grep: extend functionality, add man page entry, add unit test.
...
walkchangerevs now returns a two-tuple. Its behaviour is also
extensively commented.
The annotate command's getname function has been factored out to a new
function, trimname, so it can be shared between annotate and grep.
The behaviour of grep has been beefed up, so that it now performs a
number of useful functions.
2005-08-29 10:05:49 -07:00
Thomas Arendsen Hein
7322b9cc24
Adjusted test-hup for generated .hg/hgrc
2005-08-28 18:30:40 +02:00
Thomas Arendsen Hein
1d839b0880
Fixed test-static-http with http_proxy variable set.
2005-08-28 16:41:16 +02:00
Thomas Arendsen Hein
50d536fc22
Fixed test-copy2 with only looking at copied files.
2005-08-28 16:37:24 +02:00