Make commit message queries more url friendly 99/53899/2
authorSam Hague <shague@redhat.com>
Mon, 27 Mar 2017 14:18:32 +0000 (10:18 -0400)
committerSam Hague <shague@redhat.com>
Mon, 27 Mar 2017 15:33:57 +0000 (11:33 -0400)
commit508286169cac677c00b264580a5d02548bde0323
tree43282542b82f1bbecb5bc239e8abca9c67144016
parent0a703c942c4eb4c899ceb534690d9dca66970b36
Make commit message queries more url friendly

When searching for commit messages like:
"Bug 7915 - Zero flows populated in all switches when
connected to Leader Node"
the - is interpreted as a control character. gerrit query
 expects to see
spaces as +, _ or -1, so thsi patch converts to + and you
 end up with:
"Bug+7915+-+Zero+flows+populated+in+all+switches+when+connected
+to+Leader+Node"

Change-Id: I1c07bcd0dc4960ec845d3fb03bd41212363cfa44
Signed-off-by: Sam Hague <shague@redhat.com>
tools/distchanges/changes.py
tools/distchanges/tests/resources/git.properties.spaces [new file with mode: 0644]