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

Re: Delete uncommitted working copy? (neophyte question)

From: Øyvind A. Holm <sunny_at_sunbase.org>
Date: 2004-06-14 04:19:39 CEST

On 2004-06-13 07:58-0500 Barnet Wagman wrote:

> Can I safely delete an uncommitted working copy (assuming that I want
> to lose any and all changes)? I.e. does a repository track working
> copies in any way?

The repository does only know about commited files. If you have added a
new file (svn add) without commiting it, the file is only marked in your
local copy as added, and changes to the repository will be only be done
when you commit the file. If you add a file and want to undo that add,
you can use "svn revert" to revert to the unadded state. If you delete a
newly added uncommited file without resetting the add flag, svn will
regard this file as missing and it will be marked with a '!' in "svn
stat".

Mvh,
Øyvind A. Holm
---------------------
cat /dev/urandom >SCO

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 14 04:21:18 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.