Remote Merge

Martin Pool martinpool at gmail.com
Fri Oct 28 02:22:36 BST 2005


On 28/10/05, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> I was thinking of pushing to a remote tree with no uncommited changes.
> You're right, supporting pushing to a modified directory is much
> harder.
>
> The problem I didn't realize is that it's hard to ensure that a remote
> tree has no local changes.
>
> One solution (not very satisfying IMO, but ...) would be to suppose
> that there have been no uncommited changes, and override them in case
> there were.

I think we can reasonably detect whether there are any uncommitted
changes in the remote working directory, and if so refuse to push. 
(Or perhaps give the option to override them.)

This supports the useful case of using push to update a working
directory, but keeps us away from ever generating conflicts in remote
files.

--
Martin




More information about the bazaar mailing list