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

RE: How to "un-checkout" from svn

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: Thu, 6 Mar 2008 16:21:16 +1100

Hi Javir,

Correct me if I am wrong, but are you a Visual Source Safe user ?

I have come across "un-checkout" in VSS. This is because VSS locks a
"checkout" pessimistic locking. Where as CVS, Subversion etc follow
optimistic locking. With optimistic locking "checkouts" as similar to
"get latest" in VSS. All changes are detected only at checkin and
aborted if your version is not the latest in Source control.

Therefore, to answer your question, there is no concept of
"un-checkout".

Thanks
Lakshman
-----Original Message-----
From: Javier Alvarado [mailto:quijotista_at_yahoo.com]
Sent: Thursday, 6 March 2008 11:23 AM
To: users_at_subversion.tigris.org
Subject: How to "un-checkout" from svn

Is there a way to really "un-checkout" something from svn? I can't
figure out a way to do it from the docs, and my web searches have been
fruitless.

* svn delete <path> deletes the files from my working copy, _but also
from the repository when I commit_. I don't want to delete them from the
repo.

* rm -rf <path> deletes the files from my working copy, _but not their
information from .svn/_. Therefore, when I subsequently do an svn
status, they are still listed and flagged as missing. I don't want that
either.

What I want is a clean way to tell svn "forget I ever checked these out"
so that I can clean up my working copy. So, what I'm doing right now is
either manually hacking .svn/entries myself or moving the old checkout
of the way and re-checking-out just the stuff I still want.

Am I missing something obvious? Or am I really the only person who's
ever wanted to do this?

Thanks in advance for any help!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email.

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-06 06:21:42 CET

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.