smart server should update remote working trees

Bug #325355 reported by Jelmer Vernooij
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
In Progress
Medium
Jelmer Vernooij

Bug Description

  affects bzr

The smart server should be able to update remote working trees if they
are present and report the changes back to the client, just like "bzr
pull" would.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Tags: hpss

Related branches

Revision history for this message
Marius Kruger (amanica) wrote :

How would this handle conflicts better than is possible from a normal push from a remote location?

Revision history for this message
Wesley J. Landaker (wjl) wrote :

Here is the behavior I would expect, and is probably what most users would expect if they knew how "bzr pull" worked but didn't know how "bzr push" currently worked:

The semantics ought to be EXACTLY the same as if you just did:
$ ssh remote bzr pull

or with the current push semantics:
$ bzr push
$ ssh remote bzr up

If there are conflicts, okay, no problem, it creates conflict files, etc, EXACTLY as if a bzr up or bzr pull was run remotely. Then it's just up to the user to resolve them on the remote system. If they wanted to nuke everything, they'd do "bzr push --overwrite", which would work just like "bzr pull --overwrite" on the remote system would do currently.

There could optionally be a flags to suppress doing the update if that was desired for some reason, e.g. "--no-update".

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 325355] Re: smart server should update remote working trees

On Tue, 2009-02-10 at 19:19 +0000, Marius Kruger wrote:
> How would this handle conflicts better than is possible from a normal
> push from a remote location?
It wouldn't handle conflicts any better or worse, but it can actually
update the remote working tree without a lot of roundtrips, as you would
need on e.g. sftp.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Martin Pool (mbp)
tags: added: hpss
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in bzr:
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

As the smart server runs in a chroot, this is blocked by bug 606249.

Jelmer Vernooij (jelmer)
Changed in bzr:
assignee: Jelmer Vernooij (jelmer) → nobody
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.