[RFC] push-history: storing date, user and changesets for each push operation

Elifarley Callado Coelho Cruz elifarley at gmail.com
Fri Oct 7 09:09:05 CDT 2011

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 ?

Elifarley Cruz

Google Buzz: http://bit.ly/elifarley-gbuzz
Google Reader: http://bit.ly/elifarley-reader
Bookmarks: http://delicious.com/elifarley
Professional info: http://linkd.in/elifarley  |

 " Do not believe anything because it is said by an authority, or if it  is
said to come from angels, or from Gods, or from an inspired source.
Believe it only if you have explored it in your own heart and mind and body
and found it to be true.  Work out your own path, through diligence."
- Gautama Buddha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111007/a0fa2cc5/attachment.html>

More information about the Mercurial-devel mailing list