|
@@ -905,15 +905,6 @@ def submodule_list(repo):
|
|
|
yield path.decode(DEFAULT_ENCODING), sha.decode(DEFAULT_ENCODING)
|
|
|
|
|
|
|
|
|
-def tag(*args, **kwargs):
|
|
|
- import warnings
|
|
|
-
|
|
|
- warnings.warn(
|
|
|
- "tag has been deprecated in favour of tag_create.", DeprecationWarning
|
|
|
- )
|
|
|
- return tag_create(*args, **kwargs)
|
|
|
-
|
|
|
-
|
|
|
def tag_create(
|
|
|
repo,
|
|
|
tag,
|
|
@@ -974,16 +965,6 @@ def tag_create(
|
|
|
r.refs[_make_tag_ref(tag)] = tag_id
|
|
|
|
|
|
|
|
|
-def list_tags(*args, **kwargs):
|
|
|
- import warnings
|
|
|
-
|
|
|
- warnings.warn(
|
|
|
- "list_tags has been deprecated in favour of tag_list.",
|
|
|
- DeprecationWarning,
|
|
|
- )
|
|
|
- return tag_list(*args, **kwargs)
|
|
|
-
|
|
|
-
|
|
|
def tag_list(repo, outstream=sys.stdout):
|
|
|
"""List all tags.
|
|
|
|