[MERGE] Fix bug causing file deltas to be added to wrong versionedfile

Aaron Bentley aaron.bentley at utoronto.ca
Fri Aug 17 01:17:18 BST 2007


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

Hi all,

There's a bug in the revision installation code for bundle format 4.  In
some circumstances, this can cause texts to be written to the wrong
versionedfile.

For this to happen:
1. A file must be present in a bundle, all of whose revisions are
present in the target branch
2. There must be file versions after this file.

It's a pretty rare case.  Today is the first time I've stumbled on it.
The chance for data corruption is essentially none-- the worst that can
happen is that an unreferenced record will be written (if this record
was referenced, but not present in the target branch, that would
contradict rule 1).

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

iD8DBQFGxOkN0F+nu1YWqI0RAicxAJwOLpWHfs7BgCSWGKuteCQ8jRRtcgCgiRUx
3g8s7RKFPKLpUXU9/g/YzN0=
=bQvH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-XT2HXz.patch
Type: text/x-patch
Size: 11914 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070816/876ce863/attachment-0001.bin 


More information about the bazaar mailing list