glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] hg push : permission problem fixed


From: Michael [Plouj] Ploujnikov
Subject: Re: [glob2-devel] hg push : permission problem fixed
Date: Wed, 7 Jan 2009 08:34:04 -0500

On Wed, Jan 7, 2009 at 4:26 AM, Stéphane Magnenat <address@hidden> wrote:
> On Tuesday 06 January 2009 23:25:04 Bradley Arsenault wrote:
>> Why can't it simply be renamed back to glob2.
>
> For me it is ok, I am just afraid of people pushing back the faulty commit by
> mistake. One thing I can do is put its name back to glob2 but disable all
> accounts but the one that people have explicitly stated that they have
> noticed the change. That is not so good either, and add administration.
>
> Do you have any idea of how to prevent such problems?

Write a "precommit" hook which will check for the exact revision
has/number and cause the Hg server to deny a commit if it maches. Read
the Hg Book for more information:
http://hgbook.red-bean.com/hgbookch10.html

-- 
Michael Ploujnikov
http://plouj.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]