Branch name maybe contain '/', like devel/efl. Originly, submission with tag
submit/devel/efl/
20131009.205635 is treated as
submit branch: devel date: efl/
20131009.205635 instead of
submit branch: devel/efl date:
20131009.205635.
Fixes: #1378
Change-Id: I57abe3cf1022535ff7e77bf7cefd88a198ce262f
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
date = None
if tag.startswith('submit/'):
- pos = tag.find('/', len('submit/'))
+ pos = tag.rfind('/', len('submit/'))
if pos != -1:
branch = tag[len('submit/'):pos]
if branch == 'trunk':