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

Re: newbie question[2]: how to revert ONLY current directory property?

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Thu, 3 Apr 2008 05:44:11 -0500

On Apr 2, 2008, at 08:49, Xiaoshen Li wrote:

> My file and directory structure is like:
>
> project/
> project/fileA.txt
> project/abc/fileB.txt
>
> Now I have local modifications on fileA.txt and
> fileB.txt and property of project/. I hope to revert
> what I modified to the property of project/, but not
> fileA.txt or fileB.txt. Is the following command
> correct?
>
> (I am at project/.)
> svn revert .
>
> I am afraid that will revert fileA.txt or fileB.txt.

It will not touch fileB.txt because it is in a subdirectory and you
did not specify the -R option.

I don't know if it will affect fileA.txt. Why don't you try it out in
a test repository and let us know.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-03 12:45:12 CEST

This is an archived mail posted to the Subversion Users mailing list.