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

how to get a list of unmerged revisions?

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Mon, 20 Jun 2011 00:23:34 +0200

I've got a trunk and a maintenance branch. I periodically merge
changes from the maintenance branch to trunk. Merge tracking is a
help here.

Commits on the maintenance branch begin with an ID identifying the
issue, backlog item or user story. When I merge changes to trunk, I'd
like to merge those belonging to the same ID together, but I don't
want to mix different IDs in the same merge.

To do this, I explicitly name the revisions I want to merge on the command line.

Now, how do I get Subversion to tell me which revisions of <branch>
have not been merged to <trunk>?

What I've been doing is either (1) firing up TortoiseSVN, which shows
already merged revisions in grey when you start a log viewer from the
merge dialog box or (2) actually doing the merge and then meditating
over the diff of the svn:merge-info property before reverting the
merge again and doing it properly.

Both of these approaches are awkward in the extreme. Surely I'm
overlooking something obvious.

// Ben
Received on 2011-06-20 00:24:07 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.