diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2016-02-04 14:33:54 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2016-02-06 14:07:52 -0800 |
commit | c7d2037b8c6293663280a759a2e447d5aef130bd (patch) | |
tree | bc3d24ec1d415848a4876e85a6da4b138e2b5020 /extras | |
parent | 2fe4f758f4f32151ef22d644c4de1e58a508fc3e (diff) |
vagrant-tests: Fix bug when git branch name has a /
It is possible for a git branch to have a / in it.
Source copy from host to VM used relative path on
the assumption that VM vagrant dir will always be
three levels down the topdir of repo. This assumption
breaks when git branch has a / in it.
Of the two solutions to fix it:
a. Mangle the git branch name to not have a /
b. Accomodate the possibility of have a / in git branch name.
I have chosen b) because that looks cleaner.
Change-Id: I6b71c31da2f5f7c349d6d6882767768b2534d14f
BUG: 1291537
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13355
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions