[RFC] Smoother upgrades

Jelmer Vernooij jelmer at samba.org
Wed May 13 15:26:18 BST 2009


On Wed, May 13, 2009 at 01:43:53PM +0200, Jelmer Vernooij wrote:
> Ian Clatworthy wrote:
> > I'm planning to make some improvements to the upgrade command soon,
> > given we'll be encourage everyone to upgrade all of their branches
> > shortly after 2.0 is released. If you have any ideas on what you'd like
> > to see, please let me know.

> > The sort of changes I'm thinking of are:

> > 1. If run on a shared repo, upgrade all the branches as well
> +1

> > 2. If run with a --find (or --recurse) option, search in subdirectories
> >    for repositories and branches that need to be upgraded.
> This would be really nice to have.

> > 3. Something intelligent wrt doing non-stacked branches before stacked
> >    ones - whatever makes sense here.

> > Thoughts?

> Some way to remove the backup directories automatically if the upgrade
> went ok. 

> Otherwise you end up having to remove a bunch of those
> directories that you have to remove, even if something like
> --find/--recurse is available.
What I meant was of course:
Otherwise you end up having to remove backup.bzr directories
everywhere, even if you can use something like --find/--recurse to
upgrade them all.

Related to this, I think bzr-gtk should prompt users about upgrading if they 
open a branch. E.g. a dialog "This branch is using an older Bazaar format. Upgrade now?" with buttons "Yes", "Not now", "Don't ask me again".

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090513/36c89bef/attachment.pgp 


More information about the bazaar mailing list