Mercurial merge permissions -


can configure mercurial permissions repository 1.1 can merged 1.0 , other repositories (ie: 1.2, 1.3) can not merged 1.0? interested in adding controls around can merged what.

my other answer addresses named branches case, in have few (not great) options because branch name part of changeset , can watch changesets created on 1.2 branch being merged 1.0 branch.

the clones branches case

if you're working clones branches (my preferred work mode) "what branch changeset done on" information isn't available. do, however, put pretxnchangegroup hook in 1.0 repository blocks first changeset created in 1.2 branch. if tries push 1.2 stuff 1.0 central(-ish) repository push denied.

here's example of how sort of hook: http://ry4an.org/unblog/post/mercurial_changeset_blacklist/


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -