diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rwxr-xr-x | rbtools/postreview.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ Contributors: * Lepton Wu * Luke Lu * Matthew Woehlke + * Mike Crute * Paul Scott * Raghu Kaippully * Ravi Kondamuru diff --git a/rbtools/postreview.py b/rbtools/postreview.py index 9b422c4..a313a79 100755 --- a/rbtools/postreview.py +++ b/rbtools/postreview.py @@ -2160,7 +2160,7 @@ class GitClient(SCMClient): svn diff would generate. This is needed so the SVNTool in Review Board can properly parse this diff. """ - rev = execute(["git", "svn", "find-rev", "master"]).strip() + rev = execute(["git", "svn", "find-rev", parent_branch]).strip() if not rev: return None |