[RFC] Smoother upgrades
jelmer at samba.org
Wed May 13 18:41:46 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Vincent Ladeuil wrote:
>>>>>> "Jelmer" == Jelmer Vernooij <jelmer at samba.org> writes:
> Jelmer> I think this operation is common enough to be
> Jelmer> runnable after upgrade (but only if the upgrade was
> Jelmer> successful).
> The message displayed after upgrade can mention that, if it's
> only an option of upgrade you leave my use case (keep backup
> longer) out.
> Jelmer> If we separate them users might end up removing
> Jelmer> backup.bzr in places where the upgrade was not
> Jelmer> succesful and end up losing data.
> I'm not sure I'm following you there, you want an upgrade option
> to delete the backup as soon as the upgrade is successful but
> then you worry about users deleting it in case of errors ?
> I'd rather say that people who will blindly delete backup.bzr are
> more likely to use that upgrade option or any recommended
> command to delete it, no ?
What I mean is if you have a large number of bzr branches and you run
"bzr upgrade --recurse <path>" that will upgrade a lot of bzrdirs. Some
of these upgrades may fail, in which case you really need the
If you run "bzr clean --recurse" or something afterwards you may end up
deleting precious data (since it's only in backup.bzrdir, and 'bzr clean
- --recurse' doesn't know which upgrades went successfully).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar