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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to