[scm-migration-dev] Protecting a repo

2008-08-27 Thread David Marker
We do both for onnv-clone. Although technically it is {REPO}/.hg/store that Mercurial looks at for creating new files in the store (it uses that as a kind of umask). But its best to make sure everything in and including .hg can't be written to by group or other. But with default umask of 022 that

[scm-migration-dev] Protecting a repo

2008-08-26 Thread Tushar Desai
Dan Mick wrote: > Tushar Desai wrote: >> Dan Mick wrote: >>> I want to make a repo be pull-from-only (readonly, in essence). Is >>> the best/most-complete way to make .hg/ nonwritable? >>> >> The below is what we did to accomplish what you want to get done >> >> add the below in .hgrc > > But

[scm-migration-dev] Protecting a repo

2008-08-26 Thread Dan Mick
Tushar Desai wrote: > Dan Mick wrote: >> I want to make a repo be pull-from-only (readonly, in essence). Is >> the best/most-complete way to make .hg/ nonwritable? >> > The below is what we did to accomplish what you want to get done > > add the below in .hgrc But doesn't this require the us

[scm-migration-dev] Protecting a repo

2008-08-26 Thread Tushar Desai
Dan Mick wrote: > I want to make a repo be pull-from-only (readonly, in essence). Is the > best/most-complete way to make .hg/ nonwritable? > The below is what we did to accomplish what you want to get done add the below in .hgrc [hooks] pretxnchangegroup.deny.lock = path to the lock script

[scm-migration-dev] Protecting a repo

2008-08-26 Thread Dan Mick
I want to make a repo be pull-from-only (readonly, in essence). Is the best/most-complete way to make .hg/ nonwritable?