Not sure how merge and push work

Erik Bågfors zindar at gmail.com
Mon Feb 27 19:43:14 GMT 2006


2006/2/27, Chris Seaton <chris at chrisseaton.com>:
> I was reading about the push command, and the help says
>
> If you want to ensure you have the different changes in the other
> branch,
> do a merge (see bzr help merge) from the other branch, and commit that
> before doing a 'push --overwrite'.
>
> What happens if there are local changes and remote changes, so I
> merge and then push --overwrite, but someone between the two commands
> pushed - what stops their changes from being lost?

Why don't you simply try?

It will tell you that the branches have diverted and ask you to do a
merge again. Quite simple.

/Erik




More information about the bazaar mailing list