Note: I had to edit the context of Marnix's patch to make it apply cleanly,
which is probably a bad thing to do in the general case.  But I'm guessing that
send.sh hasn't changed between then and now.

Tue Jan  9 21:08:35 GMT 2007  Marnix Klooster <[EMAIL PROTECTED]>
  * Added test for issue381.

Thu Jan 17 16:17:04 GMT 2008  Eric Kow <[EMAIL PROTECTED]>
  * Move issue381 test to bugs directory.

New patches:

[Added test for issue381.
Marnix Klooster <[EMAIL PROTECTED]>**20070109210835] {
hunk ./tests/send.sh 32
 $DARCS send --author=me -a [EMAIL PROTECTED] --sendmail-command='grep "^To: [EMAIL PROTECTED]" %<' ../temp2
 
 # Test that the --subject parameter sets the subject
+
+# Test that editor is called when --output is used with --edit-description
+DARCS_EDITOR=cat $DARCS send --author=me -a --output=bundle --edit-description ../temp2 > baz 2>&1
+grep add_foo_bar baz
 $DARCS send --author=me -a --subject="it works" --sendmail-command='grep "^Subject: it works$" %<' ../temp2
 
 # Test that the --output-auto-name parameter outputs what we expect
}
[Move issue381 test to bugs directory.
Eric Kow <[EMAIL PROTECTED]>**20080117161704] {
addfile ./bugs/issue381.sh
hunk ./bugs/issue381.sh 1
+#!/bin/sh
+set -ev
+
+test $DARCS || DARCS=$PWD/../darcs
+DARCS_EDITOR=echo
+export DARCS_EDITOR
+
+rm -rf temp1 temp2
+mkdir temp1 temp2
+
+cd temp2
+$DARCS init
+
+# Test that editor is called when --output is used with --edit-description
+DARCS_EDITOR=cat $DARCS send --author=me -a --output=bundle --edit-description ../temp2 > baz 2>&1
+grep add_foo_bar baz
+$DARCS send --author=me -a --subject="it works" --sendmail-command='grep "^Subject: it works$" %<' ../temp2
+
+cd ..
+rm -rf temp1 temp2
hunk ./tests/send.sh 32
 $DARCS send --author=me -a [EMAIL PROTECTED] --sendmail-command='grep "^To: [EMAIL PROTECTED]" %<' ../temp2
 
 # Test that the --subject parameter sets the subject
-
-# Test that editor is called when --output is used with --edit-description
-DARCS_EDITOR=cat $DARCS send --author=me -a --output=bundle --edit-description ../temp2 > baz 2>&1
-grep add_foo_bar baz
-$DARCS send --author=me -a --subject="it works" --sendmail-command='grep "^Subject: it works$" %<' ../temp2
 
 # Test that the --output-auto-name parameter outputs what we expect
 $DARCS send --author=me -a --subject="it works" --output test1.dpatch ../temp2
}

Context:

