summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-10-06 15:08:12 -0400
committerJoey Hess <joey@kitenet.net>2010-10-06 15:08:12 -0400
commit238e8b95a5b084e7131d3314b78419b9404cba4c (patch)
tree448ac7310509725d8d344fe0b9aba721f6ed127f /doc/plugins
parent58a0698d921efe0daa932599515f6b41b2da4044 (diff)
convert rcs_revert to only stage the reversion
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 3eade34ee..dbbe83851 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -1201,16 +1201,14 @@ Like `rcs_receive`, it should do whatever sanity checks are appropriate
for the RCS to limit changes to safe changes, and die if a change would
be unsafe to revert.
-#### `rcs_revert(@)`
+#### `rcs_revert($)`
This is called by the revert web interface. It is passed a named
parameter rev that is the RCS-specific change ID to revert.
-Addition named parameters: `message`, and `session` (optional).
-
-It should try to revert the specified rev, which includes committing
-the reversion, and returns undef on _success_ and an error message
-on failure.
+It should try to revert the specified rev, and leave the reversion staged
+so `rcs_commit_staged` will complete it. It should return undef on _success_
+and an error message on failure.
### PageSpec plugins