Comment 1 by Loïc d'Anterroches, May 12, 2010
Effectively, as soon as one have many branches, this would help a lot.
Labels:
Type:Enhancement
Type:Defect
Summary: Show the commit branch in the commit details and the latest update view
Summary: Show the commit branch in the commit details and the latest update view
Comment 2 by Sylvestre Ledru, Sep 21, 2010
As a daily user of Indefero, I agree that it is a "must have" feature!
Comment 3 by Thomas Keller, Nov 17, 2010
I pushed some initial work in commit 70e8d12 - I'm not convinced that the way I did it for git is the best way, so improvements are welcome here. For subversion I think there is hardly a proper way to list "branches", simply because subversion has no such concet. And since the getCommit() API method does not provide us with a partial path or anything we could use to extract the underlying "used" branch, the only other hack I can think of would be using the -v option to svn log and iterate over the changed files, while noting distinct "/(trunk)" and "/branches/([^\/]+)" entries. I don't know how useful this is, especially since the changed paths are directly outputted a few lines below anyways.
Status:
Accepted
Comment 6 by Loïc d'Anterroches, Nov 29, 2010
Subversion would be messy, effectively it means parsing the paths of all the touched files and collect the /branches/*/ info. And this would work only if the project is following the "standard" layout. So, you can forget it for the moment. For the others, this is fine, git has the inBranches command, so we can use it.
Owner:
tommyd
Comment 7 by Loïc d'Anterroches, Nov 29, 2010
Short update, we will need to add the info in the "IDF_Commit" object to be faster. I need to do that for the merge history information for git, so I will take care of polishing this ticket. Assigned back to me.
Labels:
Priority:High
Priority:Medium
Owner: loic
Owner: loic
Comment 8 by Thomas Keller, Mar 3, 2011
The git implementation has been done in the meantime by William. Implementation for hg and svn will be tracked in new issue 622.
Status:
Fixed
Sign in to reply to this comment.
Reported by Carlo Kok, Apr 28, 2010