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

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

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-08 20:09:49 CEST

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
Received on Sat Apr 8 20:11:22 2006

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.