[RFC] bzr.jrydberg.versionedfile

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 21 14:44:58 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
>>Rolling back changes are also needed when we end up in situations that
>>there is no clean way out of; out-of-disk being one.  We want to leave
>>the history exactly as it was _before_ the modifying operation begun.
> 
> 
> This is more interesting - but just stopping cold would be fine, if we
> have maintained our invariant of 'all data is always valid all the
> time.'

I agree on this point; there is no harm in leaving extra data in files,
as long as it is correct, and doesn't reference missing data.

So it is okay for a file to have extra, unused versions.  It's also okay
to have extra inventories if the required file versions are present.
It's okay to have extra revisions if the required inventories are
present.  Weaves and flat storage have always supported this, and we've
had few complaints.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqWpq0F+nu1YWqI0RAg3YAJ4n1ukn3h//AhJYcCvGNZzBsg8AAgCfVAyn
2kNWnU45avmLoWtetaZ6+OA=
=HKYr
-----END PGP SIGNATURE-----




More information about the bazaar mailing list