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

Re: Problems committing javadoc-generated HTML

From: Brooke Smith <novorivus_at_optusnet.com.au>
Date: 2004-10-09 07:34:29 CEST

Hi Steve,

You can run dos2unix and this will replace all DOS newlines with unix
ones to have consistent files:

mkdir /tmp/fixfiles
for i in `/bin/ls *html`; do
   echo $i;
   cat $i | dos2unix > /tmp/fixfiles/$i;
done
# Copy /tmp/fixfiles back into the wc and svn ci them.

Cheers,

Brooke

On Thursday, Oct 7, 2004, at 23:35 Australia/Brisbane, Steve Hanson
wrote:

> Thanks for the response Ben:
>
> Do you have any suggestions for a good tool for the fix?
>
> Thanks,
> Steve H
>
> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Wednesday, October 06, 2004 5:04 PM
> To: Steve Hanson
> Cc: users@subversion.tigris.org
> Subject: Re: Problems committing javadoc-generated HTML
>
>
>
> On Oct 5, 2004, at 12:18 PM, Steve Hanson wrote:
>
>> Hi all:
>>
>> I am trying to add javadoc-generated HTML files to an SVN repo, but am
>> getting the error:
>>
>> "File .....html has inconsistent newlines."
>>
>> The eol-style for HTML pages is set to native.
>>
>> Any ideas for what I should do?
>>
>
> Yes. Fix the inconsistent newlines.
>
> Subversion will not allow files with 'svn:eol-style=native' properties
> to have a mixture of newlines, because that means data will be lost.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---
You picked a fine time to leave me Lucele,
four hungry kids and a crop in the field.
-- Kenny Rogers
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 9 07:33:11 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.