You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Simon McClenahan <sm...@healthcompartners.com> on 2004/04/20 17:00:06 UTC
Merging questions
I have a Subversion server still at 0.37 , and TortoiseSVN 1.0.3 build 968. I checked out a WC of my trunk, and used the Merge command to merge in a branch.
I have a lib directory full of binary files, and the result of the merge seemed to think that there were a lot of differences, even though there were none. I have source code text files that were different, but when I use TortoiseMerge, all I see is red for the whole file and no specific differences. For each file that is changed, I get the following files -
04/20/2004 10:45 AM 16,616 NotifyChangeAccountEJBHome.java
04/20/2004 10:45 AM 0 NotifyChangeAccountEJBHome.java.merge-left.r0
04/20/2004 10:45 AM 8,540 NotifyChangeAccountEJBHome.java.merge-right.r214
04/20/2004 10:45 AM 8,022 NotifyChangeAccountEJBHome.java.working
The .java file has "<<<<<<< .working", "=======", and ">>>>>>> .merge-right.r214" tags in it, making the source unusable.
The .merge-right file has the updated changes that I want.
The .working file has the old stuff I want to merge into.
The documentation for TortoiseSVN in 4.7 Resolving Conflicts refers to filename*.mine and filename*.r* files
Are these issues because of the SVN server being 0.37? How do I undo what just happened, do I have to checkout the trunk again?
- Simon
--------------------------
NOTE: This message and any included attachments are from HealthCom Partners, LLC and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Merging questions
Posted by Ben Collins-Sussman <su...@collab.net>.
Please, please, mail tortoise questions to that project's dev list. :-)
On Tue, 2004-04-20 at 12:00, Simon McClenahan wrote:
> I have a lib directory full of binary files, and the result of the merge seemed to think that there were a lot of differences, even though there were none. I have source code text files that were different, but when I use TortoiseMerge, all I see is red for the whole file and no specific differences. For each file that is changed, I get the following files -
>
> 04/20/2004 10:45 AM 16,616 NotifyChangeAccountEJBHome.java
> 04/20/2004 10:45 AM 0 NotifyChangeAccountEJBHome.java.merge-left.r0
> 04/20/2004 10:45 AM 8,540 NotifyChangeAccountEJBHome.java.merge-right.r214
> 04/20/2004 10:45 AM 8,022 NotifyChangeAccountEJBHome.java.working
>
Binary files *should not* be merged. When you add a binary file to a
project, the svn commandline notices this and sets the 'svn:mime-type'
property to 'application/octet-stream'. If TortoiseSVN didn't do this
for you, then that's a Tortoise bug.
When 'svn merge' sees the binary mime-type property, it doesn't attempt
to do any contextual merging. It just creates three fulltext files,
rather than trying to insert conflict markers. If TortoiseSVN's merge
command isn't doing this, then that's a TortoiseSVN bug.
I can't speculate any more, because I (and most developers on this list)
don't know the Tortoise UI very well, and don't know it's internals. I
would repost your question to the tortoisesvn dev list.
>
> Are these issues because of the SVN server being 0.37?
No, merging is purely a client-side behavior. The server is irrelevant.
> How do I undo what just happened, do I have to checkout the trunk again?
>
If you don't like the results of a merge, just 'revert' all the local
mods, remove any unversioned files left behind, and re-run the merge in
a different way.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org