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

Re: Bug in merge (repro included)

From: Thomas Börkel <tbo_at_ap-ag.com>
Date: 2005-02-03 09:56:59 CET

HI!

"Ben Collins-Sussman" <sussman@collab.net> wrote in message
news:f03bbf40e1c1d5a5d8f785117d446b9d@collab.net...

>GNU diff and patch is doing only a 2-way diff, but 'svn merge' is doing
>a 3-way comparison. What does GNU diff3 do with the 3 files?

If I understand the output of diff3 correctly, it finds a conflict on that
merge and that is correct IMHO:

diff3 -E TransportOutUtil-T.java TransportOutUtil-B1.java
TransportOutUtil-B2.java

486a
=======
      lieferMenge = waPosObj.getLiefermenge();
      vkRahmenObj = VkRahmenFactory.search2(manager,
                                            waPosObj.getVkrahmen(),
                                            ObjectConstants.OPTIMISTIC_LOCK,
                                            false);
      if (vkRahmenObj != null) {
        vkRahmenObj.setGeliefert(vkRahmenObj.getGeliefert() - lieferMenge);
        vkRahmenObj.update();

        where = "KARTIKEL = '" + vkRahmenObj.getKartikel()+ "' and " +
                "EDIPARTNER = '" + vkRahmenObj.getEdipartner() + "' and " +
                "WERKKUNDE = '" + vkRahmenObj.getWerkkunde() + "' and " +
                "ABLADESTELLE = '" + vkRahmenObj.getAbladestelle() + "' and
" +
                "STATUS = 1";
        lieferabrufInObj = LieferabrufInFactory.search2(manager,
                                                        where,
                                                        READ_LOCK,
                                                        true);
        LieferabrufInUtil.unDispatchDeliverySchedule(lieferabrufInObj);
        LieferabrufInUtil.dispatchDeliverySchedule(lieferabrufInObj);
      }

>>>>>>> TransportOutUtil-B2.java
.
445a
<<<<<<< TransportOutUtil-T.java

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 3 09:59:43 2005

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.