aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-04-24 12:17:48 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-04-24 12:17:48 -0400
commit94b241296765404453a2e087d9a888323eb6bbe0 (patch)
tree575e571b35e9dd19da96733fdebe6c962e61b192
parent444f0564fbe0d25f5cad52cb6899b2c2ad9f1cf7 (diff)
downloadb4-94b241296765404453a2e087d9a888323eb6bbe0.tar.gz
Use "local tree" instead of "undefined"
This is our fail-through treename, so if we weren't able to figure out anything about it, then call it a "local tree" instead of "undefined". Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/ty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/ty.py b/b4/ty.py
index 8c61cd2..33baddb 100644
--- a/b4/ty.py
+++ b/b4/ty.py
@@ -243,7 +243,7 @@ def set_branch_details(gitdir, branch, jsondata, config):
# Something went wrong... just use the whole URL
jsondata['treename'] = binfo['url']
else:
- jsondata['treename'] = 'undefined'
+ jsondata['treename'] = 'local tree'
return jsondata, config