Permalink
Browse files

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...
1 parent c134636 commit 426146690fa9045aa664ad571badf6730e8c4a86 @markvl markvl committed May 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-svn-check-unpushed
@@ -66,7 +66,7 @@ def find_svn_branch_name():
# and make it the next commit to investigate
if current_commit in commits:
current_commit = commits[current_commit]
- return None, None
+ return None
def find_uncommitted(svn_branch):

0 comments on commit 4261466

Please sign in to comment.