Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

repo.tag() only accepts 'ref/tags/tagname' instead of just 'tagname' #1261

Closed
@bytefluxio

Description

The param comment for tag() in base.py mentions 0.1.5 and tags/0.1.5 as valid inputs, however the call to TagReference calls the inherited constructor (Reference in reference.py) with the default check_path=True, which returns a ValueError, if the tag/path given doesnt start with self._common_path_default + '/'.

Either the param comment needs to be adjusted or the tag parameter cleaned up so that it only returns the tag value to Reference.__init__.

pycharm64_UlSdzGazov
pycharm64_nnw8DMULi2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /