~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to common.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-02 07:07:05 UTC
  • mto: (0.5.85) (1185.82.1 bzr-w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: john@arbash-meinel.com-20050702070705-71d894e83e7ba22a
Simplified the header, only output base if it is not the expected one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Common entries, like strings, etc, for the changeset reading + writing code.
4
4
"""
5
5
 
6
 
header_str = 'Bazaar-NG (bzr) changeset v'
 
6
header_str = 'Bazaar-NG changeset v'
7
7
version = (0, 0, 5)
8
8
 
9
9
def get_header():
10
10
    return [
11
11
        header_str + '.'.join([str(v) for v in version]),
12
 
        'This changeset can be applied with bzr apply-changeset',
13
12
        ''
14
13
    ]
15
14