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

Re: cvs2svn+revert whats happen?

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-08-30 15:23:06 CEST

On Thursday 30 August 2007 11:27, scirocco paptimus wrote:
> what is happen?

Firstly, I'm not really sure what you expected to happen. Anyhow...

> % svn co ....
>
> % file xxxxx2.cpp
> xxxxx2.cpp: Non-ISO extended-ASCII C++ program text, with CRLF, NEL
> line terminators
> ======
> % svn diff xxxxx2.cpp
> Index: xxxxx2.cpp
> ===================================================================
> --- xxxxx2.cpp (revision 117)
> +++ xxxxx2.cpp (working copy)
> @@ -1,10563 +1,10563 @@
> -/*----------------------------------------------------------------------
> - * xxxx2
> (all the end of line is different. LF<->CRLF)
>
> % copy xxxxx2.cpp xxxxx2.cpp.co
> % diff xxxxx2.cpp xxxxx2.cpp.co
> (no difference)
>
> % svn revert xxxxx2.cpp <----------- whim:-)

Okay, wait right here: you haven't made any changes to that file (or at least
you're not showing them), so what do you expect the 'svn revert' to do?

Two things:
1. Read what 'svn revert' does, as you are apparently confused about this.
2. What do you want to achieve? You were referring to two CVS conversions with
different line-endings. The conversions both replace the whole repository, so
there is no relation between them, but it seems to have been part of your
example. What were you trying to do?

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 30 15:21:27 2007

This is an archived mail posted to the Subversion Users mailing list.