[darcs-devel] darcs patch: fix win32 build breakage caused by
unused import
Will
will at glozer.net
Mon May 7 13:01:18 PDT 2007
Hi,
Here is a patch which fixes a stray import used only in non-win32 code,
causing the win32 build to fail.
Thanks,
Will
-------------- next part --------------
New patches:
[fix win32 build breakage caused by unused import
Will <will at glozer.net>**20070507195100] {
hunk ./Exec.lhs 30
-import Control.Exception ( throwDyn, handleJust, userErrors )
hunk ./Exec.lhs 33
+import Control.Exception ( throwDyn, handleJust, userErrors )
}
Context:
[Renable --quiet test for rmdir.
Eric Kow <eric.kow at loria.fr>**20070422072009]
[don't exit with failure when there are no perl tests.
David Roundy <droundy at darcs.net>**20070418233016
This happens when tests_to_run is used.
]
[Modify match test for escaping quotes in match strings.
Dave Love <fx at gnu.org>**20070415170419]
[Allow escaped quotes in `quoted' for match text.
Dave Love <fx at gnu.org>**20070415180132]
[Make revert_interactive.sh test work under Windows.
Eric Kow <eric.kow at loria.fr>**20070415140652]
[Make set_scripts_executable.pl test work under Windows.
Eric Kow <eric.kow at loria.fr>**20070415133233]
[Make external.pl test work on Windows.
Eric Kow <eric.kow at loria.fr>**20070414212029
One of the tests in this script is to see if darcs calls ssh correctly.
We create a fake ssh program in the form of a shell script (it just
creates a file 'fakessh' to let us know it ran). Windows got confused
by this, so we (1) made sure the script also works as a DOS batch file
(2) gave it a .bat extension so that Windows knows how to run it.
]
[revamp TolerantIO to be simpler.
David Roundy <droundy at darcs.net>**20070421224551]
[reenable --quiet mode in apply.
David Roundy <droundy at darcs.net>**20070421001933]
[Apply patches 'tolerantly' to the working directory (issue434).
Eric Kow <eric.kow at loria.fr>**20070419200558
If there are any exceptions applying a patch to the working directory, catch
the exceptions, emit a pretty warning and move on. This is meant to ease
the scenario where the user is pulling in a large patch, but there is a
permissions error (or something similar) in the working directory.
Without this patch, darcs typically dies and leaves the working directory in
a 'corrupted' state. The corruption is relatively minor in that patches and
pristine are perfectly fine. The problem is that the user has large portions
of the patch still upapplied and when he does a darcs whatsnew, gets a mass
of seemingly incomprehensible goop (the inverse of the unapplied changes)
mixed in with his changes. We reduce the incomprehensible goop effect by
catching exceptions so that darcs can continue to apply as much of the patch
as it can.
]
[Add tests specifically for applying patches to the working dir (issue434).
Eric Kow <eric.kow at loria.fr>**20070419200048]
[Generalise HACKING file into a README (issue287).
Eric Kow <eric.kow at loria.fr>**20070401063734
The README parts are largely inspired from GHC.
]
[Include the query commands in the manual
Florian Weimer <fw at deneb.enyo.de>**20070325170019]
[fix unrecord.sh to use proper darcs.
David Roundy <droundy at darcs.net>**20070328181345]
[(add a + mv a b = add b) and (mv a b + remove b = remove a)
malebria at riseup.net**20070108160933]
[Add Workaround.bracketOnError (introduced in GHC 6.6).
Eric Kow <eric.kow at gmail.com>**20061225201830
This is to compensate for the missing Control.Exception.bracketOnError
in GHC 6.4.2
]
[fix link error with gcc 4.12/glibc 2.4
Benedikt Schmidt <beschmi at cloaked.de>**20061220091436
errno is a C macro that expands to a function call in
some versions of glibc, so it can't be treated like
a CInt there
]
[Tidy filenames before invoking tar
Wim Lewis <wiml at hhhh.org>**20061026035535
Only use the last path component of --dist-name for the distribution
name; the rest is still used when creating the final tar file. (issue323)
]
[Added rigorous error checking in exec
Magnus Jonsson <magnus at smartelectronix.com>**20061006222630
All lowlevel C return values are checked and turned into
exceptions if they are error codes. In darcs main
ExecExceptions are caught and turned into error messages
to help the user.
]
[redirect errors to stderr where exec output is used
Tommy Pettersson <ptp at lysator.liu.se>**20060916005651
Error messages would destroy the result if they ended up in the output.
If the external command fails, darcs should (but does not always) fail.
]
[Fix date.t pathname construction in whatsnew test.
Dave Love <fx at gnu.org>**20070305203305]
[Flip ssh test to accept a --ssh-cm argument.
Eric Kow <eric.kow at loria.fr>**20070310063327]
[Add a --ssh-cm flag with --no-ssh-cm as the default.
Eric Kow <eric.kow at loria.fr>**20070310063132
Previously, darcs would launch the ControlMaster by default, but it seems to
hang on some large repositories and cause pain. The user can always add
--ssh-cm if s/he wants it on.
]
[Rename --disable-ssh-cm to --no-ssh-cm.
Eric Kow <eric.kow at loria.fr>**20070310061124
This appears to be more consistent with other darcs flags.
]
[Do not append a colon to hostname when calling sftp (issue362).
Eric Kow <eric.kow at loria.fr>**20070308201844
This does not solve all of issue362, just a minor annoyance along its way.
]
[Don't depend on `seq' in tests.
Dave Love <fx at gnu.org>**20070225113255]
[Get `open' and `psignal' declared on Solaris.
Dave Love <fx at gnu.org>**20070225113041
The header requirements for open are actually as documented for glibc.
]
[Make test harnesses define PWD in environment in case shell doesn't.
Dave Love <fx at gnu.org>**20070225112124]
[Zsh completion: support repos that use _darcs/pristine
Georg Neis <gn at oglaroon.de>**20070301103113]
[Use LaTeX for ISO 8601 hyperlink.
Eric Kow <eric.kow at loria.fr>**20070217071601]
[Documentation only: add link for ISO 8601 format
Kirsten Chevalier <chevalier at alum.wellesley.edu>**20070216004007
In the documentation, make "ISO 8601 format" a link to the official
W3C page describing the format (for those who don't know it by heart).
]
[fix bugs in replace.sh script--running wrong darcs.
David Roundy <droundy at darcs.net>**20070128001826]
[add documentation for DARCS_PAGER
Benedikt Schmidt <beschmi at cloaked.de>**20070126142649]
[Fix issue383 - allow --disable-ssh-cm for 'darcs changes'.
Georg Neis <gn at oglaroon.de>**20070121224417]
[Canonize Marco Túlio Gontijo e Silva.
Eric Kow <eric.kow at loria.fr>**20070113231736
Sorry for stripping off the accent.
]
[Redundant noncomments
malebria at riseup.net**20070109125519
noncomments was already called by get_preffile via get_lines.
]
[Fix issue376 - inconsistent punctuation in darcs get.
Eric Kow <eric.kow at gmail.com>**20061231180024
]
[Fix issue367 - pull help message.
Eric Kow <eric.kow at gmail.com>**20061231174322]
[fix some changelog entries
Tommy Pettersson <ptp at lysator.liu.se>**20061231210024]
[allow commented tests in tests_to_run.
David Roundy <droundy at darcs.net>**20061211000322]
[use variable TEST_FILTER_FILE in makefile.
David Roundy <droundy at darcs.net>**20061204151217]
[add test target for testing hashed inventories.
David Roundy <droundy at darcs.net>**20060927020127]
[update web page for new mailing list server.
David Roundy <droundy at darcs.net>**20070116162930]
[fix spelling errors in comments
Benedikt Schmidt <beschmi at cloaked.de>**20061222020037]
[Fix ssh.sh test.
Dave Love <fx at gnu.org>**20061218223442]
[add warning about ALL and obliterate --all to documentation
Tommy Pettersson <ptp at lysator.liu.se>**20061219180302]
[Fix includes in External.hs.
Dave Love <fx at gnu.org>**20061218224158
You can't put comments before {-# INCLUDE ...
]
[add test for reverting removed directory
Tommy Pettersson <ptp at lysator.liu.se>**20061108202344]
[Improve error messages in push_cmd
chevalier at alum.wellesley.edu**20061207040701
I ran into this because MSYS was munging my repository directory in a
horrible way. This resulted in a bad repo directory getting passed into
darcs, which resulted in a fromJust error, which we all know makes the
baby Jesus cry. So, I at least refactored the code to give a better
error message, though there may well be a better solution.
]
[Implement prettyException.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061218025440]
[Simplify common libcurl errors.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061218025419]
[fix issue369 by failing if quickcheck isn't available
David Roundy <droundy at darcs.net>**20061218021545]
[Don't QP-encode bundles when pushing locally.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061218002533]
[Make darcs push QP-encode the bundle before transferring.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061217234635
This should hopefully fix issues with scp/sftp corrupting bundles in transit.
]
[Adapt callers to new calling convention for make_email.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061217234608
Use Just at the right places.
]
[Make arguments to make_email optional.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20061217234501
Makes contents and filename optional. If they are omitted, we still
generate a conforming MIME message.
]
[add test for get --tag and pending
Tommy Pettersson <ptp at lysator.liu.se>**20061211192821]
[add new test related to issue262.
David Roundy <droundy at darcs.net>**20061217221041
This issue seems to already have been fixed.
]
[Added test for reverting an unrecorded add
edwin.thomson at businesswebsoftware.com**20061215180047]
[add test that sigPIPE doesn't make darcs fail.
David Roundy <droundy at darcs.net>**20061209230155]
[make it an error to "put" into a preexisting directory.
David Roundy <droundy at darcs.net>**20061203205826
This changes darcs' behavior I believe for the better. Often one could be
tempted to try to put into a directory, expecting to have the repository
created as a subdirectory there, and it seems confusing (confused me) to
have instead the repository contents mingled with whatever was already in
that directory. Put should behave like get in this regard, in that it
shouldn't mix the new repo with a preexisting directory.
]
[adapt test sametwice to new obliterate --all feature
Tommy Pettersson <ptp at lysator.liu.se>**20061130132058]
[Adapt test perms.sh to obliterate --all feature.
Eric Kow <eric.kow at gmail.com>**20061209200625]
[use impossible to document impossible case in Repair.
David Roundy <droundy at darcs.net>**20061204152854]
[fix for Issue111, obliterate --all
David Roundy <droundy at darcs.net>**20061129164016
This is a patch to implement the wishless item Issue111,
which asks for an --all option to obliterate. The idea is
that you might use the --patches flag to select a bunch of
patches and not want to have to say yess to all of them.
For good measure, I also added it to unpull and unrecord.
]
[catch exceptions in stdout_is_a_pipe
Simon Marlow <simonmar at microsoft.com>**20061129160620]
[hFlush after "waiting for lock" message
Simon Marlow <simonmar at microsoft.com>**20061129160342
On Windows, stdout isn't always in line-buffered mode, but we really
want to see the message about waiting for a lock quickly. Mostly
because ^C isn't always caught properly on Windows and lock files are
often left behind, but that's another storey...
]
[add explicit import list
Simon Marlow <simonmar at microsoft.com>**20061129160144]
[ignore failure from hSetBuffering
Tommy Pettersson <ptp at lysator.liu.se>**20061117221424
This affects:
issue41 Doesn't like pasted text.
issue94 Crash on bogus input
issue146 hSetBuffering: invalid argument
issue318 buffering error of darcs record under bash/cmd.exe
It doesn't necessarily "fix" anything. It prevents darcs from quiting,
instead continuing with perhaps an undesirable buffering mode, which may or
may not be better ... or worse.
]
[Hard link support on Windows
Simon Marlow <simonmar at microsoft.com>*-20061204162040
This works only on NTFS filesystems. Also it requires Windows 2000 or
later; this may or may not be acceptable, I'll leave that up to the
darcs maintainers to decide.
]
[Hard link support on Windows
Simon Marlow <simonmar at microsoft.com>**20061204162040
This works only on NTFS filesystems. Also it requires Windows 2000 or
later; this may or may not be acceptable, I'll leave that up to the
darcs maintainers to decide.
]
[Canonize Kirsten Chevalier.
Kirsten Chevalier <chevalier at alum.wellesley.edu>**20061217025004
Added my name to the list of authors who originally only submitted an email
address.
]
[Documentation only - clarify meaning of --from and --author
Kirsten Chevalier <chevalier at alum.wellesley.edu>**20061217024927
Clarified the meaning of --from and --author. I had assumed that these
options also set the From: address on the email sent by "darcs sent". Of
course they don't, but it's better to make this clear.
]
[Do _not_ allow escaped quotes in `quoted'.
Eric Kow <eric.kow at loria.fr>**20061030064531
This undoes the patch by Dave Love: Allow escaped quotes in `quoted'.
The immediate problem is that it breaks make_changelog (because one of
Tommy's entries matches on a backslash). This feature might need more
discussion before we include it (or not).
]
[Replace tabs with spaces (escaped quotes in PatchMatch).
Eric Kow <eric.kow at loria.fr>**20061023192003]
[Allow escaped quotes in `quoted'.
Dave Love <fx at gnu.org>**20060716193940]
[Rename ssh_test to ssh.sh (for shell harness).
Eric Kow <eric.kow at gmail.com>**20061121141101
Note that you must set environment variables for it do anything
useful (namely REMOTE=you at someserver); something like the following
should work:
REMOTE=me at 192.168.2.3 make test
You need to be using public key authentication to have a fully
automated test.
]
[Overhaul and improve automation of ssh_test.
Eric Kow <eric.kow at gmail.com>**20061121141802
* Now quits if you don't supply REMOTE; does not have any
silly default values
* Options now passed in through environment variables, so:
NO_CONTROL_MASTER=1 REMOTE=me at 192.168.2.12 ./ssh_test
* Performs some automated success checks (which means that
it should be possible to use this from the harness if you
have ssh-agent running)
* Performs darcs send test
* Does not try to pass darcs-ssh flags (like --disable-ssh-cm)
to non-ssh-using commands like record
]
[Add a semi-automated test for SSH-related things.
Eric Kow <eric.kow at gmail.com>**20061110110801
Testing SSH stuff is tricky in that (1) you need some place to connect
to and (2) you often want to make sure that the user interactions work
out right. But it can't hurt to script away the boring stuff so that
you are naturally encouraged to test things out more thoroughly.
]
[remove link to obsolete mirror of kernel repo.
David Roundy <droundy at darcs.net>**20061212012644]
[Remove raw_mode functions from atomic_create.h.
Eric Kow <eric.kow at gmail.com>**20061008202738
It seems these were once implemented in compat.c and have since been
reimplemented in Haskell by Ian Lynagh on 2005-07-30. These appear to
just be leftover declarations in the C header.
]
[Add make rules for tags files.
Dave Love <fx at gnu.org>**20061113213923]
[configure should fail if a required module isn't present.
David Roundy <droundy at darcs.net>**20061128024557]
[look for --disable-ssh-cm in defaults files (issue351)
Tommy Pettersson <ptp at lysator.liu.se>**20061117180942]
[Define infodepspatch locally in AmendRecord instead of exporting it from Patch
edwin.thomson at businesswebsoftware.com**20061121093332
]
[Amending a patch doesn't remove explicit dependencies
edwin.thomson at gmail.com**20061110222837]
[Make libcurl use any http authentication.
Tobias Gruetzmacher <darcs at portfolio16.de>**20061118230406
This let darcs use repositories protected with digest authentication.
]
[Support darcs send --disable-ssh-cm.
Eric Kow <eric.kow at loria.fr>**20061121134158]
[Redirect stderr to Null when exiting SSH control master.
Eric Kow <eric.kow at loria.fr>**20061118212115
This suppresses the output
* Pseudo-terminal will not be allocated because stdin is not a terminal.
(result of redirecting stdin from /dev/null)
* Exit request sent.
(seems to be normal output. Seems also that there is no way to suppress
this; -q does not do the job, for example)
]
[Fix curses stuff, especially on Solaris 10.
Dave Love <fx at gnu.org>**20061120171211]
[Canonize Edwin Thomson.
Eric Kow <eric.kow at gmail.com>**20061118174454]
[Annotate various boring patterns.
Dave Love <fx at gnu.org>**20061113225701]
[TAG 1.0.9rc2
Tommy Pettersson <ptp at lysator.liu.se>**20061116140351]
Patch bundle hash:
52a5904355288ffb411dd808ba50163726d4942c
More information about the darcs-devel
mailing list