You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Thorsten Scherler <th...@apache.org> on 2004/07/07 07:57:43 UTC

Re: svn commit: rev 22666 - in forrest/trunk/src/core/context/skins: common/scripts css-style-dev/css css-style-dev/xslt/html

thorsten@apache.org wrote:

> Author: thorsten
> Date: Tue Jul  6 22:48:40 2004
> New Revision: 22666
> 
> Added:
>    forrest/trunk/src/core/context/skins/common/scripts/getBlank.js
> Modified:
>    forrest/trunk/src/core/context/skins/css-style-dev/css/profile.css.xslt
>    forrest/trunk/src/core/context/skins/css-style-dev/css/screen.css
>    forrest/trunk/src/core/context/skins/css-style-dev/xslt/html/site2xhtml.xsl
> Log:
> Changed the overall design and added more color support
> 
> Added: forrest/trunk/src/core/context/skins/common/scripts/getBlank.js
> ==============================================================================
> --- (empty file)
> +++ forrest/trunk/src/core/context/skins/common/scripts/getBlank.js	Tue Jul  6 22:48:40 2004
> @@ -0,0 +1,8 @@
> +<!--
> 
> +function getBlank (form, stdValue){
> 
> +if (form.value == stdValue){
> 
> +	form.value = '';
> 
> +	}
> 
> +return true;
> 
> +}
> 
> +//-->
> \ No newline at end of file

I added the props in my svn-config that david gave me but as soon as I 
add a new file I get that!

How can I prevend that? I mean how can I add a newline at end of file?

Sorry, for the extra work of dos2unix all my new files ...and the the 
/stupid questions/!

...but at least I am aware that I have a problem (that is a start) ;-).

king regards
thorsten

-- 
<thorsten>
  <name>Thorsten Scherler</name>
  <country>Spain</country>
  <@m...@mail>
  <@cocoon-WIKI>
http://wiki.apache.org/cocoon/Scherler
</...@cocoon-WIKI>
  <acronymfinder>
http://www.acronymfinder.com/af-query.asp?String=exact&Find=Find&Acronym=
  </acronymfinder>
  <motto>
    "My task which I am trying to achieve is,
     by the power of the written word,
     [...] to make you see."
     *Joseph Conrad (1857-1924)*
  </motto>
</thorsten>


Re: svn usage habits (Was: svn commit: rev 22666)

Posted by David Crossley <cr...@apache.org>.
Nicola Ken Barozzi wrote:
> Thorsten Scherler wrote:
> ...
> > BTW I am using TortoiseSVN to commit I think that as well couses some 
> > problems.
> > I will switch to cli :( again.
> 
> I use that too and didn't see problems (yet). Maybe I was just lucky! :-)

Or maybe no-one noticed any problem. We should have
tools to review the state of the repository.

-- 
David Crossley


Re: svn usage habits (Was: svn commit: rev 22666)

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
Nicola Ken Barozzi wrote:

> Thorsten Scherler wrote:
> ...
>
>> BTW I am using TortoiseSVN to commit I think that as well couses some 
>> problems.
>> I will switch to cli :( again.
>
>
> I use that too and didn't see problems (yet). Maybe I was just lucky! :-)
>
Can be or you have been smarter than me ;-)

I tried to uncomment the section in .subversion/config but forgot to 
uncomment as well
[auto-props].

Then I got an error, but now it should be fine because I also uncomment 
that one!

I will keep an eye on the topic :).

thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.
Avda. de la Arboleda s/n
41940 - Tomares,  (Sevilla)
Tlfn: (+34) 955 062 627
e-mail: thorsten.scherler.ext@juntadeandalucia.es

Este correo electrónico y, en su caso, cualquier fichero anexo al mismo,
contiene información de carácter confidencial exclusivamente dirigida a su
destinatario o destinatarios. Queda prohibida su divulgación, copia o
distribución a terceros sin la previa autorización escrita de "Sociedad
Andaluza para el Desarrollo de la Sociedad de la Información, S.A.U.". Si no
es Ud. el destinatario del mensaje le ruego lo destruya sin hacer copia
digital o física, comunicando a Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U. vía e-mail o fax la recepción del presente
mensaje. Toda declaración de voluntad contenida deberá ser tenida por no
producida. Gracias.
____________________________________________________________________________
___________________

The information in this e-mail and in any attachments is confidential and
solely for the attention and use of the named addressee(s). You are hereby
notified that any dissemination, distribution or copy of this communication
is prohibited without the prior written consent of "Sociedad Andaluza para
el Desarrollo de la Sociedad de la Información, S.A.U.". If you are not the
formal receiver of this message please destroy it without making any digital
or physical copy and inform "Sociedad Andaluza para el Desarrollo de la
Sociedad de la Información S.A.U." , by e-mail or fax, of the reception of
the present message. Any whatsoever involuntary declaration contained
herewith must be taken as having no legal effect. Thank you.


