scmrepo: update to 0.0.13

This commit is contained in:
Peter Rowlands
2022-03-21 18:17:36 +09:00
committed by Peter Rowlands (변기호)
parent 2e21be992d
commit ab54b5bdfc
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -2,6 +2,8 @@ import logging
import os
from typing import List
from scmrepo.exceptions import SCMError
from dvc.fs.repo import RepoFileSystem
from dvc.output import Output
from dvc.repo import locked
@@ -121,8 +123,8 @@ def show(
# Hide workspace metrics if they are the same as in the active branch
try:
active_branch = repo.scm.active_branch()
except (TypeError, NoSCMError):
# TypeError - detached head
except (SCMError, NoSCMError):
# SCMError - detached head
# NoSCMError - no repo case
pass
else:
+1 -1
View File
@@ -75,7 +75,7 @@ install_requires =
aiohttp-retry>=2.4.5
diskcache>=5.2.1
jaraco.windows>=5.7.0; python_version < '3.8' and sys_platform == 'win32'
scmrepo==0.0.10
scmrepo==0.0.13
[options.extras_require]
all =