[MERGE] Allow reference_revision to be None in the xml7 serializer.
John Arbash Meinel
john at arbash-meinel.com
Tue Jul 8 06:14:06 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Jelmer Vernooij wrote:
| The attached patch allows TreeReference.reference_revision to be None
| when serialized. Am I right thinking that None is an allowed value and
| points to the latest current revision in the referenced branch?
| It's being used as the default value in the constructor for
As I understand it, None is only meant for working trees when you don't
know what the value is right now. For pre-dirstate trees, it would skip
the entry (it would omit the revision field in the xml text). I'm
guessing it should do the same thing here, though I'm not positive.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar