Indefero

Issue 609: Git repo without master branch

Reported by William Martin, Jan 30, 2011

When you go to the source view, indefero try to show to master 
branch, and redirect to an exception if it can't show it.

I think, we need to show the next existing branch instead of  this 
exception.

Photon haven't master branch yet
http://projects.ceondo.com/p/photon/source/

Comment 1 by Thomas Keller, Jan 30, 2011

I don't know if "any" next branch is a good default - I'd 
rather let the project admin explicitely select his default branch 
for his project. The monotone plugin actually does so already and 
stores a "mtn_master_branch" setting in the project 
configuration. This could easily be moved to a general option for 
all the VCS plugins.

Comment 2 by William Martin, Jan 31, 2011

Thomas, I agree with you.

And we wan made a better invalid page, too.

Comment 3 by William Martin, Feb 23, 2011

commit 3e238bea0b723cf74e6d688bcf6dfbb3ddb0c2ab

I add the branch list, to easily jump to another good branch.
Status: Fixed

Comment 4 by Thomas Keller, Mar 3, 2011

Labels: Milestone:Release1.1

Created: 2 years 3 months ago by William Martin

Updated: 2 years 2 months ago

Status: Fixed

Owner: William Martin

Followed by: 1 person

Labels:
Type:Defect
Milestone:Release1.1
Priority:Critical