Re: How to find, who executed "push -f" command
jeshkumar555@gmail.com
jeshkumar555 at gmail.com
Sat Dec 1 11:38:59 UTC 2012
Yes, this may be good idea. Will try it. Thanks anyway :)
Sent from my HTC
Excuse for typo.
----- Reply message -----
From: "Kevin Bullock" <kbullock+mercurial at ringworld.org>
Date: Sat, Dec 1, 2012 12:53 am
Subject: How to find, who executed "push -f" command
To: "Jeshwanth Kumar N K Jeshu" <jeshkumar555 at gmail.com>
Cc: "mercurial at selenic.com maillist" <mercurial at selenic.com>, "Matt Mackall" <mpm at selenic.com>
On Nov 30, 2012, at 12:28 PM, Matt Mackall wrote:
> On Fri, 2012-11-30 at 23:19 +0530, Jeshwanth Kumar N K Jeshu wrote:
>> Hello All,
>>
>> 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.
>>
>> Thanks :).
>
> I recommend:
>
> https://en.wikipedia.org/wiki/Trial_by_ordeal
>
> Mercurial internally does not store any logs beyond what you see in the
> changelog. There are a couple external projects that do this such as
> Mozilla's pushlog tool that could be helpful though.
You might also consider setting a hook on your shared repo to prevent creating new heads entirely (thus preventing push --force from working).
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121201/fbc50628/attachment-0002.html>
More information about the Mercurial
mailing list