~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/plugins/changeset/common.py

  • Committer: Martin Pool
  • Date: 2005-06-22 09:08:43 UTC
  • Revision ID: mbp@sourcefrog.net-20050622090843-78fe9c62da9ed167
- add john's changeset plugin

Show diffs side-by-side

added added

removed removed

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