Re: svn add and inconsistent line endings

2013-02-24 Thread Branko Čibej
On 24.02.2013 22:29, Bert Huijben wrote: > >> -Original Message- >> From: Stefan Küng [mailto:tortoise...@gmail.com] >> Sent: zondag 24 februari 2013 20:55 >> To: dev@subversion.apache.org >> Subject: Re: svn add and inconsistent line endings >> >

RE: svn add and inconsistent line endings

2013-02-24 Thread Bert Huijben
> -Original Message- > From: Stefan Küng [mailto:tortoise...@gmail.com] > Sent: zondag 24 februari 2013 20:55 > To: dev@subversion.apache.org > Subject: Re: svn add and inconsistent line endings > > On 24.02.2013 20:45, Branko Čibej wrote: > > On 24.02.20

Re: svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
On 24.02.2013 20:45, Branko Čibej wrote: On 24.02.2013 19:47, Stefan Küng wrote: On 24.02.2013 19:42, Branko Čibej wrote: Regarding automatcially changing line endings -- we don't do that for a very good reason: it's always been Subversion's policy to not touch file contents unless explicitly

Re: svn add and inconsistent line endings

2013-02-24 Thread Branko Čibej
On 24.02.2013 19:47, Stefan Küng wrote: > On 24.02.2013 19:42, Branko Čibej wrote: > >> Regarding automatcially changing line endings -- we don't do that for a >> very good reason: it's always been Subversion's policy to not touch file >> contents unless explicitly told to do so. The line endings c

Re: svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
On 24.02.2013 19:42, Branko Čibej wrote: Regarding automatcially changing line endings -- we don't do that for a very good reason: it's always been Subversion's policy to not touch file contents unless explicitly told to do so. The line endings could be inconsistent for reasons beyond Subversion

Re: svn add and inconsistent line endings

2013-02-24 Thread Branko Čibej
On 24.02.2013 19:29, Bert Huijben wrote: > >> -Original Message- >> From: Stefan Küng [mailto:tortoise...@gmail.com] >> Sent: zondag 24 februari 2013 19:15 >> To: Bert Huijben >> Cc: 'Subversion Development' >> Subject: Re: svn add and in

Re: svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
On 24.02.2013 19:29, Bert Huijben wrote: Are you sure the file is adjusted? Looking at the code it appears we just skip the check (and many others for other properties). You're right. And I just tested: even if the property is set (indicating inconsistent eols should be either ignored or co

RE: svn add and inconsistent line endings

2013-02-24 Thread Bert Huijben
> -Original Message- > From: Stefan Küng [mailto:tortoise...@gmail.com] > Sent: zondag 24 februari 2013 19:15 > To: Bert Huijben > Cc: 'Subversion Development' > Subject: Re: svn add and inconsistent line endings > > On 24.02.2013 18:56, Bert Huijben

Re: svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
On 24.02.2013 18:56, Bert Huijben wrote: -Original Message- From: Stefan Küng [mailto:tortoise...@gmail.com] Sent: zondag 24 februari 2013 17:01 To: Bert Huijben Cc: 'Subversion Development' Subject: Re: svn add and inconsistent line endings On 24.02.2013 16:47, Bert Hui

Re: svn add and inconsistent line endings.

2013-02-24 Thread Branko Čibej
On 24.02.2013 18:59, Bert Huijben wrote: > >> -Original Message- >> From: Branko Čibej [mailto:br...@wandisco.com] >> Sent: zondag 24 februari 2013 17:31 >> To: dev@subversion.apache.org >> Subject: Re: svn add and inconsistent line endings >> &g

RE: svn add and inconsistent line endings.

2013-02-24 Thread Bert Huijben
> -Original Message- > From: Branko Čibej [mailto:br...@wandisco.com] > Sent: zondag 24 februari 2013 17:31 > To: dev@subversion.apache.org > Subject: Re: svn add and inconsistent line endings > > On 24.02.2013 17:00, Stefan Küng wrote: > > On 24.02.201

RE: svn add and inconsistent line endings

2013-02-24 Thread Bert Huijben
> -Original Message- > From: Stefan Küng [mailto:tortoise...@gmail.com] > Sent: zondag 24 februari 2013 17:01 > To: Bert Huijben > Cc: 'Subversion Development' > Subject: Re: svn add and inconsistent line endings > > On 24.02.2013 16:47, Bert Huijben

Re: svn add and inconsistent line endings

2013-02-24 Thread Branko Čibej
On 24.02.2013 17:00, Stefan Küng wrote: > On 24.02.2013 16:47, Bert Huijben wrote: >> >> >>> -Original Message- >>> From: Stefan Küng [mailto:tortoise...@gmail.com] >>> Sent: zondag 24 februari 2013 15:39 >>> To: Subversion Development

Re: svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
On 24.02.2013 16:47, Bert Huijben wrote: -Original Message- From: Stefan Küng [mailto:tortoise...@gmail.com] Sent: zondag 24 februari 2013 15:39 To: Subversion Development Subject: svn add and inconsistent line endings Hi, When auto-props are set up for e.g., cpp files that set the

RE: svn add and inconsistent line endings

2013-02-24 Thread Bert Huijben
> -Original Message- > From: Stefan Küng [mailto:tortoise...@gmail.com] > Sent: zondag 24 februari 2013 15:39 > To: Subversion Development > Subject: svn add and inconsistent line endings > > Hi, > > When auto-props are set up for e.g., cpp files that set t

svn add and inconsistent line endings

2013-02-24 Thread Stefan Küng
Hi, When auto-props are set up for e.g., cpp files that set the svn:eol-style property, adding those files is not possible if the file has inconsistent line endings. The --force flag won't help either, the only way to add the file is to first fix the line endings in an editor. Or add the file