How do I make sure that only known people can contribute/submit/commit/push changes?
Since Mercurial lets users do anything they want with their repository clones, sharing them with whoever they like, enforcing restrictions on commits is not generally possible with Mercurial (note, however, that committing in centralised version control systems’ and Mercurial’s commit operation are not exactly the same thing). However, the critical operation is actually the push operation, since it is at such a point that changes are communicated between repository clones, and where an “official” repository would want to be able to reject “unverified” changesets: that is, changesets from people who are unknown or not authorised to contribute changes. So, although many clones may potentially exist with any individual (known or unknown) doing what they like, any work that makes its way to the “official” repository must have someone who is “verified” or “authorised” pushing that work; that person effectively takes responsibility for the work’s suitability.
Related Questions
- President Kagame, how can you be sure that in rounding up the ex-FAR and Interahamwe, you won also be rounding up people who had nothing to do with the genocide in Rwanda in 1994?
- We send out memos of all our policy changes, but people keep saying they never got the memo. How can we be sure that everyone gets the memo?
- Why are people so selfish to have children when the aren sure...?