[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Edit working copy while see the 'diff'

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 12 Dec 2008 14:02:47 +0200 (Jerusalem Standard Time)

Steven Woody wrote on Tue, 9 Dec 2008 at 15:37 +0800:
> On Sun, Dec 7, 2008 at 3:49 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > You should be able to build something around :diffpatch, e.g.
> >
> > :!svn diff % > tmpfile
> > :diffpatch tmpfile
> >
>
> I am not quite understand. When I am in a svn created tmp file, then
> the '%' should be the tmp file. How your ':!svn diff %' can work?

The tmp file never gets in the picture. I would run those commands when
the file I want to diff the current buffer. In other words, I wouldn't
run 'svn diff main.c'; I would run 'vim main.c' (and then the two commands
I gave above).

Daniel

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983368

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-12 19:58:26 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.