Re: receive.denyCurrentBranch
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 8, 2009, 23:41 UTC
- Message-ID
- <alpine.DEB.1.00.0902090038550.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <76718490902081451xd953e84y33de64cc82c1da42@mail.gmail.com>
Hi,
On Sun, 8 Feb 2009, Jay Soffian wrote:
> If you had paid attention, you would have noticed that Mercurial did not > attempt to merge. Rather, it created a new branch head in the remote > repository.
So this is the "detached HEAD" idea. Which contradicts the law of the least surprise.
> Clearly users are confused about pushing into a checked-out branch. > Maybe making that impossible by default will be enough.
It should be clear that the equivalent of a central repository is a bare repository. And hopefully Junio's strategy will make that clearer, so I think this is the superior approach.
Ciao, Dscho