[RFC][DRAFT] Updated guide for upgrading to rich-roots [and the 2.0 beta formats]

Matthew D. Fuller fullermd at over-yonder.net
Wed Jun 17 12:14:38 BST 2009


On Wed, Jun 17, 2009 at 09:27:36AM +1000 I heard the voice of
Martin Pool, and lo! it spake thus:
> > On Tue, 2009-06-16 at 17:13 +1000, Jonathan Lange wrote:
> >> Foolhardy devils like myself will need to be further warned:
> >> "Although 'bzr upgrade' makes a backup.bzr directory, this is
> >> likely to be insufficient for full restoration."
> 
> Is it really?

I don't know how current this is, but I'm pretty sure at least once
upon a time, upgrade would only backup the bits it touched.  So if,
e.g., you were upgrading the branch format, but not the WT or repo,
backup.bzr would only contain branch/, but not checkout/ or
repository/.  So, if you did the semi-obvious "rm -rf .bzr ; mv
backup.bzr .bzr", you'd have just lost your repo and WT state.

So, you would HAVE enough to do a full restoration, but backup.bzr by
itself would not.  This may have since changed, I don't know.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list