You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by hce <we...@gmail.com> on 2008/02/05 01:45:12 UTC

check in a file without merge

Hi,

I have a file I would like to check it in without merging the old
contents when someone check it out. How can I do it?

I can only think of using this file as a binary file, can the svn add
a binary using -b like cvs?

Thank you.

Jim

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

Re: check in a file without merge

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Tuesday 05 February 2008, hce wrote:
> I have a file I would like to check it in without merging the old
> contents when someone check it out. How can I do it?

If you commit a file, the contents will always be exactly that which you 
committed when someone checks it out. Of course, SVN won't discard local 
modifications, which have to be discarded explicitly and willingly by the 
user.

That said, I don't really understand what you want to achieve. If you'd 
describe what you want to achieve instead of saying how this unknown goal 
should be achieve you might get a better answer.

> I can only think of using this file as a binary file, can the svn add
> a binary using -b like cvs?

Please read the documentation about how SVN handles binary files.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/

Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, 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