With the example file repos.test :
repositories:
vcs:
type: git
url: https://github.com/dirk-thomas/vcstool.git
version: daf389377310f7f31b2171f51a79af82c31bf3e2
The validate command fails
$ vcs validate --input repos.test
=== vcs (git) ===
Invocation of command 'validate' on client 'git' failed: UnboundLocalError: cannot access local variable 'version_type' where it is not associated with a value (/usr/lib/python3/dist-packages/vcstool/clients/git.py:744)
While a clone works just fine
$ vcs import --input repos.test test/
=== test/vcs (git) ===
Clonage dans '.'...
Note : basculement sur 'daf389377310f7f31b2171f51a79af82c31bf3e2'.
Note that the validate works with tags if the commit hash is changed by 0.3.0
$ vcs validate --input repos.test
=== vcs (git) ===
Found git repository 'https://github.com/dirk-thomas/vcstool.git' with tag '0.3.0'
With the example file repos.test :
The validate command fails
While a clone works just fine
Note that the validate works with tags if the commit hash is changed by 0.3.0