Mon Jan 7 16:02:24 CET 2008 [EMAIL PROTECTED] * test: Exibit a falling test about rollback. Indeed the only test about rollback was br0ken by a prior test that creates a directory and remove read permissions to it. The rollback test do some records that silently fail by lack of permissions, finally the rollback is cancelled since the named patch doesn't exist. This shows that rollback need some care.
New patches:
[test: Exibit a falling test about rollback. [EMAIL PROTECTED] Indeed the only test about rollback was br0ken by a prior test that creates a directory and remove read permissions to it. The rollback test do some records that silently fail by lack of permissions, finally the rollback is cancelled since the named patch doesn't exist. This shows that rollback need some care. ] { hunk ./tests/pull.pl 48 # set up client repo for failure chmod '0555','./temp1/one/'; # remove read permissions my $out = darcs 'pull --repodir ./temp1 -a 2>&1'; + rmtree('./temp1/one/'); if ($^O =~ /msys/i) { pass('this test fails on windows, so ignore it'); } else { hunk ./tests/pull.pl 102 darcs 'record --ignore-times -lam B --author [EMAIL PROTECTED]'; `echo c > foo`; darcs 'record --ignore-times -lam C --author [EMAIL PROTECTED]'; - `echo -n y | "$DARCS" rollback -p C`; + unlike(echo_to_darcs("y", "rollback -p C"), qr/Cancelling rollback/); chdir '../'; rmtree 'temp2/'; darcs 'get --to-patch B temp1 temp2'; hunk ./tests/pull.pl 108 chdir 'temp2'; system "sleep 1"; # So that rollback won't have same timestamp as get. - `echo -n y | "$DARCS" rollback -p B`; + unlike(echo_to_darcs("y", "rollback -p B"), qr/Cancelling rollback/); darcs 'revert -a'; my $pull_out = darcs 'pull -a ../temp1'; unlike($pull_out,qr/Error applying patch/i, } Context: [issue395: eliminate patches with a single character name from shell scripts in the test suite. Mark Stosberg <[EMAIL PROTECTED]>**20080106051821] [prevent warning in test script and remove mysterious exit(1) call. Mark Stosberg <[EMAIL PROTECTED]>**20080106052622] [issue526: improve Perl test suite. Mark Stosberg <[EMAIL PROTECTED]>**20080106045548 - better compatibility when path to darcs includes a space - better portability by eliminating some system calls - general style improvements ] [minor white-space and code style improvements Mark Stosberg <[EMAIL PROTECTED]>**20080105183641] [typo fix on GNUmakefile comment Mark Stosberg <[EMAIL PROTECTED]>**20080105183027] [refactor: improve style and portability of pull.pl test script. Mark Stosberg <[EMAIL PROTECTED]>**20080105181751 Many direct system calls were eliminated. No functional changes. ] [issue347 - document that single quotes should be used in .darcs/defaults Mark Stosberg <[EMAIL PROTECTED]>**20080101164428] [add feature requested in issue576. David Roundy <[EMAIL PROTECTED]>**20080105150125] [fix bug in issue576. David Roundy <[EMAIL PROTECTED]>**20080105144929] [add test that triggers bug in issue576. David Roundy <[EMAIL PROTECTED]>**20080105144812] [Make sure we test the 'darcs' we just built and not one in a global path. Mark Stosberg <[EMAIL PROTECTED]>**20080102002235 This done by using "$DARCS" instead of 'darcs'. However, in my case the updated test FAILS unexplainably with 2.0.0pre3, by failing to detect that a file has changed. If I follow along in a shell and run the same commands with Darcs 2, the problem does not appear. ] [add configure support for libwww. David Roundy <[EMAIL PROTECTED]>**20080104201255] [make bug message more explicit. David Roundy <[EMAIL PROTECTED]>**20080104004253] [Initial implementation of HTTP pipelining using libwww. Dmitry Kurochkin <[EMAIL PROTECTED]>**20071222144902] [make indent slightly more concise using lines and unlines. David Roundy <[EMAIL PROTECTED]>**20080104003953] [refactor: replace recursive indent with more concise find-and-replace syntax Mark Stosberg <[EMAIL PROTECTED]>**20080101200447] [simplify (and debug) pending handling. David Roundy <[EMAIL PROTECTED]>**20071227133618 Note that this change could lead to performance regressions, but I believe that these regressions would be strongly bounded (never worse than a whatsnew), and this simplification makes the code much easier to safely modify. ] [make updating of pending on pull much more efficient. David Roundy <[EMAIL PROTECTED]>**20071224131059] [simplify a bit of code. David Roundy <[EMAIL PROTECTED]>**20071224131023] [fix type-witness bug in HopefullyPrivate. David Roundy <[EMAIL PROTECTED]>**20071223141149] [simplify Get David Roundy <[EMAIL PROTECTED]>**20071223025108] [simplify tentativelyAddPatch by removing unused return value. David Roundy <[EMAIL PROTECTED]>**20071223024400] [simplify away np2prims and nps2prims. David Roundy <[EMAIL PROTECTED]>**20071223022145] [try to avoid rewriting patches that we've just read. David Roundy <[EMAIL PROTECTED]>**20071222190029] [generalize CommandsAux utility functions. David Roundy <[EMAIL PROTECTED]>**20071222162952] [add new instances for PatchInfoAnd. David Roundy <[EMAIL PROTECTED]>**20071222144439] [change tentativelyAddPatch to accept a PatchInfoAnd p. David Roundy <[EMAIL PROTECTED]>**20071222140517] [internal prepration for optimization saving patch writing. David Roundy <[EMAIL PROTECTED]>**20071222134834] [add changelog entry. David Roundy <[EMAIL PROTECTED]>**20071219162646] [add fixme indicating where the code could be simplified. David Roundy <[EMAIL PROTECTED]>**20071221135649] [make reading of hashed inventories lazier. David Roundy <[EMAIL PROTECTED]>**20071221133453] [resolve conflicts in mv_and_remove_tests.sh. David Roundy <[EMAIL PROTECTED]>**20071219144638] [Fix !(...|...) in mv_and_remove_tests.sh. Dave Love <[EMAIL PROTECTED]>**20071218001826 Assume the original construct should have been `! ... | ...' and replace with a portable version of that. ] [[issue571] Redo last HAVE_TERMIO_H fix. Dave Love <[EMAIL PROTECTED]>**20071218140508 Not the most direct fix, but simpler. ] [Fix configure test for gadt type witnesses. Dave Love <[EMAIL PROTECTED]>**20071218120139] [use --ignore-times in all tests. David Roundy <[EMAIL PROTECTED]>**20071217225159 This is because the hashed repository is a bit pickier, in that it no longer checks file lengths when the file modification times match. ] [enable modification time checking on hashed repositories. David Roundy <[EMAIL PROTECTED]>**20071217220237] [Pass two args to `cmp' in tests, following POSIX. Dave Love <[EMAIL PROTECTED]>**20071216180503 Fixes some failures on Solaris. ] [resolve silly conflict with myself. David Roundy <[EMAIL PROTECTED]>**20071217200855] [clean up SelectChanges (eliminating Bools) David Roundy <[EMAIL PROTECTED]>**20071217191809] [make a few more files compile with type witnesses. David Roundy <[EMAIL PROTECTED]>**20071217183234] [fix bug in revert (in writing the unrevert file). David Roundy <[EMAIL PROTECTED]>**20071216215225] [make a few more files compile with type witnesses. David Roundy <[EMAIL PROTECTED]>**20071217164815] [remove tabs. David Roundy <[EMAIL PROTECTED]>**20071216224617] [bump version number preemptively to 2.0.0pre3. David Roundy <[EMAIL PROTECTED]>**20071216222823] [fix doc bug in show contents. David Roundy <[EMAIL PROTECTED]>**20071216214002] [TAG 2.0.0pre2 David Roundy <[EMAIL PROTECTED]>**20071216201647] Patch bundle hash: 03ea3a492f8a4f3a0af4b6f40c869db76d7ee19d
_______________________________________________ darcs-devel mailing list darcs-devel@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-devel