[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: Steven Woody <narkewoody_at_gmail.com>
Date: Tue, 9 Dec 2008 15:37:23 +0800

On Sun, Dec 7, 2008 at 3:49 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> Steven Woody wrote on Sat, 6 Dec 2008 at 13:44 +0800:
>> On Sat, Dec 6, 2008 at 5:04 AM, Ryan Schmidt
>> <subversion-2008c_at_ryandesign.com> wrote:
>> > When you want to look at a diff, you don't want to see a line for each
>> > keyword that got expanded, so Subversion creates a temporary copy of your
>> > working file and unexpands the keywords in it so that it can show a clean
>> > diff against the pristine copy.
>>
>> Ok, thank you. It now sounds reasonable. I am thinking that is there
>> another vim user get similar requirement like me, I still want to
>> directly edit my working copy ... :)
>>
>
> You should be able to build something around :diffpatch, e.g.
>
> :!svn diff % > tmpfile
> :diffpatch tmpfile
>

Hi, Daniel

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?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-09 08:38:25 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.