So, following unofficial policy (*) that changes to existing UI should generally be discussed, what do people think of the new behaviour?
This means, for example, that if you do a darcs pull and there are no patches to pull, the posthook does not get run. It makes sense to me, personally. Any objections, darcs-users? On Sun, Nov 16, 2008 at 18:38:38 -0500, David Roundy wrote: > Sun Nov 16 18:05:21 EST 2008 David Roundy <[EMAIL PROTECTED]> > * don't run posthook if the command terminated with exitWith. > This is a change in policy, and means that for instance darcs pull -a will > only run the posthook if there are patches to pull. It does mean that we > have to be careful how we exit commands, since this adds new meaning to > "exitWith ExitSuccess", but my audit of the code shows that this is only > used when I wouldn't want to run the posthook anyhow. > > Actually, I found two gratuitous uses of exitWith ExitSuccess, and have > removed them. -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
pgpkgmxNV5Fv3.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
