[prev in list] [next in list] [prev in thread] [next in thread]
List: darcs-devel
Subject: Re: [darcs-devel] Control flow in apply_cmd
From: Nathaniel Gray <n8gray () caltech ! edu>
Date: 2006-07-31 4:20:20
Message-ID: 44CD8504.9080102 () caltech ! edu
[Download RAW message or body]
Eric Y. Kow wrote:
> On Sat, Jul 29, 2006 at 21:45:20 -0700, Nathaniel Gray wrote:
>> However, looking at apply_cmd leaves me at a loss as to how *any*
>> posthook gets run after it executes. The function ends with "exitWith
>> ExitSuccess", which AFAIK means game over. Can somebody enlighten me as
>> to how the posthook gets invoked?
>
> Have a look at DarcsCommand (grep runWithPostHook).
> We catch the ExitException and then run the posthook.
Ah, I see, thanks!
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic