Merge history from multiple sessions

Bug #296113 reported by Fernando Perez
2
Affects Status Importance Assigned to Milestone
IPython
Confirmed
Undecided
Unassigned

Bug Description

This is a feature request from SageDays11.

Add an option for the history from multiple sessions to be merged into one, rather than the current behavior (last session to quit overwrites the file).

The idea would be to have each session periodically save its own history to a common file. Caveat: since now the history file would be shared by multiple sessions, parts of ipython that checkpoint and restore to the history file should restore from a private per-session file rather than the checkpointed one.

This should be probably off by default, since it significantly changes the history behavior and many users may not want it.

Revision history for this message
Ville M. Vainio (villemvainio) wrote : Re: [Bug 296113] [NEW] Merge history from multiple sessions

On Mon, Nov 10, 2008 at 2:22 AM, Fernando Perez <email address hidden> wrote:

> Add an option for the history from multiple sessions to be merged into
> one, rather than the current behavior (last session to quit overwrites
> the file).

Note that shadow history already does part of this - you can't browse
it with cursor-up, but you can grep it with hist -g.

--
Ville M. Vainio
http://tinyurl.com/vainio

Revision history for this message
Fernando Perez (fdo.perez) wrote :

On Mon, Nov 10, 2008 at 1:10 PM, Ville M. Vainio <email address hidden> wrote:

> Note that shadow history already does part of this - you can't browse
> it with cursor-up, but you can grep it with hist -g.

Shadow history isn't well documented. I opened a bug report for it:

https://bugs.launchpad.net/ipython/+bug/296560

Changed in ipython:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.