Differences between revisions 3 and 4
Revision 3 as of 2010-11-02 17:27:14
Size: 866
Editor: RyanSeto
Comment:
Revision 4 as of 2011-03-25 17:18:02
Size: 866
Editor: RyanSeto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Action Log provides a Mercurial (hg) hook that is intended to help keep track of a remote repository's state that multiple people have access to update, such as a website that is a Mercurial repository with it's own working directory. Action Log provides a Mercurial (hg) hook that is intended to help keep track of a remote repository's state when multiple people have access to update, such as a website that is a Mercurial repository with it's own working directory.

Action Log

This extension is not distributed with Mercurial.

Author: Ryan Seto

Mercurial Hook: http://bitbucket.org/MrWerewolf/hg-actionlog/

Overview

Action Log provides a Mercurial (hg) hook that is intended to help keep track of a remote repository's state when multiple people have access to update, such as a website that is a Mercurial repository with it's own working directory.

Configuration

Edit your repository's hgrc file. It is located in the .hg folder.

Add the following line in the [hooks] section:

[hooks]
update.actionlog = python:/path/to/actionlog.py:updatehook

Now, when you update your repository with the "hg update" command, actionlog will append to a log file called action.log in the .hg folder.


CategoryExtensionsByOthers

ActionLogExtension (last edited 2011-09-25 13:38:20 by YannEMORIN)