projects
/
tools
/
gbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c746ed9
)
correct parsing upstream branch for tarball generation
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Wed, 19 Feb 2014 05:43:49 +0000
(13:43 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Wed, 19 Feb 2014 05:43:49 +0000
(13:43 +0800)
use split('/', 1) instead of split('/') to parse out correct
upstream branch
Fixes: #1641
Change-Id: I603083766c18bd260c288daa39358f0c6d0d0d61
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
gitbuildsys/cmd_export.py
patch
|
blob
|
history
diff --git
a/gitbuildsys/cmd_export.py
b/gitbuildsys/cmd_export.py
index 7b6fc85210c1c2963019b8ced2f519a1e6e84890..6b700e714ceaa9da933fc22af0b527635d7c6178 100644
(file)
--- a/
gitbuildsys/cmd_export.py
+++ b/
gitbuildsys/cmd_export.py
@@
-70,7
+70,7
@@
def check_export_branches(repo, args):
'''
remote_branches = {}
for branch in repo.get_remote_branches():
- remote_branches[branch.split('/')[-1]] = branch
+ remote_branches[branch.split('/'
, 1
)[-1]] = branch
upstream_branch = configmgr.get_arg_conf(args, 'upstream_branch')
# track upstream/pristine-tar branch