Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Subversion 1.5 merge tracking and Trac
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christian Boos  
View profile  
 More options May 21, 11:36 am
From: Christian Boos <cb...@neuf.fr>
Date: Thu, 21 May 2009 17:36:12 +0200
Local: Thurs, May 21 2009 11:36 am
Subject: Re: [Trac] Subversion 1.5 merge tracking and Trac

Javier S. wrote:
> Hi,

> In our team we are using Trac 0.11, and recently upgraded to
> Subversion 1.5 to get the new merge tracking features. I was hoping
> Trac had support for these new features, as I haven't found any
> reference that suggests so, I'm writing to this list.
> Specifically I was hoping for some of these things:

> - Subversion 1.5 adds a -g parameter to the "svn log" command. When
> used in a branch which has merges, for each log entry it shows, in
> addition to the revision number, merge author and author's comments,
> the original change's revision, author and comments, so that you know
> where the merge came from. I was hoping Trac's revision log somehow
> supported this.

Sorry, there's nothing like that yet.

Maybe we could add this using a sub-table:

|| Rev || Date  || Author || Log Message                        ||
|| 100 || ././. || xyz    || merged bugfix #123 from stable     ||
||     ||       ||        ||                                    ||
||     ||       ||        || ||Rev||Date||Author||Log Message|| ||
||     ||       ||        || ||98 || ...||xyz   ||bugfix #123|| ||
||     ||       ||        || ||97 || ...||xyz   ||clean-up   || ||

I also think that this would be an interesting way to show the
merge information for other VCS, like Mercurial: in merge revisions,
we would show the first few changesets from the incoming branch and
simply have a link to "jump" on the revision log of that incoming
branch for seeing more ancestors (and incoming branches for that branch).

But I digress... ;-)

> - Something similar happens for "svn blame/annotate". The -g param
> shows the original author for each line, instead of the merge author.

I suppose this would be a bit harder to get right, given we don't have
that much space there. Is there any other repository viewer that already
does this (ViewVC, WebSVN, etc.) so we could get some ideas?

> - Support in the source browser for some kind of parsing of the
> svn:mergeinfo property, which contains all the merge tracking
> information. Something like links to the involved branches and
> revisions.

Already requested, but nobody has contributed a patch yet
(http://trac.edgewall.org/ticket/7715).

> Any of this exists? maybe some plugin? or, if not, is it planned?.

The svn:mergeinfo stuff is becoming hard to avoid those days, so I
should better try to understand them better and think about supporting
them if possible. I'm still not convinced it's working 100% reliably
though (e.g.  http://trac.edgewall.org/changeset/8206#file1 why would
that file get its svn:mergeinfo changed?).
Also it looks like manipulating this merge info is not matching
svnmerge.py in simplicity (compare: `svn mergeinfo --show-revs eligible`
to `svnmerge avail`) and there's apparently no equivalent to `svnmerge
block`.

Still, I'm going to have a try at enhancing merge tracking support in
Trac - so watch #7715 ;-)

-- Christian


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google