diff options
author | Yun Mao <yunmao@gmail.com> | 2013-01-17 17:22:35 -0500 |
---|---|---|
committer | Yun Mao <yunmao@gmail.com> | 2013-01-17 18:01:43 -0500 |
commit | af5936f4aa55f751cee7648eaf4f156baa5868ea (patch) | |
tree | 05e2fd35b3a89496752fd142e0aa4625080f8955 /nova/exception.py | |
parent | 52fe25a5281a50a5e4c1ff093ce9ed966241a3d7 (diff) | |
download | nova-af5936f4aa55f751cee7648eaf4f156baa5868ea.tar.gz nova-af5936f4aa55f751cee7648eaf4f156baa5868ea.tar.xz nova-af5936f4aa55f751cee7648eaf4f156baa5868ea.zip |
Go back to the original branch after pylint check
Previously we save the current commit hash before running lintstack.
This is no problem for Jenkins but not very friendly if we run
lintstack locally. Every time after it's done, git is in detached
HEAD mode. This patch remembers the current branch name and
automatically go back to the branch if available. Otherwise we fall
back to the commit hash.
Part of blueprint lintstack
Change-Id: I145df3027022fc9a8302bc6da9ab300f677f3386
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions