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

Re: svn merge --reintegrate like diff

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 26 Sep 2016 09:59:59 +0200

On Sat, Sep 24, 2016 at 12:44 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> Veit Guna wrote on Sat, Sep 24, 2016 at 12:19:16 +0200:
>> So basically what I need is a diff that shows me the same changes that
>> would be made to trunk if the branch
>> would be merged to it (ignoring trunk changes merged to branch).
>>
>> Is this somehow possible?
>
> Checkout trunk_at_HEAD, run 'merge --reintegrate' (without committing the
> result), and run 'diff'?
>
> That'd give the most accurate answer possible, even if the branch has
> received cherry-picking or subtree merges.

I would think that 'svn diff --old=$trunk --new=$branch' should also
work pretty well.

Perhaps experiment with some of the options like --no-diff-added,
--no-diff-deleted, --ignore-properties, --show-copies-as-adds, --git,
--patch-compatible, ...

-- 
Johan
Received on 2016-09-26 10:00:29 CEST

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.