1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/usr/bin/env python """\ Common entries, like strings, etc, for the bundle reading + writing code. """ import bzrlib header_str = 'Bazaar revision bundle v' version = (0, 8) def get_header(): return [ header_str + '.'.join([str(v) for v in version]), '' ] if __name__ == '__main__': import doctest doctest.testmod() |