diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-09-16 14:25:54 +0200 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-09-16 14:25:54 +0200 |
| commit | c46bc5877134a3ff82b63c8c95dad2c18b640cb5 (patch) | |
| tree | b39a563e6793b1ebbda7d00d9435a459d270b600 /bin/release.py | |
| parent | 307cbd20d1370a15c426d797c28a34786d8026cd (diff) | |
remove the bzr revno from the version:
* slow with checkout
* limited interest and audience
bzr revid: christophe@tinyerp.com-20080916122554-p50t1rh9twisaglh
Diffstat (limited to 'bin/release.py')
| -rw-r--r-- | bin/release.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/release.py b/bin/release.py index 00dc745c725..826959faa84 100644 --- a/bin/release.py +++ b/bin/release.py @@ -49,22 +49,5 @@ author_email = 'info@tiny.be' support_email = 'support@openerp.com' license = 'GPL-2' -try: - # if the sources are taken from the bzr repository, - # append the revision number and the date of the bzr branch - from bzrlib.branch import Branch - from bzrlib.osutils import format_date - try: - from os.path import dirname - _branch = Branch.open(dirname(dirname(__file__))) - _lastrev = _branch.repository.get_revision(_branch.last_revision()) - _date = format_date(_lastrev.timestamp, _lastrev.timezone) - version = "%s~bzr-%s (%s)" % (version, _branch.revno(), _date) - except: - # This is not because bzr is installed that openerp is under revision. - pass -except ImportError: - pass - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
