git.latest rev=tag fails with old git(1) #30999
Labels
Bug
broken, incorrect, or confusing behavior
fixed-pls-verify
fix is linked, bug author to confirm fix
P3
Priority 3
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
State-Module
Milestone
According to the documentation, from 2015.8 git.latest tries to unset the upstream branch if the specified rev is a tag. This is achieved with the
--unset-upstream
switch ofgit branch
, which is unavailable before git 1.9.2. The default git package of Ubuntu 12.04 LTS version is bellow this.Workaround suggested by @BABILEN is to add a patched
_states/git.py
withs/\['--unset-upstream']/None/'
applied.Reproducing:
The text was updated successfully, but these errors were encountered: