Benoit Boissinot
0bb141c937
don't print anything about file of unsupported type unless
...
the file was specified on the command line
2005-11-11 15:33:08 -08:00
Matt Mackall
763f80e0dc
Fix up test-help, mark test-rename +x
2005-11-08 10:36:23 -08:00
Robin Farine
8870c8c85a
avoid to copy more than one file to the same destination file
2005-11-08 10:35:13 -08:00
Robin Farine
af91f5f15b
copy & rename don't overwrite unless --force is specified
2005-11-08 10:35:09 -08:00
Robin Farine
7eb6f65c8b
generalize copy/rename to handle more than one source directory
2005-11-08 10:35:05 -08:00
Thomas Arendsen Hein
41e5fd3285
Fixed test-static-http with http_proxy variable set again.
2005-11-03 18:59:36 +01:00
Matt Mackall
4d1d94ea5b
Add permissions handling test
2005-11-03 00:45:54 -08:00
Benoit Boissinot
9db56d4cdb
fix a bug in dirstate.changes when cwd != repo.root
...
- use lstat instead of stat
- add a testcase (thanks to Johannes Hofmann)
2005-11-02 16:13:41 -08:00
Benoit Boissinot
02edb6c65e
only files in normal state should be marked as deleted
...
fix a traceback when you removed an added file
2005-11-02 16:08:48 -08:00
Benoit Boissinot
0bbf5d2b87
fix handling of files of unsupported type in the walk code
...
if a file was of unsupported type, it was considered as 'seen' while
walking. this way it was possible to have file in the dirstate not
yielded by the walk function.
2005-11-02 15:46:31 -08:00
Matt Mackall
16d3876ce7
Change test-hook to test multiple hooks
2005-10-29 13:45:01 -07:00
Benoit Boissinot
87e35504f4
add a test for hgignore
2005-10-28 11:03:18 -07:00
Matt Mackall
b464a7856e
Elevate parents to a "common" command in help
2005-10-27 13:49:15 -07:00
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