From c149f141e54059bf058c94ca959f7fec743a172c 2008-03-10 15:50:31 From: Ville M. Vainio Date: 2008-03-10 15:50:31 Subject: [PATCH] tools/update_revnum: Change to bzr revision numbering. --- diff --git a/IPython/Release.py b/IPython/Release.py index 23d7b41..d49b2e0 100644 --- a/IPython/Release.py +++ b/IPython/Release.py @@ -22,9 +22,9 @@ name = 'ipython' # because bdist_rpm does not accept dashes (an RPM) convention, and # bdist_deb does not accept underscores (a Debian convention). -revision = '3001' +revision = '45' -version = '0.8.3.svn.r' + revision.rstrip('M') +version = '0.8.3.bzr.r' + revision description = "An enhanced interactive Python shell." diff --git a/tools/update_revnum.py b/tools/update_revnum.py index 7191114..b405036 100755 --- a/tools/update_revnum.py +++ b/tools/update_revnum.py @@ -4,7 +4,7 @@ import os import re -rev = os.popen('svnversion ..').read().strip() +rev = os.popen('bzr revno').read().strip() print "current rev is",rev assert ':' not in rev