all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* History browsing with scms
@ 2009-12-18 14:05 andrea
  0 siblings, 0 replies; 2+ messages in thread
From: andrea @ 2009-12-18 14:05 UTC (permalink / raw)
  To: help-gnu-emacs


It's not really that I need it but it would be really nice to have a
mode to see interactively the history of a file.
Given a repository (I use mainly git) I would like to open a file and be
able to go back and forth on the various revisions.

It should not be too difficult, I may just create a temporary file for
each version and open it in a view buffer, but I don't know if this is
the best approach.

Other more elegant approaches?





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: History browsing with scms
       [not found] <mailman.13166.1261145157.2239.help-gnu-emacs@gnu.org>
@ 2009-12-19 15:29 ` Dmitry Dzhus
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Dzhus @ 2009-12-19 15:29 UTC (permalink / raw)
  To: help-gnu-emacs

andrea wrote:
> It's not really that I need it but it would be really nice to have a
> mode to see interactively the history of a file.
> Given a repository (I use mainly git) I would like to open a file and be
> able to go back and forth on the various revisions.

Annotate your SCM-tracked file with `C-x v g`, then use `n` or `p` keys
to go back and forth the history.
-- 
Happy Hacking.

http://sphinx.net.ru^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-19 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 14:05 History browsing with scms andrea
     [not found] <mailman.13166.1261145157.2239.help-gnu-emacs@gnu.org>
2009-12-19 15:29 ` Dmitry Dzhus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.