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

Re: Why temp files when diffing working copy?

From: Ed MacDonald <edmacdonald_at_hotmail.com>
Date: 2004-07-29 21:57:47 CEST

I too like to edit in my diff editor. Without know the internals, it seems
to make sense that if the product of the diff is intended for the developer,
then any translation should be to the developers environment. Is there an
advantage to de-translating the working copy as opposed to translating the
repo file for the compare?

Tks.

> On Thu, 2004-07-29 at 12:23, Stefan Haller wrote:
> > When I do a diff of my local modifications against base (or head, or any
> > other repository revision for that matter), subversion makes a copy of
> > my modified file in .svn/tmp and uses that for the diff.
>
> That's because your working file needs to be 'detranslated' in order to
> be compared to the .svn/text-base/ or repository file.
>
> By 'detranslated', I mean: keywords removed (from $Rev: 27$ to $Rev$)
> and eol-style converted to LF. This is the way all files are stored in
> the repository whenver svn:eol-style or svn:keywords are being used.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 29 21:59:23 2004

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.