Re: Completely overwrite a file.
From: Gavin Beau Baumanis <gavinb_at_thespidernet.com>
Date: Thu, 18 Nov 2010 09:35:04 +1100
Hi Stefan,
We don't use SVN in it's classic setup.
We do all dev work locally.
After appropriate testing / user acceptance;
We then copy from the production branch onto the production server.
In this way - if it turns out that there is an issue, we can simply reverse-merge the last change that broke production - and go back to the start and redo coding / testing etc.
The process of getting the file from the trunk to the production branch is pretty hit and miss.
It just depends on who did the task at the time.
We basically don't care too much about how the file gets to the production branch - just so long as it does.
We're currently going from having a complete copy of the source code per customer, to having a single "trunk" and using configuration for customisation, instead.
So basically now is a good time to ensure that we're doing things "properly".
I suppose I just wanted confirmation that svn merge --accept="theirs-full" - will in fact do what I;m expecting - and this is to make the destination an exact copy of the source.
And a follow-up question now springs to mind too, is there a better way?
As always - Thanks.
Gavin "Beau" Baumanis
On 18/11/2010, at 12:09 AM, Stefan Sperling wrote:
> On Wed, Nov 17, 2010 at 11:00:25PM +1100, Gavin Beau Baumanis wrote:
|
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.