juju / charm-tools

Tools for charm authors and maintainers
Other
42 stars 64 forks source link

Add --branch option to pull-source #581

Closed johnsca closed 4 years ago

johnsca commented 4 years ago

Adds the ability to specify a branch to switch to when fetching the source of a charm or layer. This is particularly useful for layer entries which use the subdir field, since that can lose the SCM metadata and prevent post-pull switching.

Fixes #580 Fixes lp:1893081

johnsca commented 4 years ago

Drive-by: switched from nose to pytest