You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Xn Nooby <xn...@gmail.com> on 2006/01/18 20:01:14 UTC

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

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.

Any suggestions?

thanks!

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
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