You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Larry Quantz <qu...@idiom.com> on 2006/04/08 15:31:28 UTC

Good way to replace local file with repository copy?

Hi,

    If I have a file stored in SVN called file01, and I want to overwrite my local copy with the latest edition in the repository, without any merge or diff attempts, what's the best way to do it?   I thought "svn update" would do the trick, and if I haven't modified a file then it works great, but sometimes I make little local changes I'd just as soon forget about, and would prefer a fresh start with the repository's copy of the file.  Thanks!

Re: Good way to replace local file with repository copy?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 8, 2006, at 17:31, Larry Quantz wrote:

>     If I have a file stored in SVN called file01, and I want to  
> overwrite my local copy with the latest edition in the repository,  
> without any merge or diff attempts, what's the best way to do it?    
> I thought "svn update" would do the trick, and if I haven't  
> modified a file then it works great, but sometimes I make little  
> local changes I'd just as soon forget about, and would prefer a  
> fresh start with the repository's copy of the file.

svn revert file01 && svn update file01



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