Sun Oct 26 15:03:54 PDT 2008 Simon Michael <[EMAIL PROTECTED]> * refactor get_global, make it more cross-platform get_global fetches global preferences from the user's ~/.darcs directory. This patch uses the more portable getAppUserDataDirectory, so global prefs will work on windows without requiring a HOME environment variable, and will be stored in the standard windows app data dir (eg C:/Documents And Settings/user/Application Data/darcs). Cf http://hackage.haskell.org/trac/ghc/ticket/1838 . It also reduces the use of error-hiding catchall.
New patches:
[refactor get_global, make it more cross-platform Simon Michael <[EMAIL PROTECTED]>**20081026220354 Ignore-this: 1d7f456379a3ea9fe08598e96fe700e6 get_global fetches global preferences from the user's ~/.darcs directory. This patch uses the more portable getAppUserDataDirectory, so global prefs will work on windows without requiring a HOME environment variable, and will be stored in the standard windows app data dir (eg C:/Documents And Settings/user/Application Data/darcs). Cf http://hackage.haskell.org/trac/ghc/ticket/1838 . It also reduces the use of error-hiding catchall. ] hunk ./src/Darcs/Repository/Prefs.lhs 39 import Data.Char ( toUpper ) import Data.Maybe ( isNothing, isJust, catMaybes ) import Data.List ( nub, isPrefixOf ) -import System.Environment ( getEnv ) +import System.Directory ( getAppUserDataDirectory ) +import System.FilePath ( (</>) ) import Darcs.Flags ( DarcsFlag( NoCache, NoSetDefault, DryRun, Ephemeral, RemoteRepo ) ) import Darcs.RepoPath ( AbsolutePath, ioAbsolute, makeRelative, toFilePath, hunk ./src/Darcs/Repository/Prefs.lhs 237 is_darcsdir fp = darcsdir `isPrefixOf` fp boring_file_filter :: IO ([FilePath] -> [FilePath]) -get_global f = (getEnv "HOME" >>= get_preffile.(++("/.darcs/"++f))) - `catchall` return [] +global_prefs_dir :: IO (Maybe FilePath) +global_prefs_dir = (getAppUserDataDirectory "darcs" >>= return.Just) + `catchall` (return Nothing) + +get_global f = do + dir <- global_prefs_dir + case dir of + (Just d) -> get_preffile $ d </> f + Nothing -> return [] boring_file_filter = do borefile <- def_prefval "boringfile" (darcsdir ++ "/prefs/boring") hunk ./src/configuring_darcs.tex 24 repository. Such configuration only applies when working with that repository. To configure darcs on a per-user rather than per-repository basis (but with essentially the same methods), you can edit (or create) -files in the \verb!~/.darcs/! directory. Finally, the behavior of some -darcs commands can be modified by setting appropriate environment -variables. +files in the \verb!~/.darcs/! directory (or on Microsoft Windows, the +C:/Documents And Settings/user/Application Data/darcs directory). +Finally, the behavior of some darcs commands can be modified by setting +appropriate environment variables. \input{Darcs/Repository/Prefs.lhs} Context: [Fix newline endings on Windows for HTTP module. Salvatore Insalaco <[EMAIL PROTECTED]>**20081025120900 Ignore-this: f44ed6b1127d1ecc686353d4179c2b62 ] [resolve issue1023: bracket file writing to prevent windows permission errors. Salvatore Insalaco <[EMAIL PROTECTED]>**20081025134220 Ignore-this: b457533b264b97952a52b8ab65d3de0b ] [resolve issue1000: warn when tags are too short (length name <2) Christian Kellerman <[EMAIL PROTECTED]>**20081025203101] [$DARCS is no longer set by shell_harness. Trent W. Buck <[EMAIL PROTECTED]>**20081024093255] [Cleanup after others before running tests. Trent W. Buck <[EMAIL PROTECTED]>**20081024062308 When running tests in non-reverse order, these were failing. ] [resolve issue1051: Allow --dry-run --interactive [EMAIL PROTECTED] Ignore-this: 31efa8f7d63fa97050780ba206db9642 ] [franchise now has optimization-disabling built in. David Roundy <[EMAIL PROTECTED]>**20081024185501 Ignore-this: b0c123e8a119f5df572291ebdb662cdb ] [making Darcs.Patch.Set comment into haddock Florent Becker <[EMAIL PROTECTED]>**20081022124230 Ignore-this: ca2a6273ef5f38faf07141d969bc45d8 With questions about the semantics of PatchSets. ] [fix documentation bug. David Roundy <[EMAIL PROTECTED]>**20081024183357 Ignore-this: ce6c4b16d613dbc8d7874c6519b9a808 ] [Haddock typoes and formatting in Darcs.Match [EMAIL PROTECTED] Ignore-this: 95747c855b220f6c761435c92c672855 ] [enable the use of $SENDMAIL for darcs send Christian Kellermann <[EMAIL PROTECTED]>**20081024112941 Ignore-this: 731ff4dbc8076fb417f39b17a5a2addb ] [resolve issue628: reuse the long comment code from Darcs.record Christian Kellermann <[EMAIL PROTECTED]>**20081024133002 Ignore-this: 36de69ba67d480651715c9296df5b90a ] [code cleanup Christian Kellermann <[EMAIL PROTECTED]>**20081024131904] [Canonize Christian Kellermann Christian Kellermann <[EMAIL PROTECTED]>**20081024135228 Ignore-this: af44e8b80738c98bafe30bb5e15ef5ba ] [Clarify darcs transfer-mode debug message. Eric Kow <[EMAIL PROTECTED]>**20081024091824 Ignore-this: 502677248b4bee41a6d319c84d661a55 ] [Use ANNOUNCE_GHC convention for .depend. Trent W. Buck <[EMAIL PROTECTED]>**20081024024444] [Use $@ to avoid repetition in makefile. Trent W. Buck <[EMAIL PROTECTED]>**20081023023447] [improve test_unit performance with QuickCheck 2.1 [EMAIL PROTECTED] [Remove unused functions just_dir and drop_paths from FilePathUtils. Eric Kow <[EMAIL PROTECTED]>**20081023202557 Ignore-this: b2c87df3986ef1c7b2cd682287e4749b ] [Replace just_dir with System.FilePath.takeFileName. Eric Kow <[EMAIL PROTECTED]>**20081023202009 Ignore-this: 294cdde35f8656e98ff30052fe41600 ] [Appease GHC by removing unused import. Trent W. Buck <[EMAIL PROTECTED]>**20081023074144] [Typo. Trent W. Buck <[EMAIL PROTECTED]>**20081023073644] [Haddock documentation for Darcs.Patch.Match Florent Becker <[EMAIL PROTECTED]>**20081022125326 Ignore-this: b020f089363e6c0a20fde963e071f112 ] [haddock documentation and better names for Darcs.Match Florent Becker <[EMAIL PROTECTED]>**20081023141924 Ignore-this: 27ef66ea7f77ff38d92d224b316b591c ] [remove duplicate Darcs.Match.doesnt_not_match Florent Becker <[EMAIL PROTECTED]>**20081023134139 Ignore-this: d2af9cbfc1c3a0f3daa84de5d7ba481d ] [Do not use literate Haskell for Darcs.Population and PopulationData Eric Kow <[EMAIL PROTECTED]>**20081023151214 Ignore-this: a1d30b874d011b17640119373ce1f71f ] [Convert Darcs.Population and Darcs.PopulationData comments into haddock. Eric Kow <[EMAIL PROTECTED]>**20081023151058 Ignore-this: cdfbc7b827e4f4309f4c52999ce7b3f3 These were meant to be API documentation. ] [Remove redundant nullPI Eric Kow <[EMAIL PROTECTED]>**20081023144058 Ignore-this: f61f60dfe29657872d555f9dc7c6e02e ] [Fix placement of ChangeLog signatures. Eric Kow <[EMAIL PROTECTED]>**20081023143555 Ignore-this: a01bf584d8a0259b45f81807b7b91942 ] [Make threading mandatory in darcs.cabal.in. Eric Kow <[EMAIL PROTECTED]>**20081023142817 Ignore-this: d9681fe2e2e97f594d2253df4de182d8 ] [Remove Changelog.README. Eric Kow <[EMAIL PROTECTED]>**20081023122647 Ignore-this: 467216ef492df50ecb568e80380927cb We no longer generate the ChangeLog automatically. ] [Style tweak in Darcs.Utils.firstNotBlank Eric Kow <[EMAIL PROTECTED]>**20081022130841 Ignore-this: eed1e68813f891f5e90fb61f89bcde9b ] [Minor Haskell style refactor. Eric Kow <[EMAIL PROTECTED]>**20081022130825 Ignore-this: ee6b29b703b6315bcc88291de30babde ] [make releaseVersion explicitly depend on the version, not Setup.hs. David Roundy <[EMAIL PROTECTED]>**20081022211347 Ignore-this: acebecb3d11941c6c81d972c9ebb127a ] [remove unneeded cd .. from Setup.hs. David Roundy <[EMAIL PROTECTED]>**20081022143623 Ignore-this: 4d51f5a20c038b562028b8972e33f66c ] [change setup.hs to Setup.hs in Setup.hs. David Roundy <[EMAIL PROTECTED]>**20081022210724 Ignore-this: 52a91ee40dfcbea225c6bfa0ebca746e ] [cut unused amInRepo from Setup.hs. David Roundy <[EMAIL PROTECTED]>**20081022185639 Ignore-this: 242baf8f224e86109a2613febe53e076 ] [Do not recompute ChangeLog files at all. Eric Kow <[EMAIL PROTECTED]>**20081021104308 Ignore-this: 55d1494237fa59b1cfa567781fb16f3f ] [Do not recompute ChangeLog (franchise). Eric Kow <[EMAIL PROTECTED]>**20081021104020 Ignore-this: 103adab99f27a6c41be5000c4337551d ] [Hard-code darcs-2.1.0 ChangeLog entries. Eric Kow <[EMAIL PROTECTED]>**20081021103725 Ignore-this: b5e03d213c5ed90092362b5ebe3fc0b ] [Rename tests/template so it doesn't get deleted by make clean. Eric Kow <[EMAIL PROTECTED]>**20081022105753 Ignore-this: 4e3688d7f9de8f61cb77a081faf194c2 ] [Allow empty matchers in Patch.Match Florent Becker <[EMAIL PROTECTED]>**20081022131118 Ignore-this: 2128e8001ed23aa200aec125147a8852 This allows one to put "amend-record match 'author me'" in their defaults, and amend other people's patches using --match '' ] [Avoid using ls to get test files (makefile). Eric Kow <[EMAIL PROTECTED]>**20081022104632 Ignore-this: dd4132179155ea27190f943c4cb35b08 Thanks to Trent Buck! ] [Simplify test targets in makefile. Eric Kow <[EMAIL PROTECTED]>**20081022104120 Ignore-this: 6b7f13facff53107214ebbe53deae8dd Do not use a discard filter. Instead, just let the individual tests determine if they should run or not. ] [Rollback accidentally applied darcs.cabal patch. Eric Kow <[EMAIL PROTECTED]>**20081022150750 Ignore-this: c3fae9a61e09d2e20cb3da9a7dfa08ff rolling back: Sun Oct 19 12:07:35 BST 2008 Eric Kow <[EMAIL PROTECTED]> * Add cabal file modified from Petr and Gwern's cabalisation branch. ] [Add cabal file modified from Petr and Gwern's cabalisation branch. Eric Kow <[EMAIL PROTECTED]>**20081019110735 I have updated the version number, simplified the text, and removed a couple of files that are generated by their Setup.lhs ] [Simplify darcs.cabal.in and add more precise dependencies. Eric Kow <[EMAIL PROTECTED]>**20081022094015 Ignore-this: ccf1a93e98f91a5e6175777ff4144516 This removes any information from the cabal file which is redundant with franchise, reduces the number of choices you can make (haskeline and terminfo now mandatory) and adds more precise package dependency information. ] [Simplify author field in darcs.cabal.in. Eric Kow <[EMAIL PROTECTED]>**20081021131711 Ignore-this: b528eca77d99c1827f704f1ac593f546 I think the et al. confuses my mail client. ] [don't install franchise while testing. David Roundy <[EMAIL PROTECTED]>**20081021212101 Ignore-this: aef13450f0d8b110dca782c789ec11e3 ] [make pull work with multiple --repodirs. David Roundy <[EMAIL PROTECTED]>**20081021181317 Ignore-this: 8741d0b7356079cb828d70d7042d0922 ] [call $(MAKE) instead of 'make', because GNUMake is not called 'make' everywhere Chistian Kellermann <[EMAIL PROTECTED]>**20081021123122] [Add a darcs-nightly target to the makefile. Eric Kow <[EMAIL PROTECTED]>**20081020214102 Ignore-this: bb2bdd61ac32b241ddf9498a8f08987b This attaches a version number with patch count to the darcs binary. It is meant for use by an automatic nightly build script. ] [prefer recursive acronymn to embarrassing one David Roundy <[EMAIL PROTECTED]>**20081021113728 Ignore-this: 55330f8d447f308db408aeea5065f95e ] [Create the darcs.cabal file in franchise. Eric Kow <[EMAIL PROTECTED]>**20081021095925 Ignore-this: db1dc72b5589178c521c1daee8b32f63 ] [Add a template for building the darcs.cabal file. Eric Kow <[EMAIL PROTECTED]>**20081021095743 Ignore-this: 51eaff43be4eec36dcdbd238fb317931 This is slightly modified from Gwern Branwern's and Petr Rockai's cabalisation work. ] [resolve issue784: fix file handle leak and check for exceptions on process running. Salvatore Insalaco <[EMAIL PROTECTED]>**20081019065904] [Reenable some tests under Windows now that we are ignoring setCooked errors. Eric Kow <[EMAIL PROTECTED]>**20081014072549] [avoid needless work in Setup.hs David Roundy <[EMAIL PROTECTED]>**20081020200931 Ignore-this: 52f3e0416edfd888d926a01ced7b6714 ] [enable franchise build tests under wine 1.0. David Roundy <[EMAIL PROTECTED]>**20081020182156 Ignore-this: 2b6ea78bb8ae5e432c4823019ef6e589 ] [enable test of franchise build. David Roundy <[EMAIL PROTECTED]>**20081020172147 Ignore-this: bf5e21492195919296450851c07789c2 ] [only build ChangeLog if we're in a darcs repository. David Roundy <[EMAIL PROTECTED]>**20081020143550 Ignore-this: e79c7ca9ca2525ff4489a4c6926cbcaa ] [remove dependence on haskell98 package from preproc.hs and make_changelog.hs. David Roundy <[EMAIL PROTECTED]>**20081019220256 Ignore-this: 2bda2dcb172e3c815bd5a2c068a064e2 ] [we don't need to announce we're on windows, just log it. David Roundy <[EMAIL PROTECTED]>**20081019213320 Ignore-this: 23d4ca75eb60dcf4ef52123a5cb6c4eb ] [reorganize and comment ./Setup.hs flags. David Roundy <[EMAIL PROTECTED]>**20081019211118 Ignore-this: 954c53a14e398fc0e037c8a1371bd598 ] [simplify checking for windows using franchise. David Roundy <[EMAIL PROTECTED]>**20081019211048 Ignore-this: 37e425429c107b80776dc3c28ca7c544 ] [test for endianness using franchise. David Roundy <[EMAIL PROTECTED]>**20081018213539 Ignore-this: 9c418723de4ae70bc83cd0e6bc9b1dfd ] [fix test-franchise-build.sh to work with renamed Setup.hs. David Roundy <[EMAIL PROTECTED]>**20081018183619 Ignore-this: 7b810e0be231c6088e5fc0cde9533192 ] [Capitalise Setup.hs for consistency. Eric Kow <[EMAIL PROTECTED]>**20081018152001] [add CURSES test to setup.hs. David Roundy <[EMAIL PROTECTED]>**20081017164048 Ignore-this: 1262a90b249d39c916e8e36bfdb6b63b ] [half-resolve issue1138: make it possible in setup.hs to not use -Werror. David Roundy <[EMAIL PROTECTED]>**20081016201336 Ignore-this: 4f4f31cf24e25774a8217c26813ddbd3 ] [use unlessFlag in setup.hs to simplify haskeline check. David Roundy <[EMAIL PROTECTED]>**20081016200649 Ignore-this: 5a2b4ced454b56180f4b9422ff03c41f ] [add haskeline test to setup.hs. David Roundy <[EMAIL PROTECTED]>**20081014201513 Ignore-this: 1472b07696d83f70bf8ad8f7b3d5cf1 ] [clean up setup.hs by using lookForModule instead of catching exceptions. David Roundy <[EMAIL PROTECTED]>**20081014160159 Ignore-this: 8f5c7bd5be2ca099fda5bd52d35dc429 ] [add test for siginfo.h (which shows up on SunOS maybe?) David Roundy <[EMAIL PROTECTED]>**20081014154814 Ignore-this: 72d32ff1b4b57dbf75eab937be5a0e22 ] [clean up test-franchise-build.sh a bit more... David Roundy <[EMAIL PROTECTED]>**20081013175711 Ignore-this: 619fff6a0be4bc8172cd8c39a5591079 ] [clean up test-franchise-build.sh David Roundy <[EMAIL PROTECTED]>**20081013162935 Ignore-this: a1bd36f8bb8d3d75519abcc8d8388a99 Among other infelicities, it wasn't using a clean franchise build except under wine. ] [clean up setup.hs configure a bit. David Roundy <[EMAIL PROTECTED]>**20081010154959 Ignore-this: 10855edc3e6fda315e03b6ea1c64b05e This removes redundant output, and warns when fast http libraries aren't found (or no http library at all). ] [Fix curl version in setup.hs. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081012094214 Ignore-this: 5c44008cb7105279c37a2297e668a070 ] [avoid re-checking for windows. David Roundy <[EMAIL PROTECTED]>**20081011223905 Ignore-this: 93c42ffc6b67c6cca803e1dcb18a9497 ] [setup.hs: don't fail if darcs doesn't yet exist. David Roundy <[EMAIL PROTECTED]>**20081011223824 Ignore-this: 6d318961490a9343f5e792f2d740fd27 ] [fix spelling error in setup.hs. David Roundy <[EMAIL PROTECTED]>**20081011205353 Ignore-this: 6d521f633d74aae8705391eff9489b2c ] [make setup.hs look for libcurl David Roundy <[EMAIL PROTECTED]>**20081011195923 Ignore-this: c9a267184e89b188f074171f8887b3b4 ] [ratify use of readFile in setup.hs David Roundy <[EMAIL PROTECTED]>**20081010150105 Ignore-this: 92627010ec07e16d271bcc5e7f325c64 ] [add script for testing the franchise build. David Roundy <[EMAIL PROTECTED]>**20081010142711 Ignore-this: 5aa40dc14c0827b199b9d23d1c7ef27d This includes testing the cross-compile to windows using wine. It's part of my scripts that are run on each push to darcs-unstable. ] [add franchise setup file. David Roundy <[EMAIL PROTECTED]>**20081009203410 Ignore-this: f1738c7608e6093aa18e808d3d41d000 ] [on windows, try renameFile before deleting target file. David Roundy <[EMAIL PROTECTED]>**20081010204009 Ignore-this: 6946caec86d1c7177510baf62e2ed275 The trouble was that if we were renaming a file to itself, we ended up deleting the file we were renaming (oops!). It's a stupid hack, but that's what we're forced to do when running on windows. (Note that it's potentially hard to determine if two paths describe the same file.) ] [Simplify Darcs.Lock.withDir. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081011110639 Ignore-this: c01257f9e0fc40c415562448cb52d67d ] [Do not remove temporary directories if DARCS_KEEP_TMPDIR environment variable is set. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081011105808 Ignore-this: 5ea0e206e45dc9be73c29c3bf89643b9 ] [eliminate autogeneration of Workaround.hs. David Roundy <[EMAIL PROTECTED]>**20081010134727 Ignore-this: 784a4b08bab1e22c93f54c1c5cd710f1 ] [Add import list for System.Process in Exec.lhs J. Garrett Morris <[EMAIL PROTECTED]>**20081017195920] [Use command_control_list directly in run_the_command. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015181141 Ignore-this: 8c4fb4d8602638648ba4afc6d2e9eeb8 ] [Fix imports in Darcs.ArgumentDefaults. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015180629 Ignore-this: e57422b5a224179b7b1431de262bf8ea ] [Refactor Darcs.ArgumentDefaults to use command_control_list directly. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015175540 Ignore-this: c832abf95dc438a3b71ed2b9a84cc413 ] [Refactor Darcs.Commands, move command run code to Darcs.RunCommand. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015174031 Ignore-this: 3b8c32701f62f3d7b1e0834eaa406dc5 ] [Remove unused extended_usage. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015142503 Ignore-this: 1d86f17d2bc3ec0c004e3cd1016d303 ] [Use help_cmd instead of usage in main. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015134236 Ignore-this: fced70e6714d5294783bbe98f0d81e47 ] [Use help_cmd directly in main. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015132942 Ignore-this: 8ded4d8a8cf51f862794a78eea4ef137 ] [Refactor 'darcs --commands' to list_available_commands. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081015125827 Ignore-this: 114b79a90e6446169dd87ff8591bc6ff ] [fix Submitting patches to darcs with respect to send -u Thorkil Naur <[EMAIL PROTECTED]>**20081015073751] [finished cleanup of default_boring entries [EMAIL PROTECTED] Ignore-this: e5ad0567cabe64142bf3876c2d73535e ] [simplify pull_many_files.sh. David Roundy <[EMAIL PROTECTED]>**20081014165155 Ignore-this: 9f7a7cc5b02a9d51810149a8875e987f ] [Use fgrep in printer.sh test (more portable than grep -F) Eric Kow <[EMAIL PROTECTED]>**20081014135138] [have makefile make hspwd rather than shell_harness. David Roundy <[EMAIL PROTECTED]>**20081013192943 Ignore-this: 31008f1993c5a2281b229b9c5cdca66c I think there was a problem that make -j check could cause ghc --make to be run simultaneously. Now it's run just once, before running any tests. ] [slightly hokey approach to solving pwd problem. David Roundy <[EMAIL PROTECTED]>**20081013184209 Ignore-this: 762f0339c99f1d4a529ab031ad353cd0 I think this may help the Solaris/BSD test portability issue, and it's also (I think) a slightly cleaner alternative to the portable_pwd hack. ] [Remove bashisms and GNUisms Matthias Kilian <[EMAIL PROTECTED]>**20081012123017 Replace some bashisms and GNUisms by more standards compliant command lines, i.e.: - Don't use `\|' in BREs, since it's undefined according to POSIX. Instead just use grep -E with an ERE. - Don't create "funny" strings with the $'\x01...' bashism but use printf(1) instead. Note that this isn't strictly necessary to fix printer.sh on non-GNUish systems, but it makes it much simpler to test what's going on. - In test_line(), just use grep -F, and unescape all second arguments passed to test_line(). This makes the script much more readable and actually fixes it for non-GNUish systems. ] [Restore quiet grep in portable_pwd Eric Kow <[EMAIL PROTECTED]>**20081005164212 Only this time, we use > /dev/null. ] [Disable a test that triggers a setCooked failure under Windows. Eric Kow <[EMAIL PROTECTED]>**20081005145124] [further makefile cleanups. David Roundy <[EMAIL PROTECTED]>**20081005124353 Ignore-this: 8c498e4b793b7049e273d6ac98441256 ] [Simplify testing in makefile. Eric Kow <[EMAIL PROTECTED]>**20081005092416] [Revise test documentation to reflect consolidation to shell tests. Eric Kow <[EMAIL PROTECTED]>**20081005091131] [Remove Perl test harness and convenience copies. Eric Kow <[EMAIL PROTECTED]>**20081005090921] [Do not use Perl test harness. Eric Kow <[EMAIL PROTECTED]>**20081005090903] [Hopefully fix issue595 test on Solaris. Eric Kow <[EMAIL PROTECTED]>**20081005090156 I'm not entirely clear on what is causing this to fail. The basic test is: mkdir -p restrictive/liberal chmod 111 restrictive cd restrictive/liberal darcs get This is apparantly known to fail under Solaris. The original Perl test claims it's because you can't cd into restrictive/liberal, but the shell variant seems to manage fine. In any case, I think this touch file check is simpler. ] [fix bug in external.sh translation. David Roundy <[EMAIL PROTECTED]>**20081005122814 Ignore-this: 1291ebf27ea9c4a04d79c877b0f6f82d ] [Translate printer test into shell. Eric Kow <[EMAIL PROTECTED]>**20081005020140] [Translate still more Perl tests into shell. Eric Kow <[EMAIL PROTECTED]>**20081005012058] [Translate pull_many_files tests into shell and avoid redoing work. Eric Kow <[EMAIL PROTECTED]>**20081005004120 Just use whatever format is in .darcs/defaults ] [Skip filepath test which does not work on Windows. Eric Kow <[EMAIL PROTECTED]>**20081004234806] [Fix non-portable use of grep -q in tests. Eric Kow <[EMAIL PROTECTED]>**20081004234524] [Make sed usage more portable in hidden_conflict2 test. Eric Kow <[EMAIL PROTECTED]>**20081004233717] [Translate some more Perl tests into shell. Eric Kow <[EMAIL PROTECTED]>**20081004201632] [add test that timestamps are properly set. David Roundy <[EMAIL PROTECTED]>**20081013152933 Ignore-this: caf36b9fff70f9a44b0f35078f3a5aee ] [simplify write_default_prefs. David Roundy <[EMAIL PROTECTED]>**20081013121512 Ignore-this: 4f72699d2406802e771a0ceadc913550 It's easier to read this way, and shorter, too. ] [documented provenance of .tmp_versions and .DS_Store files in default boring [EMAIL PROTECTED] [resolve issue1139: make special cases handle no arguments gracefully. David Roundy <[EMAIL PROTECTED]>**20081011161059 Ignore-this: 12b17a3940558860dd4caf7bb2619ec7 I accidentally broke this when refactoring Darcs.Match. This change restores some efficiency when no arguments are given and thus we are creating copies of all the files in the repository. ] [remove reimplementation of zipWith. David Roundy <[EMAIL PROTECTED]>**20081010191051 Ignore-this: 277f49de513ec84bc6db0b4da6c633b1 ] [fix incompatibilities with ghc 6.6 David Roundy <[EMAIL PROTECTED]>**20081009165845 Ignore-this: 18739c880a49b976ec151363f4ff9296 ] [refactor Match to handle --store-in-memory itself. David Roundy <[EMAIL PROTECTED]>**20081008172748 Ignore-this: 647c75f78d2d4981e67039ae1b6e96df This reduces the amount of duplicate code, at the cost of adding a class to Darcs.Match--but at least it isn't exported. ] [make writeSlurpy work properly when given "." David Roundy <[EMAIL PROTECTED]>**20081008172207 Ignore-this: 9d5d077bcdf3a9bb7bfa8477ab9d96d5 This isn't a bugfix per se, but rather a feature addition. writeSlurpy has a "safety feature" that it refuses to overwrite a directory, but that safety feature doesn't really apply to the directory ".", since "." explicitly means that we want to overwrite the directory. ] [add tests for issue1139. David Roundy <[EMAIL PROTECTED]>**20081011155324 Ignore-this: ff50784059114f969fb4657ea5e92025 ] [Copyright and licensing notes and rationales. Trent W. Buck <[EMAIL PROTECTED]>**20081011035925] [Document DARCS_KEEP_TMPDIR in manual. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081011115026 Ignore-this: bd77d5a85fa44094dcd1a867c2a63d2e ] [Documentation for DARCS_KEEP_TMPDIR. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081011113042 Ignore-this: 5e3d6598aed4b681a099341c3ec5017a ] [add new test that optimize --reorder behaves itself on lazy repos. David Roundy <[EMAIL PROTECTED]>**20081010194834 Ignore-this: 5246d20700c153490da1997caede4369 ] [give more debug output in test. David Roundy <[EMAIL PROTECTED]>**20081010191209 Ignore-this: a13ec79ae69f4fe9621ea3c16c9b41d6 ] [add a --prompt-for-dependencies to restore the default behaviour [EMAIL PROTECTED] Ignore-this: 92480353c19dea1b67aff89b933759a2 Add a --prompt-for-dependencies flag so that one can put --dont-prompt-for-dependencies in their defaults file and still get back the default behavior when needed. ] [cleanup default boring [EMAIL PROTECTED] Also turn default_boring and default_binaries into (pure) CAFs. ] [Fix spurious diff and missing cd in diff test. Eric Kow <[EMAIL PROTECTED]>**20081008192142 If tests are run in parallel, each instance of the diff test may attempt to create temporary directories for use by darcs diff. Darcs itself handles this fine; only the test script gets confused by the spurious difference that results. ] [Help the test harness clean to up after tests. Eric Kow <[EMAIL PROTECTED]>**20081008190340 A typical use case is if a test sets restrictive permissions and dies. Notes: * we do this after each test so that one test result doesn't contaminate others * we explicitly do /not/ remove these temporary directories because you may want them around for forensics ] [Minor refactor in URL.urlThread. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081010071649 Ignore-this: 809d750f10adc8073ebe0dd3d432f2a2 ] [clean up code formatting in Hopefully. David Roundy <[EMAIL PROTECTED]>**20081010144943 Ignore-this: 65a4dbb17505adbc0c0c615c445a8926 ] [clean up unused exports in Hopefully. David Roundy <[EMAIL PROTECTED]>**20081010144918 Ignore-this: a016b66fd64f756295555255b268e80a ] [haddock documentation for Hopefully [EMAIL PROTECTED] [resolve issue1062: ignore setCooked and setEcho errors. Eric Kow <[EMAIL PROTECTED]>**20081010122047 Ignore-this: 2f8c8710faefdcdb6b224244995a00af The issue in question is only about setCooked. I presume setEcho can similarly fail. ] [add missing createLink to win32/System/Posix/Files.hsc. David Roundy <[EMAIL PROTECTED]>**20081010133500 Ignore-this: 39d246ab1db8c31f78e0b8362ad05ca3 ] [make make_changelog default to quiet output. David Roundy <[EMAIL PROTECTED]>**20081009203322 Ignore-this: 55eba7a68a3c8a5683d23cc99848bd6f You can restore previous behavior by defining the VERBOSE environment variable. ] [remove unused and unneeded Workarounds. David Roundy <[EMAIL PROTECTED]>**20081009194541 Ignore-this: bca5a7a2444d4ddffeed673cbbfa19ec ] [rename lazy-deps to dont-prompt-for-dependencies. David Roundy <[EMAIL PROTECTED]>**20081009171030 Ignore-this: 78393e28c184c9339c89cecaa852dbc9 ] [basic tests for --lazy-deps Florent Becker <[EMAIL PROTECTED]>**20081008124956 Ignore-this: 79d8a312943813e9fe5448bc2ab86aa0 ] [added a --lazy-deps option Florent Becker <[EMAIL PROTECTED]>**20081008122224 Ignore-this: d934868e56f0084067f5aedf0512a533 This option means that you don't get asked about patches which do not match a --match, but are depended upon by a patch that does. These patches will get ilently selected. ] [refactor of SelectChanges Florent Becker <[EMAIL PROTECTED]>**20081008100551 Ignore-this: e620d36d6e52eb62a2205fe5122d7076 ] [rewrite push_coalesce_patch to avoid calls to lengthFL. David Roundy <[EMAIL PROTECTED]>**20080924161517 Ignore-this: cf746702c3b1e06ab2d400878e20e305 ] [change a bit of code to accept FilePathLike arguments. David Roundy <[EMAIL PROTECTED]>**20081008172047 Ignore-this: 87032e071bb49117133d99a90bdfd0e1 These functions really should expect FileName, and this is an incremental move in that direction. ] [Implement Commands.Check in terms of Repository.Repair functionality. [EMAIL PROTECTED] [Implement Commands.Repair in terms of Repository.Repair functionality. [EMAIL PROTECTED] [Export testTentative from Darcs.Repository. [EMAIL PROTECTED] [Implement Repository.Repair to provide primitives for check and repair commands. [EMAIL PROTECTED] [keep changepref patches from breaking the toSimple optimization. David Roundy <[EMAIL PROTECTED]>**20080924162022 Ignore-this: 404a4386b048b74dd9afcdde47bc1b11 ] [make various autoconf simplifications. David Roundy <[EMAIL PROTECTED]>**20080923150742 Ignore-this: 213c53eda0b54c01909c8d15b2a5fdd6 ] [Translate merging_newlines bug into shell and restore bug context. Eric Kow <[EMAIL PROTECTED]>**20081005085031 This used to be a TODO item at the end of the merging_newlines test, but when it was moved out, the actions required to set up a bug were forgotten. This patch restores those actions. ] [Remove residual Perlisms in match-date. Eric Kow <[EMAIL PROTECTED]>**20081005000324] [Use example.com in external.pl tests. Eric Kow <[EMAIL PROTECTED]>**20080928082407 This avoids timing out in some DNS lookup. When I first wrote this test, I did not know that RFC2606 has reserved example.{com,net,org} which seems to be useful in precisely this situation. ] [fix incorrect merging_newlines.sh test. David Roundy <[EMAIL PROTECTED]>**20081004223547 Ignore-this: 33ebc10cd54112ec101750dd6c75fdf9 ] [Move merging_newlines test to bugs and add a simpler version. Eric Kow <[EMAIL PROTECTED]>**20081004135724 There are two issues I noticed when converting this Perl test into shell. This test was passing, but I made some mistakes translating it, and in doing so, noticed two potential bugs. The first is a potentially hidden conflict. If we start from a file from temp1 <EOF> And then it seems that a change which adds an empty line should conflict with a change that adds a line with content. The second is that if you do omit the newline, as the original test does, from temp1<EOF> you get some strange-looking changes, namely that appending a line to this yields two addline changes and not one. ] [Restore send-external.sh test. David Roundy <[EMAIL PROTECTED]>**20081009140121 Ignore-this: 700f9c538033108cac397c1d757fbfc4 ] [use minimum Cachable time in corner case where f/=f' and c/=c'. David Roundy <[EMAIL PROTECTED]>**20081008173804 Ignore-this: 51f2a68ac4139420bd116e8293cc5cc2 ] [add test of Ignore-this functionality. David Roundy <[EMAIL PROTECTED]>**20081008192621 Ignore-this: 47b7bf225e2997dd78c351763c769738 ] [warn users if they try to record a change beginning with Ignore-this:. David Roundy <[EMAIL PROTECTED]>**20081008192001 Ignore-this: 94828726d609f46e384c2ab8091e49db Ignore-this: I am testing the functionality of this feature. ] [allow users to add their own ignored information to patches. David Roundy <[EMAIL PROTECTED]>**20081008190038 Ignore-this: fe8294776896b6fdcd489752a29d1069 ] [remove excessive indentation that made the code very hard to read. David Roundy <[EMAIL PROTECTED]>**20081008173358 Ignore-this: d93e312c27f0d9a1ef993855c6872257 ] [When requesting same URL with different cachability choose least cachable. Dmitry Kurochkin <[EMAIL PROTECTED]>**20081008145049 Ignore-this: fddacf3e706a68c55871f81438d283b ] [Improve test pull.sh cleanup Thorkil Naur <[EMAIL PROTECTED]>**20081008115539] [Allow dist command to take a tag argument (issue 286). Stephen Hicks <[EMAIL PROTECTED]>**20081006075133 It should probably be a "match_one_context" instead of a "match_one" option type, and then instead of using the "nonranged" matcher, we'd use the "patchset" ones (that don't exist yet). But I couldn't figure out how to blend "get_nonrange_match" and "get_one_patchset" in any sensical way to get immediate pristine output (and all the more so for the "_s" variants). So for now, contexts are not supported, but it would be nice if they were someday. ] [clean up RepoPath a bit (removing unused methods from classes). David Roundy <[EMAIL PROTECTED]>**20081008161906 Ignore-this: 4e69882ebe10f20bb67350b106bd10af ] [clean up exportation of SlurmMonad private internals. David Roundy <[EMAIL PROTECTED]>**20081008151758 Ignore-this: 3763cc352b6f28fa83d8fbe5b1077985 ] [Optimize clean_hashdir's use of cleanCaches. Petr Rockai <[EMAIL PROTECTED]>**20081007191237 We now only ask cleanCaches to look at files we have unlinked and therefore might have caused their cached equivalents to drop link-count to 1. Limits number of stats to O(n), n = number of cleaned out files. ] [partial haddock documentation of Arguments.lhs Florent Becker <[EMAIL PROTECTED]>**20081007131122] [mv nfs-failure test to the bugs/ folder, since it fails. David Roundy <[EMAIL PROTECTED]>**20081005130112 Ignore-this: 73c6e55558233f1b56d7ff51f327f454 ] [Translate some Perl bugs into shell. Eric Kow <[EMAIL PROTECTED]>**20081005084157] [Translate date matching test to shell. Eric Kow <[EMAIL PROTECTED]>**20081005000243] [Translate some more Perl tests into shell. Eric Kow <[EMAIL PROTECTED]>**20081004163850 Shell equivalents already exist for these particular tests, but they may not do the same thing. ] [Move non-date-matching code out of match.pl Eric Kow <[EMAIL PROTECTED]>**20081004145445 The goal is to minimise and eventually eliminate our use of Perl for regression tests. ] [Fix minor bug in conflict-doppelganger test. Eric Kow <[EMAIL PROTECTED]>**20081004163746 It does not account for --old-fashioned-inventory being in .darcs/defaults ] [Update tests to reflect --darcs-2 default. Eric Kow <[EMAIL PROTECTED]>**20080925143252 We need to explicitly say --old-fashioned-inventory to test accordingly. ] [Translate some more Perl tests into shell. Eric Kow <[EMAIL PROTECTED]>**20081004092507] [remove -q from diff in test, not supported on solaris Tommy Pettersson <[EMAIL PROTECTED]>**20081003205756] [Translate some Perl tests into shell. Eric Kow <[EMAIL PROTECTED]>**20081003183746] [Convert tag.pl test into shell. Eric Kow <[EMAIL PROTECTED]>**20081003095231] [make default_boring and default_binaries NOINLINE David Roundy <[EMAIL PROTECTED]>**20081001202731 Ignore-this: f74741738a612bb283d1e871d70aa492 This is primarily so I won't have to recompile all of darcs when these change, but also because they shouldn't be inlined. It would just be a waste of space (and would slow down darcs). ] [fix bug in 1105 fix that led to improper overrides of defaults David Roundy <[EMAIL PROTECTED]>**20081001175907 Ignore-this: 8413d2596f97076ccb096900585f0c62 The problem is illustrated in the tests/override-defaults.sh that I've recorded separately. We want conflicting defaults in ~/.darcs/defaults and _darcs/prefs/defaults to be resolved in favor of the default residing in _darcs/prefs/defaults. ] [add test that overriding of defaults works right. David Roundy <[EMAIL PROTECTED]>**20081001175645 Ignore-this: aedfd923676b1fa35c25c72abb88c8f3 ] [Test for issue1105. Dmitry Kurochkin <[EMAIL PROTECTED]>**20080929142205 Ignore-this: 5b7c2f7d270ab614eb1294566048a586 ] [Resolve issue1105: check if default options are valid. Dmitry Kurochkin <[EMAIL PROTECTED]>**20080929141948 Ignore-this: 17b4b27e31545689f21496f7fc9c9fe7 ] [Restore 'simplify patches in rollback'. Eric Kow <[EMAIL PROTECTED]>**20080926225429] [Restore issue27 patches. Eric Kow <[EMAIL PROTECTED]>**20080926222522 rolling back: Fri Sep 26 23:01:19 BST 2008 Eric Kow <[EMAIL PROTECTED]> * Resolve issue1102: recognise but do not generate patch log 'junk'. ] [TAG 2.1.0 Eric Kow <[EMAIL PROTECTED]>**20081009120532] Patch bundle hash: acda3eefda8b3f5c63e9bb9b0aadb911b854754b
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
