[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision 17fdfc28276c34722d269e2c5003ceac25a1
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision 17fdfc28276c34722d269e2c5003ceac25a1a508 |
Date: |
Fri, 17 Mar 2006 04:05:53 +0100 |
-----------------------------------------------------------------
Revision: 17fdfc28276c34722d269e2c5003ceac25a1a508
Ancestor: f1c9d07cd81b1d3174e25dfcefa4f7a3df75ebd0
Author: address@hidden
Date: 2006-03-17T02:11:28
Branch: net.venge.monotone
Modified files:
ChangeLog lua.cc lua.hh monotone.texi netsync.cc
ChangeLog:
2006-03-17 Richard Levitte <address@hidden>
There are times when it is good to be able to prepare for a
bunch of calls to note_netsync* hooks, as well as to know when
there are not more such calls to be expected. To that end, I've
added note_netsync_start and note_netsync_end, and changed the
others to take the exact same nonce as those two. The purpose
of the nonce is to differentiate between different runs, if they
ever would run in parallel.
* lua.cc, lua.hh (lua_hooks::hook_note_netsync_start,
lua_hooks::hook_note_netsync_end): Added methods.
(lua_hooks::hook_note_netsync_revision_received,
lua_hooks::hook_note_netsync_pubkey_received,
lua_hooks::hook_note_netsync_cert_received): Modified to take a
nonce.
* monotone.texi (Hooks): Documented.
* netsync.cc (session::~session): Modified to call
app.lua.hook_note_netsync_start and app.lua.hook_note_netsync_end
as well as the others with the nonce argument.
monotone --db={your.database} diff
--revision=f1c9d07cd81b1d3174e25dfcefa4f7a3df75ebd0
--revision=17fdfc28276c34722d269e2c5003ceac25a1a508
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision 17fdfc28276c34722d269e2c5003ceac25a1a508,
monotone <=