As reported by Jon on the mailing list.
Directory history (_dh) was saved and reloaded from disk in earlier versions. I can't actually find the code that saves it, although I think it went into the pickleshare database. We should work out what's best to do.
Wild guess: Can it have to do with
db = ip.db
ip.user_ns['_dh'] = db.get('dhist',)
It certainly would. Ah, and now I see the code that saves it - it's within the cd magic function. I'll debug it after the release - or you're welcome to go for it if you want.
This issue can be closed. See:
$ ipython --StoreMagic.autorestore=True
Python 2.7.3 (default, Apr 20 2012, 22:39:59)
Type "copyright", "credits" or "license" for more information.
IPython 0.13.dev -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In : dhist
Directory history (kept in _dh)
There's still a slight question - do we want that to be restored by default, without having to turn on autorestore?