Skip to content
This repository
Browse code

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.
  • Loading branch information...
commit 426146690fa9045aa664ad571badf6730e8c4a86 1 parent c134636
Mark van Lent markvl authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  git-svn-check-unpushed
2  git-svn-check-unpushed
@@ -66,7 +66,7 @@ def find_svn_branch_name():
66 66 # and make it the next commit to investigate
67 67 if current_commit in commits:
68 68 current_commit = commits[current_commit]
69   - return None, None
  69 + return None
70 70
71 71
72 72 def find_uncommitted(svn_branch):

0 comments on commit 4261466

Please sign in to comment.
Something went wrong with that request. Please try again.