On Thu, 2005-09-15 at 06:58 +0200, Richard Levitte - VMS Whacker wrote:
> In message <[EMAIL PROTECTED]> on Thu, 15 Sep 2005 04:05:02 UT, [EMAIL 
> PROTECTED] said:
> 
> monotone> ChangeLog: 
> monotone> 
> monotone> 2005-09-14  Timothy Brownawell  <[EMAIL PROTECTED]>
> monotone>     * contrib/ciabot_monotone_hookversion.py: CIA bot client script
> monotone>     meant to be called from the note_netsync_revision_received hook.
> monotone>     * lua.{cc,hh}: hook_note_commit and 
> hook_note_netsync_revision_received
> monotone>     now take the text of the revision as an argument.
> monotone>     * netsync.cc, commands.cc: Give hooks new argument.
> monotone>     * monotone.texi: Update documentation for those hooks.
> 
> Hmm, does anyone mind if I add yet another argument to
> hook_note_commit and hook_note_netsync_revision_received, containing
> the parents of the committed/received revision?  The reason would be
> to make it really easy to generate diffs...

The IDs of the parents can be extracted from the revision text by
looking for "old_revision [<id>]" lines.

Or do you mean the text of the parent revisions (Although I don't see
how that would help with diffs)?

Tim




_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to