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

Re: Presenting net code changes for a branch

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 23 Oct 2013 14:53:18 +0100 (BST)

Gabriela Gibson wrote on 13 October: > my branch has grown into a veritable forest, and so, I thought that > it would be convenient to present the net code changes ... and the discussion went on to address how to use "svn diff" in the right way to show such changes, which is not exactly obvious.† The best way is to go and investigate your merge history and then choose specify the left hand side of the diff as the revision on trunk which you last caught up to.† Is that really the best we can do?† No. This requirement is fairly basic and comes up quite often -- I have recently heard from both customers and colleagues wanting to know how to do it. I think we should have a built-in way to say "show me the diff of this branch against the parent branch, specifically against the latest catch-up point on the parent branch".† The attached patch implements this, using '-g'/'--use-merge-info' to trigger it: † cd my-branch-wc † svn diff -g ^/subversion/trunk . What does everyone think of the concept?† The user interface?† This patch is by no means a complete solution, but simply to promote discussion. - Julian

Received on 2013-10-23 15:54:01 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.