RFC: Check local status before connecting to remote branch.

Martin Pool mbp at canonical.com
Wed Mar 19 00:42:22 GMT 2008


On Wed, Mar 19, 2008 at 11:16 AM, Raindog <raindog at macrohmasheen.com> wrote:
> I think it would be best if bzr would perform a local verification prior
>  to connecting to a remote server to determine whether or not the
>  operation would succeed based upon the condition of the local branch.
>
>  For example, if my local branch is in a conflicted state, and I try to
>  update from the remote branch, bzr should make the failure check before
>  it tries to connect because it can know before hand that the operation
>  will fail.

That's a good idea.

Also I'd like it if push gave you a warning that 'uncommitted local
changes will not be pushed', again printed before connecting.

If anyone is interested in making this improvement now I am happy to
steer you in the right direction in the code.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list