Commit 5bddb2fe authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

fix branch name reporting in stress test script


git-svn-id: file:///svn/toku/tokudb@52616 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0d73c880
......@@ -698,7 +698,7 @@ if __name__ == '__main__':
toplevel_basename = os.path.basename(default_toplevel)
if toplevel_basename == 'tokudb':
maybe_absolute_branchpath = os.path.dirname(default_toplevel)
if os.path.dirname(maybe_absolute_branchpath) == 'mysql.branches':
if os.path.basename(os.path.dirname(maybe_absolute_branchpath)) == 'mysql.branches':
default_branchname = os.path.basename(maybe_absolute_branchpath)
else:
default_branchname = 'mainline'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment