##// END OF EJS Templates
Do not force a reload of user config by default....
Do not force a reload of user config by default. Forcing this kind of reload can cause side effects. Also added some notes for future fixing, the way configs are being loaded is a mess right now. Though most of this will get cleaned up in the refactoring anyway.

File last commit:

r856:50044c43
r1967:8e7f0d52
Show More
test_cd.ipy
18 lines | 289 B | text/plain | TextLexer
# assumes there is /tmp and /opt
def curpath():
cwd = os.path.splitdrive(os.getcwd())[1].replace('\\','/')
print cwd
return cwd
import os
cd /
assert curpath() == '/'
%cd /tmp
assert curpath() == '/tmp'
pushd /opt
assert curpath() == '/opt'
popd
assert curpath() == '/tmp'