]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
GitbuilderProject: fix/improve warning about multiple refs 913/head
authorDan Mick <dan.mick@redhat.com>
Tue, 19 Jul 2016 21:12:24 +0000 (14:12 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 26 Jul 2016 17:45:00 +0000 (10:45 -0700)
commitb4942e04db7dfb6676303760c8411abbf12a58d7
tree415aa641cf6745b3da41147ee104a863e2c1fc66
parent82cbfdde86594aae1eb5cc376a7e6df62ec27702
GitbuilderProject: fix/improve warning about multiple refs

warn() tries to warn you when you overspecify a commit (by
giving more than one of ref, tag, branch, or sha1).

1) fix it to actually work (it was always warning)
2) Improve the warning to indicate not only which is taking
precedence but what was supplied for the others.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/packaging.py