[RFC] push-history: storing date, user and changesets for each push operation
Benoît Allard
benoit at aeteurope.nl
Fri Oct 7 09:49:20 CDT 2011
On 10/7/2011 4:09 PM, Elifarley Callado Coelho Cruz wrote:
> Sometimes it's important to know who has made a push, when, and which
> changesets were included.
>
> This information could also be used by extensions to provide alternate
> methods of access control.
>
> My initial idea is to create a file named '.hg/push-history' and for
> each successful push, store a new record in it with these fields:
> date - login - revset - source
>
> date: when the push was accepted
> login: who did the push
> revset: which changesets were pushed
> source: ssh / http / local file / something else?
> other fields?
>
> Any suggestions ?
>
You should check out the pushlog extension from Mozilla, it does pretty
much what you are looking for. <http://hg.mozilla.org/hgcustom/pushlog/>
Looks like the SonicHg extension does it also.
<http://mercurial.selenic.com/wiki/SonicHgExtension>
Greetings,
Benoit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4936 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111007/ccb67eac/attachment.bin>
More information about the Mercurial-devel
mailing list