You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Xiaoshen Li <xs...@yahoo.com> on 2008/04/02 13:49:14 UTC

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

Hi,

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.

Thank you.


      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

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

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org