Re: svn usage habits (Was: svn commit: rev 22666)

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Thorsten Scherler wrote:
...
> BTW I am using TortoiseSVN to commit I think that as well couses some 
> problems.
> I will switch to cli :( again.

I use that too and didn't see problems (yet). Maybe I was just lucky! :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: svn usage habits (Was: svn commit: rev 22666)

Posted by Dave Brondsema <da...@brondsema.net>.
On Wed, 7 Jul 2004, Thorsten Scherler wrote:

> David Crossley wrote:
>
> >Thorsten Scherler wrote:
> >
> >
> >>Sorry, for the extra work of dos2unix all my new files ...and the the
> >>/stupid questions/!
> >>
> >>...but at least I am aware that I have a problem (that is a start) ;-).
> >>
> >>
> >
> >We need to persist and get these things solved, otherwise
> >it creates work down the track.
> >
> >
> >
> I am just printing the svn-book.
> I hope that it will help me and us to get rid of this problems ;-).
>

It's a great piece of documentation; a good read for anyone using SVN.

> BTW I am using TortoiseSVN to commit I think that as well couses some
> problems.
> I will switch to cli :( again.
>

TortoiseSVN is a nice tool, but it can't add the svn:eol-style properties
for you.  I use both.


-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

Re: svn usage habits (Was: svn commit: rev 22666)

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
David Crossley wrote:

>Thorsten Scherler wrote:
>  
>
>>Sorry, for the extra work of dos2unix all my new files ...and the the 
>>/stupid questions/!
>>
>>...but at least I am aware that I have a problem (that is a start) ;-).
>>    
>>
>
>We need to persist and get these things solved, otherwise
>it creates work down the track.
>
>  
>
I am just printing the svn-book.
I hope that it will help me and us to get rid of this problems ;-).

BTW I am using TortoiseSVN to commit I think that as well couses some 
problems.
I will switch to cli :( again.

King regards
thorsten

-- 
Thorsten Scherler

Departamento de Desarrollo de Proyectos
Sociedad Andaluza para el Desarrollo de la Sociedad de la Información S.A.U.



Re: svn usage habits (Was: svn commit: rev 22666)

Posted by Dave Brondsema <da...@brondsema.net>.
On Wed, 7 Jul 2004, David Crossley wrote:

> Thorsten Scherler wrote:
> > > Author: thorsten
> > > Added: forrest/trunk/src/core/context/skins/common/scripts/getBlank.js
> ...
> > > \ No newline at end of file
> >
> > I added the props in my svn-config that david gave me  but as soon
> > as I add a new file I get that!
>
> The two things are not related. The missing newline issue
> seems to be another M$ peculiarity.

The "\ No newline at end of file" is simply an information message from
SVN.  This can happen on any operating system and is not a problem.

>
> This commit still does not have the eol-style property set.
> By the way, i do not yet use that config file. I just set
> properties by hand whenever i add a new file.
>
> > How can I prevend that? I mean how can I add a newline at end of file?
>
> I don't know. On UNIX when i convert something that comes from M$
> then i always need to open and close the file with vi, that fixes
> the missing newline issue.
>
> (I wonder how much wasted time they have inflicted on the world.)
>
> > Sorry, for the extra work of dos2unix all my new files ...and the the
> > /stupid questions/!
> >
> > ...but at least I am aware that I have a problem (that is a start) ;-).
>
> We need to persist and get these things solved, otherwise
> it creates work down the track.
>

Here's an overview of the steps to take when adding a new non-binary file:

1) Make sure the file uses your OS's native line endings.  If you get
a file from elsewhere (email, issue tracker, etc) you may have to
convert it with dos2unix or unix2dos.  SVN will report an error if there
is a mixture of line endings used in a single file.

2) "svn add myfile"

3) "svn propset svn:eol-style native myfile" unless you've configured
svn to do so automatically.

4) Verify the property is set.  "svn propget svn:eol-style myfile"
should print "native".

5) "svn commit -m "message" myfile"

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

svn usage habits (Was: svn commit: rev 22666)

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> > Author: thorsten
> > Added: forrest/trunk/src/core/context/skins/common/scripts/getBlank.js
...
> > \ No newline at end of file
> 
> I added the props in my svn-config that david gave me  but as soon
> as I add a new file I get that!

The two things are not related. The missing newline issue
seems to be another M$ peculiarity.

This commit still does not have the eol-style property set.
By the way, i do not yet use that config file. I just set
properties by hand whenever i add a new file.

> How can I prevend that? I mean how can I add a newline at end of file?

I don't know. On UNIX when i convert something that comes from M$
then i always need to open and close the file with vi, that fixes
the missing newline issue.

(I wonder how much wasted time they have inflicted on the world.)

> Sorry, for the extra work of dos2unix all my new files ...and the the 
> /stupid questions/!
> 
> ...but at least I am aware that I have a problem (that is a start) ;-).

We need to persist and get these things solved, otherwise
it creates work down the track.

-- 
David Crossley