~bzr-pqm/bzr/bzr.dev

0.5.7 by John Arbash Meinel
Added a bunch more information about changesets. Can now read back in all of the meta information.
1
#!/usr/bin/env python
2
"""\
1185.82.130 by Aaron Bentley
Rename changesets to revision bundles
3
Common entries, like strings, etc, for the bundle reading + writing code.
0.5.7 by John Arbash Meinel
Added a bunch more information about changesets. Can now read back in all of the meta information.
4
"""
5
0.5.79 by John Arbash Meinel
Added common to the set of tests, fixed a problem with time conversions.
6
import bzrlib
7
1185.82.130 by Aaron Bentley
Rename changesets to revision bundles
8
header_str = 'Bazaar revision bundle v'
1551.7.3 by Aaron Bentley
Fix strict testaments, as_sha1
9
version = (0, 8)
0.5.7 by John Arbash Meinel
Added a bunch more information about changesets. Can now read back in all of the meta information.
10
1185.82.123 by Aaron Bentley
Cleanups to prepare for review
11
0.5.7 by John Arbash Meinel
Added a bunch more information about changesets. Can now read back in all of the meta information.
12
def get_header():
13
    return [
14
        header_str + '.'.join([str(v) for v in version]),
15
        ''
16
    ]
17
1185.82.123 by Aaron Bentley
Cleanups to prepare for review
18
      
0.5.39 by John Arbash Meinel
(broken) Working on changing the processing to use a ChangesetTree.
19
if __name__ == '__main__':
20
    import doctest
21
    doctest.testmod()