Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find myself wondering about trees: what happens if you "slide" back in time, then create a "new timeline" from that point in the history? Does it get appended to the current timeline?

Is it all strictly online? If it also works offline on the client, how does it deal with synchronizing multiple "timelines" created by copying the saved file?



Phototoshop has apparently had this feature for some time. They call it "non-linear history". You can go back to earlier revisions, try new things starting from there, then if you don't like it, erase that history path and go back to your first one. You can also "snapshot" your history so points on it have intuitive labels.

They don't display it as a tree, but it's logically identical -- just flattened out into a list form with the inactive branches grayed out.


It looks like it only lets you browse history linearly, rather than edit and branch. (If you can, it isn't immediately obvious.)

They say "With our new Time-Slider, you can browse the complete history of a document using a familiar user interface." (emphasis mine) It says nothing about editing.


Right. You could effectively create a new git revision for the document on each keystroke and then allow branching/merging, but the UI would be challenging and probably not worth the effort.


Select all; past into a new pad; done.


This is actually what I've always wanted in a browser. An intuitive way to do Back/Forward that handles multiple branches. :( I'm really surprised someone hasn't done something good with this in a major browser.


I haven't tried it, but a quick search turned up this Firefox extension, History Tree: https://addons.mozilla.org/en-US/firefox/addon/13316


I came here to say that. When I go back in my browser, I want it to show me the site I was looking at scrolled to where I was scrolled in the tab I was looking at.


Why leave your browser at all, in that case? I just have about half a dozen desktops, and instead of closing an application I move to a different desktop. With suspend-to-ram and/or hibernate, I never have to worry about restoring application state.


Vim supports undo trees. In addition to the :earlier and :later commands mentioned elsewhere in the comments, there is the :undolist command which lists the tree, and :undo n which jumps to a numbered point in the undo tree. If only it were easy to take the vim undo implementation and bolt it onto any program...


I always thought http://www.irider.com/demo/index.htm did this well. Costs money though.


There is a firefox addon that colors tabs according to which tabs you opened them from, which is not exactly what you want, but still useful nonetheless.


Well, tree-style tabs allows them to be nested that way. It's my favorite extension.


The web browser uses a stack which is why you can't have multiple branches. You can blame that on Tim Berners-Lee or Marc Andersson, I'm not sure which twit set that precedent.


The nice way would be to have this work complete independently of undo, so an undo and edit would look like further edits to the machine.

But it seem unlikely the edits you did last week between revision 2.3 and revision 2.4 would especially interesting to look at. Perhaps yesterday's edits would useful...

What I would like would be an editor which would go-back only on a given selection (cutting and pasting would make implementing such a feature hard but git because clever things...).


It's called version control and branching and merging. It's a solved problem.


for geeks writing code, sure.

but not for hacks writing web content or your mother writing an email.


Fine-grained version control can solve that problem. Unfortunately there isn't much support for it at the moment. So it's all a solved problem but no one uses it.

I was doing some research for a paper on fine-grained version control to be able to deal with web content, recipes, songs, and other types of "documents" which rely on things other than paragraphs and lines. There has been a LOT of research done on the subject and I found some papers that deal with version control for Web content and some for dealing with XML content.


There is a text editor called e-texteditor (http://e-texteditor.com) which has this feature, with a nice visualization of the resulting tree.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: