Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (23 sloc) 0.646 kB
//
// PBGitSVRemoteBranchItem.m
// GitX
//
// Created by Nathan Kinsinger on 3/2/10.
// Copyright 2010 Nathan Kinsinger. All rights reserved.
//
#import "PBGitSVRemoteBranchItem.h"
@implementation PBGitSVRemoteBranchItem
+ (id)remoteBranchItemWithRevSpec:(PBGitRevSpecifier *)revSpecifier
{
PBGitSVRemoteBranchItem *item = [self itemWithTitle:[[revSpecifier description] lastPathComponent]];
item.revSpecifier = revSpecifier;
return item;
}
- (NSImage *) icon
{
static NSImage *remoteBranchImage = nil;
if (!remoteBranchImage)
remoteBranchImage = [NSImage imageNamed:@"RemoteBranch.png"];
return remoteBranchImage;
}
@end
Jump to Line
Something went wrong with that request. Please try again.