[add changelog entry for rollback.
David Roundy <[EMAIL PROTECTED]>**20080116212037] 
[rollback my "simplification" of conflict options for pull and apply.
David Roundy <[EMAIL PROTECTED]>**20080116211650] 
[eliminate apply_conflict_options and pull_[same] in favor of unified conflict_options.
David Roundy <[EMAIL PROTECTED]>**20080116205623] 
[reimplement rollback.
David Roundy <[EMAIL PROTECTED]>**20080116203644] 
[fix pull.pl test to show off rollback error.
David Roundy <[EMAIL PROTECTED]>**20080110230904] 
[Use http://darcs.net/repos/stable instead of http://abridgegame.org/darcs.
[EMAIL PROTECTED] 
[Add --{allow,dont-allow,mark}-conflicts to darcs pull.
[EMAIL PROTECTED]
 
 This patch also merge the --external option to pull_conflicts_options
 like with apply.
] 
[fix bug where get could produce a darcs-2 repository from a darcs-1 repo incorrectly.
David Roundy <[EMAIL PROTECTED]>**20080116194547] 
[fix replacePristine to work regardless of current working directory.
David Roundy <[EMAIL PROTECTED]>**20080116162528
 This is intended to be a property of all Repository functions except those
 that explicitly mention the current directory in their name.
] 
[treat errors in reading current pristine cache as corruption in darcs repair.
David Roundy <[EMAIL PROTECTED]>**20080116162427] 
[make withCurrentDirectory succeed even if old directory has been removed.
David Roundy <[EMAIL PROTECTED]>**20080116162358] 
[fixed bug triggered by conflict-doppleganger test.
David Roundy <[EMAIL PROTECTED]>**20080116161548] 
[make doppelganger test more verbose.
David Roundy <[EMAIL PROTECTED]>**20080116161421] 
[Fix darcs repair with darcs1 format.
[EMAIL PROTECTED]
 
 Using  withCurentDirectory  was  wrong  because this function wants to restore
 the  current  directory.  In  this  case it no longer exists (.../newpristine)
 because renamed to .../pristine.
] 
[Add a test case for darcs repair.
[EMAIL PROTECTED]
 
 In fact both darcs1 and hashed format are broken.
] 
[fix bugs in date parsing pointed out by Mark.
David Roundy <[EMAIL PROTECTED]>**20080115235341] 
[treat partially-specified dates as more vague matches.
David Roundy <[EMAIL PROTECTED]>**20080115213601
 i.e. if you --match "date 2007" you'll get all the patches in 2007, not
 just those on January 1, 2007.
] 
[issue31, issue187: Update date matching so we test for an actual match in some cases, not just date parsing.
Mark Stosberg <[EMAIL PROTECTED]>**20080110030400
 This revealed some bugs which have yet to be fixed, so the test is still failing. 
] 
[fix perl bug script code.
David Roundy <[EMAIL PROTECTED]>**20080115215954] 
[add some changelog entries
Tommy Pettersson <[EMAIL PROTECTED]>**20080115214838] 
[add some changelog entries
Tommy Pettersson <[EMAIL PROTECTED]>**20071111204931] 
[improve existing-bug test suite driver.
David Roundy <[EMAIL PROTECTED]>**20080115204455] 
[mark doppleganger test as currently buggy.
David Roundy <[EMAIL PROTECTED]>**20080115201835] 
[add directory for unresolved bug test scripts.
David Roundy <[EMAIL PROTECTED]>**20080115201733] 
[Issue81: Add test which shows that old and hashed formats consider dopplegangers a conflict, but the darcs-2 format doesn't.
Mark Stosberg <[EMAIL PROTECTED]>**20080112233151] 
[major speedup in applyHashed.
David Roundy <[EMAIL PROTECTED]>**20080115191825
 This should make darcs pull on very large repositories (i.e. the ghc
 repository) equivalent to the speed of darcs1, possibly faster.
 
 The change is that now each named patch is applied to the pristine cache in
 memory, with writing the changed files and directories to disk happening
 only at the end.  This reduces disk activity, and also reduces the number
 of sha1 hashes that are computed, with a small increase in the worst-case
 memory use.  This is achieved by caching the hashes of slurped files in the
 Slurpy itself, which allows us to identify "dirty" files.
] 
[fix issue588 by simplifying pending handling.
David Roundy <[EMAIL PROTECTED]>**20080115162143] 
[add test for issue588 (thanks to Nicolas Pouillard!).
David Roundy <[EMAIL PROTECTED]>**20080115152504] 
[add changelog message for issue586.
David Roundy <[EMAIL PROTECTED]>**20080115152903] 
[make IO instance of WriteableDirectory fail when creating a file that already exists.
David Roundy <[EMAIL PROTECTED]>**20080115152422] 
[Fix a bug in darcs repair: go to the repo dir and slurp the new pristine dir.
[EMAIL PROTECTED] 
[Fix remote darcs put. Dashes was forgotten before the option name.
[EMAIL PROTECTED] 
[bugfix, call perl's chmod with octal value (instead of string)
Tommy Pettersson <[EMAIL PROTECTED]>**20080112153018
 The string value gave the directory very weird permissions.
] 
[use $- in list_authors and make_changelog for ghc 6.4 happiness
Tommy Pettersson <[EMAIL PROTECTED]>**20080112150002] 
[more test script clean-ups, modernization
Mark Stosberg <[EMAIL PROTECTED]>**20080110030955] 
[clean up test script header...no functional changes.
Mark Stosberg <[EMAIL PROTECTED]>**20080110023044] 
[fix potentially troublesome 'rm -rf temp*' commands in test scripts, which could have deleted more than intended.
Mark Stosberg <[EMAIL PROTECTED]>**20080110010218] 
[fix bug in darcs repair (issue586).
David Roundy <[EMAIL PROTECTED]>**20080114204243] 
[A test for unrecording checkpoint tags, inspired by issue517
Mark Stosberg <[EMAIL PROTECTED]>**20080113025555] 
[resolve conflict.
David Roundy <[EMAIL PROTECTED]>**20080111160045] 
[Conflict backup files are boring.
Trent W. Buck <[EMAIL PROTECTED]>**20080110163822] 
[more boring extensions
[EMAIL PROTECTED]
 Added extensions for CLISP, CMUCL, and "part" files which result in
 failed KDE copy operations.
] 
[resolve conflict in Libwww.
David Roundy <[EMAIL PROTECTED]>**20080110234609] 
[Some error reporting for libwww.
Dmitry Kurochkin <[EMAIL PROTECTED]>**20080110221921] 
[add optional support for using the pure haskell Network.HTTP http implementation
John Meacham <[EMAIL PROTECTED]>**20080110215859] 
[make darcs-2 repositories store patches in more-nicely-formated format
David Roundy <[EMAIL PROTECTED]>**20080110220413] 
[fix filename encoding issue in ShowFiles.
David Roundy <[EMAIL PROTECTED]>**20080110204120] 
[add debug message when grabbing files using libcurl.
David Roundy <[EMAIL PROTECTED]>**20080110202200] 
[make using libwww no longer the default, even if it's present.
David Roundy <[EMAIL PROTECTED]>**20080110195753
 There is a bug in our libwww bindings that I haven't located... if it isn't
 fixed, we should definitely remove this binding before the darcs 2.0
 release.
] 
[make Libwww.copyUrls provide debug output.
David Roundy <[EMAIL PROTECTED]>**20080110195733] 
[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.
] 
[issue567: regression test for moving a file to the same location as itself
Mark Stosberg <[EMAIL PROTECTED]>**20080109032346] 
[restore behavior where we display conflicts in --summary mode.
David Roundy <[EMAIL PROTECTED]>**20080110004605] 
[Canonize Gwern Branwen, Nicolas Pouillard, Eric Kow.
Eric Kow <[EMAIL PROTECTED]>**20080109152727] 
[Eliminate configure test for Text.PrettyPrint.
Eric Kow <[EMAIL PROTECTED]>**20080109152927] 
[regression test for issue406
Mark Stosberg <[EMAIL PROTECTED]>**20080109044500] 
[Use our own Printer instead of Text.PrettyPrint (make_changelog).
Eric Kow <[EMAIL PROTECTED]>**20080109172910] 
[Add parens functionality to the printer code.
Eric Kow <[EMAIL PROTECTED]>**20080109144956] 
[fix latex bug in docs.
David Roundy <[EMAIL PROTECTED]>**20080108211102] 
[fix latex bug in docs.
David Roundy <[EMAIL PROTECTED]>**20080108205912] 
[fix bug in show_tags.sh cleanup.
David Roundy <[EMAIL PROTECTED]>**20080108204430] 
[doc,typo: some s/darcs commit/darcs record/
[EMAIL PROTECTED] 
[test: Add a test for darcs show tags.
[EMAIL PROTECTED] 
[document the three repo format flags for "darcs init"
Mark Stosberg <[EMAIL PROTECTED]>**20080108041024] 
[improve the one-paragraph docs for "darcs init"
Mark Stosberg <[EMAIL PROTECTED]>**20080108040941] 
[Quit defining inventory format options recursively. Provide user-oriented descriptions.
Mark Stosberg <[EMAIL PROTECTED]>**20080108035256] 
[update partial.sh to show off improved darcs-2/partial functionality
Mark Stosberg <[EMAIL PROTECTED]>**20080108024712] 
[typo and bug fix in partial.sh.
Mark Stosberg <[EMAIL PROTECTED]>**20080108022808
 
 It turned out the call to "darcs optimize" was silently failing to create a checkpoint
 because there was no tag. This caused the remaining tests for --partial to run against 
 a full repo, not a partial one. 
] 
[issue55: document that darcs handles some types of binary files automatically. 
Mark Stosberg <[EMAIL PROTECTED]>**20080108010043] 
[correct apparent typo in test.
Mark Stosberg <[EMAIL PROTECTED]>**20080108005710
     The fix made more sense than the former behavior of comparing a file to itself. 
] 
[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:
b40ac3a313971065e0230dcf6225cbbb01296f27
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to