You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by matthew ford <ma...@forward.com.au> on 2005/01/15 13:01:37 UTC

Cannot import or add javadocs 'serialized-form.html' has inconsistent newlines

When I try and set up an SVN project
I get the following error and SVN stops importing.
Since serialized-form.html is a Java generated file I don't have much
control over it and there are many many other instances of this type
of newline inconsistenty
What can I do to get these files into the repository?
thanks
matthew

C:\ForwardJava>%svn%\bin\svn import
svn://192.168.0.1/ForwardRepository/ForwardJ
ava/trunk -m "initial code import"
Adding         .project
Adding         JavaApiDocs
Adding         JavaApiDocs\MultiWorkspaces.html
Adding         JavaApiDocs\index.html
Adding         JavaApiDocs\javadocs
Adding         JavaApiDocs\javadocs\serialized-form.html
svn: File 'JavaApiDocs/javadocs/serialized-form.html' has inconsistent
newlines


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Cannot import or add javadocs 'serialized-form.html' hasinconsistent newlines

Posted by matthew ford <ma...@forward.com.au>.
Thanks for that brian,
Thats what I ended up doing.  I was surprised to find
enable-auto-props = yes
in the config (when I finally found the file)
The docs say the default is off and don't mention the install turns it on.
the fix I used was

#   *.htm = svn:eol-style=native
#   *.html = svn:eol-style=native
*.htm = svn:mime-type=text/html
*.html = svn:mime-type=text/html

matthew

----- Original Message ----- 
From: "Brian Lalor" <bl...@bravo5.org>
To: <us...@subversion.tigris.org>
Sent: Tuesday, January 25, 2005 9:20 PM
Subject: Re: Cannot import or add javadocs 'serialized-form.html'
hasinconsistent newlines


> On Jan 15, 2005, at 8:01 AM, matthew ford wrote:
>
> > Since serialized-form.html is a Java generated file I don't have much
> > control over it and there are many many other instances of this type
> > of newline inconsistenty
> > What can I do to get these files into the repository?
>
> I'm guessing running the file through tr would work to fix up the "bad"
> line endings.  Have you tried mucking with svn:eol-style?  Maybe one of
> those would let that file through without having to do anything to it.
>
> -- 
>     __   ____
>    / /  / __/ Brian Lalor
>   / _ \/__ \  blalor@bravo5.org
> /_.__/____/  http://bravo5.org/
>
> ---------------------------------------------------------------------
> 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

Re: Cannot import or add javadocs 'serialized-form.html' has inconsistent newlines

Posted by Brian Lalor <bl...@bravo5.org>.
On Jan 15, 2005, at 8:01 AM, matthew ford wrote:

> Since serialized-form.html is a Java generated file I don't have much
> control over it and there are many many other instances of this type
> of newline inconsistenty
> What can I do to get these files into the repository?

I'm guessing running the file through tr would work to fix up the "bad" 
line endings.  Have you tried mucking with svn:eol-style?  Maybe one of 
those would let that file through without having to do anything to it.

-- 
    __   ____
   / /  / __/ Brian Lalor
  / _ \/__ \  blalor@bravo5.org
/_.__/____/  http://bravo5.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org