data status: fix not-in-cache hint (#8181)

See https://github.com/iterative/dvc.org/pull/3812\#discussion_r936625617.
This commit is contained in:
skshetry
2022-08-25 15:39:59 +05:45
committed by GitHub
parent 460d08057c
commit 2c556f58d3
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -31,8 +31,7 @@ class CmdDataStatus(CmdBase):
"unchanged": "DVC unchanged files",
}
HINTS = {
"not_in_cache": 'use "dvc pull <file>..." '
"to update your local storage",
"not_in_cache": 'use "dvc pull <file>..." to download files',
"committed": "git commit the corresponding dvc files "
"to update the repo",
"uncommitted": 'use "dvc commit <file>..." to track changes',
+1 -1
View File
@@ -106,7 +106,7 @@ def test_show_status(dvc, scm, mocker, capsys, mocked_status, args, is_dirty):
out, err = capsys.readouterr()
expected_out = """\
Not in cache:
(use "dvc pull <file>..." to update your local storage)
(use "dvc pull <file>..." to download files)
notincache
DVC committed changes: