You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joep Suijs <js...@yahoo.com> on 2007/06/22 17:35:57 UTC

remove files from worksets

Hi group,

I have a large set of development files (sources of
different projects and some tools) in a directory tree
on two different PC's and I want to use subversion
(and tortoisesvn) to achieve two things:
- version control over the sources and tools.
- keeping those trees in sync.
It looks like subverions can do this (although I have
to avoid a commit on the whole tree - this takes an
hour due to the large number of files and size). But
there is one thing that surprises me.
If I do a delete on a file or directory from a workset
and a subsequent commit, this file (or directory) is
removed from both the workset and repository. But when
I do an update on the other machine, it does not
remove the file but only removes version control.
Is this expected behavior, can this be changed or am I
missing something?

Best regards,
Joep


       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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

Re: remove files from worksets

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 22, 2007, at 12:35, Joep Suijs wrote:

> I have a large set of development files (sources of
> different projects and some tools) in a directory tree
> on two different PC's and I want to use subversion
> (and tortoisesvn) to achieve two things:
> - version control over the sources and tools.
> - keeping those trees in sync.
> It looks like subverions can do this (although I have
> to avoid a commit on the whole tree - this takes an
> hour due to the large number of files and size). But
> there is one thing that surprises me.
> If I do a delete on a file or directory from a workset
> and a subsequent commit, this file (or directory) is
> removed from both the workset and repository. But when
> I do an update on the other machine, it does not
> remove the file but only removes version control.
> Is this expected behavior, can this be changed or am I
> missing something?

If your local copy of the file has uncommitted modifications, and you  
"svn update" and the update would remove that file, then Subversion  
does not delete the file, because it is Subversion policy to not  
destroy your work irretrievably, which is what would otherwise occur.  
If you do really want your uncommitted changes to get thrown away,  
you can either "rm" the file after updating, or "svn revert" the file  
before updating.



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