##// END OF EJS Templates
existence of old_all_completions checked in debugger exit
existence of old_all_completions checked in debugger exit

File last commit:

r451:204b7185
r465:29680dd5
Show More
update_revnum.py
12 lines | 339 B | text/x-python | PythonLexer
""" Change the revision number in Release.py """
import os
import re
rev = os.popen('svnversion').read().strip()
print "current rev is",rev
assert ':' not in rev
rfile = open('../IPython/Release.py').read()
newcont = re.sub(r'revision\s*=.*', "revision = '%s'" % rev, rfile)
open('../IPython/Release.py','w').write(newcont)