monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] hooks documentation error


From: Bruce Stephens
Subject: Re: [Monotone-devel] hooks documentation error
Date: Sun, 25 Feb 2007 18:36:44 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

"Evan Martin" <address@hidden> writes:

>>From http://monotone.ca/docs/Hooks.html, with italics represented /like this/:
>
> note_netsync_revision_received (new_id, revision, certs, session_id)
>    Called by monotone after the revision /new_id/ is received through
> netsync. /revision/ is the text of the revision, what would be given
> by "monotone cat revision /new_id/".
>
> I'm not sure what this is trying to say but certainly "monotone cat
> revision" doesn't do anything useful unless you have a file called
> "revision" in your database.  The docs probably need updating, though
> I'm not sure what to.  "mtn cat _MTN/revision" is sorta what I think
> it's getting at, but that doesn't work and don't know which command
> dumps the, uh, revision (as in a block of text) of a particular
> revision (as in hash of that block of text).

It's just out of date.  I think "mtn automate get_revision /new_id/"
is the current equivalent to "cat revision".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]