How to find, who executed "push -f" command

Arne Babenhauserheide arne_bab at web.de
Fri Nov 30 21:36:39 UTC 2012


Hi Jeshwanth,

Am Freitag, 30. November 2012, 23:19:39 schrieb Jeshwanth Kumar N K Jeshu:
> I started using mercurial recently, I have one small doubt about push
> command. How can I know who has executed push -f ( force push) command in a
> repository.

The first, deat easy but inexact way is to just look, who wrote the commits in 
the newly generated head.

The second way is to check your server logfiles. That’s exact but more 
complicated.

The third, the advanced way is to add hooks to your repository which note 
connection details when something is pushed (changegroup hooks, for example 
defined in the .hg/hgrc in the repo)

Best wishes,
Arne
--
Ein Würfel System - einfach saubere Regeln: 

- http://1w6.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121130/272b0acc/attachment.asc>


More information about the Mercurial mailing list