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

Re: "inconsistent line ending style" on a directory?

From: Dan Stromberg <dstromberglists_at_gmail.com>
Date: 2007-12-11 19:01:36 CET

On Dec 11, 2007 9:38 AM, Dan Stromberg <dstromberglists@gmail.com> wrote:
>
> On Dec 10, 2007 7:21 PM, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
> >
> > On Dec 10, 2007, at 19:24, Dan Stromberg wrote:
> >
> > > Why does it care about line endings on a directory? How can I
> > > persuade it to stop caring so I can do a propget against this
> > > directory?
> > >
> > > $ svn propget svn:externals 'https://host.name.com/svn/some/direc/
> > > tory'
> > > svn: Inconsistent line ending style
> > >
> > > (Yes, I doctored the URL)
> >
> > Perhaps the line endings of the svn:externals property of that
> > directory are inconsistent? Perhaps this is another case of this issue:
> >
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2459
> >
> > Try "svn propedit svn:externals $URL" and check in your editor if the
> > line endings are inconsistent, and/or make them consistent.
> >
> > If that turns out to be the problem, please add a note to the above
> > bug report, to show that it affects more than just the svn:log
> > property which is what the bug report is thus far about.
> >
> >
>
> Thanks for the response, but I'm having no luck with it:
>
> $ svn propedit svn:externals "$URL"
> svn: Editing property on non-local target
> 'https://host.name.com/svn/some/direc/tory/jars' not yet supported
> eng2-da_build:/tmp/eol-style i686-redhat-linux-gnu 2496 - above cmd
> done 2007 Tue Dec 11 09:33 AM
>
> $ svn checkout -N "$URL"
> U jars
> Checked out revision 20549.
> eng2-da_build:/tmp/eol-style i686-redhat-linux-gnu 2496 - above cmd
> done 2007 Tue Dec 11 09:33 AM
>
> $ cd jars
> eng2-da_build:/tmp/eol-style/jars i686-redhat-linux-gnu 2496 - above
> cmd done 2007 Tue Dec 11 09:33 AM
>
> $ svn propedit svn:externals .
> svn: Inconsistent line ending style
> eng2-da_build:/tmp/eol-style/jars i686-redhat-linux-gnu 2496 - above
> cmd done 2007 Tue Dec 11 09:33 AM
>
>
> Anyone have any further suggestions?
>

It turns out you can bring up a vi (or other editor that can show
carriage returns) on .../jars/.svn/dir-props and then strip out the
carriage returns - carefully adjusting the length, which should not
include the empty line and "END".

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 11 19:02:14 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.