From 7911b676561bf263c1f96aaa1f2bcda255dc4f1f Mon Sep 17 00:00:00 2001 From: German Laullon Date: Mon, 18 Apr 2011 14:48:08 -0700 Subject: [PATCH] [8] Repos initialized with git-svn break the app --- PBGitSidebarController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PBGitSidebarController.m b/PBGitSidebarController.m index c3b2e47..051ed59 100644 --- a/PBGitSidebarController.m +++ b/PBGitSidebarController.m @@ -171,7 +171,8 @@ static NSString * const kObservingContextSubmodules = @"submodulesChanged"; -(void)evaluateRemoteBadge:(PBGitSVRemoteItem *)remote { DLog(@"remote.title=%@",[remote title]); - [remote setAlert:[self remoteNeedFetch:[remote title]]]; + if([remote isKindOfClass:[PBGitSVRemoteItem class]]) + [remote setAlert:[self remoteNeedFetch:[remote title]]]; } -(NSNumber *)countCommintsOf:(NSString *)range