mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
data status: fix not-in-cache hint (#8181)
See https://github.com/iterative/dvc.org/pull/3812\#discussion_r936625617.
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user