From: Steve Hall <digitect@mi...> - 2006-05-11 16:21:59
From: Ben Armstrong, May 11, 2006 12:01 PM
> I need to be able to pull arbitrary subversion versions of a file
> into a buffer so I can compare the current working version with the
> older version in diff mode. Is there an existing way to do that in
> Cream? If not, how much effort would it take to provide a way to do
This doesn't exist, but I'd welcome it as an add-on like Cream's print
and print setup routines. (Single menu entry point, multiple decisions
below with various means of obtaining input.)
The interface is the hard part, there is quite a bit of information
that is needed:
o Which current file should be diffed, the current?
o The location of the Subversion repository
o The name of the SVN file
o The version of SVN file
o Is the SVN file throw away? (In a temp location, unsavable.)
Once you figured out all the above info, running the command is
probably just a line or two, and the window setup similarly easy.
Starting with one of the SVN scripts on Vim.org might be provide some
good ideas, too.
Steve Hall [ digitect mindspring com ]
:: Cream... something good to put in your Vim!
Get latest updates about Open Source Projects, Conferences and News.