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

Re: Triming file content before it get commited?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-08-26 16:53:39 CEST

On 8/21/07, Pierre Lemay <lemayp@videotron.ca> wrote:
> Hello everyone,
>
> We are facing a little environment problem, which is not due to SVN,
> but I was wandering if SVN could be used to resolve the problem we are
> facing. Basically, we have some kind of source files that some editors
> used by developpers will automatically pad each lines to 80 characters
> (blank), while other developpers use some editors that will not do such
> padding. This lead to a situation where if a source code is created by
> someone using a non-padding editor and save the file to SVN, and then
> someone using the other kind of editor attempts to modify a single line
> of the same file and submit the change to SVN, each single line of the
> file will show up as modified, i.e. all lines will be padded with blank
> characters....

Subversion has support for ignoring space change starting 1.4. It can
be used with blame, merge and diff. (Now that I'm writing this I start
wondering if not - and why not - update).

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 26 16:51:13 2007

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.