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

RE: Restore of directory from repository does not remove local, unversioned file

From: Langel, Frank <flangel_at_caxton.com>
Date: Thu, 2 Oct 2008 09:46:06 -0400

Thank you Ryan. Appreciate it, this was helpful.

To summarize for all of us : Subversion will never remove unversioned
files.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008c_at_ryandesign.com]
Sent: Thursday, October 02, 2008 12:37 AM
To: Langel, Frank
Cc: users_at_subversion.tigris.org
Subject: Re: Restore of directory from repository does not remove local,
unversioned file

On Oct 1, 2008, at 4:03 PM, Langel, Frank wrote:

> 1. We are using svn 1.4 and checked in a directory ./test1 using
>
> svn copy <path> <path>/tags/1.0/
>
> to tag this directory
>
> 2. On the working copy, I am now adding a file ./test1/ notwanted.txt
> to the directory
>
> 3. I am now trying to revert back the directory to it's previous
> state, i.e. without the notwanted.txt file in the ./test1/ directory
>
> I tried
> - svn update ./td1

What is ./td1?

> - svn checkout <path>/tags/1.0/
> - svn cp <path>/tags/1.0/test1 ./test1

You don't want either of those...

> without luck. Any idea?
>
> Why doesn't SVN remove the unversioned notwanted.txt file ?

Subversion will not remove unversioned files; that would be data loss,
which Subversion is specifically designed to prevent.

I think what you should do is run "svn status" to see which files are
unversioned, and if you do not want them anymore, then remove them.
 
 
 
 

This message may contain information that is confidential or privileged.
If you are not the intended recipient, please advise the sender immediately
and delete this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-03 00:43:03 CEST

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.