How to find, who executed "push -f" command
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Nov 30 19:23:26 UTC 2012
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
More information about the Mercurial
mailing list