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

Re: Is there a way to always over-write local files?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-19 02:07:23 CET

On Jan 18, 2006, at 21:01, Xn Nooby wrote:

> Is there a way using Subversion (and TortoiseSVN) to always over-
> write local files? I have a build machine that people sometimes
> tinker with, and I would like to have 'official' versions of files
> be able to over-write local copies during an "update". So if
> someone wanted to do an "official build", they could just come to
> the build-machine, do an update which would over-write local edits,
> and then start the compiler. I know the best practice is not to
> have people tinker on the build machine, but stopping that has not
> been an option Ideally this would work with TortoiseSVN also,
> otherwise I know I could do an "svn st" and revert any local edits
> before an update was done.

Write a script that runs svn st, deletes any unversioned files, svn
reverts any changed files, and then svn updates the working copy.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 19 03:45:16 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.