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

Re: Merging Binary files

From: Matt Madrid <admiralcap_at_gmail.com>
Date: 2007-07-13 13:42:34 CEST

Ok, so you want to basically copy the file from one place to another
using svn merge. Yes.

Understand what merge realy does....

svn merge FROM_THIS_FILE@HEAD TO_THIS_FILE@HEAD PUT_IT_HERE

So, since you know the file that is to be replaced, that would be the
FROM_THIS_FILE ... AND... the PUT_IT_HERE

There are situations where you sould get conflicts, but I'm guessing
in your situation that wouldn't happen often.

Matt

On 7/12/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:
> On Jul 12, 2007, at 05:40, claudia logan wrote:
>
> > But is there a way to just force binary merge since I know this is
> > what I want, or "turn off" the diff for them. This process should
> > be completed with minimal effort and short amount of time. It
> > seems is almost easier to just "copy-n-paste" from trunk to branch
> > and finish sooner.
>
> I think you're asking: is there a way to "turn off" the conflict, and
> have Subversion just use the new version, overwriting the old
> version, regardless of conflicts. No, there isn't. After you merge,
> you will probably get a conflict. If you want to overwrite the old
> version, then do that (move the new file over the original file, and
> then tell Subversion the conflict is resolved). If this is too much
> work, then you can write a wrapper around svn merge, which does the
> merge and then does the moving and resolving. Call this wrapper
> instead of calling svn merge directly.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 13 13:42:05 2007

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.