##// END OF EJS Templates
Add two new commands to ibrowse:...
Add two new commands to ibrowse: "refresh" (mapped to "r") refreshes the screen by restarting the iterator. "refreshfind" (mapped to "R") does the same but tries to go back to the same object the cursor was on before the refresh. The command "markrange" is mapped to "%" now.

File last commit:

r466:d766fcbb
r471:a2ce3c1c
Show More
update_revnum.py
13 lines | 344 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)