Skip to content

Commit 4261466

Browse files
committed
Fix small bug when no svn repo was found.
Somewhere during development the find_svn_branch_name function returned a tuple, so if no repo was found I returned a (None, None) tuple. After changing what the function returned when an svn repo is found, I must have forgotten to also change the return value in the case nothing is found.
1 parent c134636 commit 4261466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn-check-unpushed

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def find_svn_branch_name():
6666
# and make it the next commit to investigate
6767
if current_commit in commits:
6868
current_commit = commits[current_commit]
69-
return None, None
69+
return None
7070

7171

7272
def find_uncommitted(svn_branch):

0 commit comments

Comments
 (0)