From 2c556f58d3c329f137e880571175b1d52867479f Mon Sep 17 00:00:00 2001 From: skshetry Date: Thu, 25 Aug 2022 15:39:59 +0545 Subject: [PATCH] data status: fix not-in-cache hint (#8181) See https://github.com/iterative/dvc.org/pull/3812\#discussion_r936625617. --- dvc/commands/data.py | 3 +-- tests/unit/command/test_data_status.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dvc/commands/data.py b/dvc/commands/data.py index b459478cc..6a98acaeb 100644 --- a/dvc/commands/data.py +++ b/dvc/commands/data.py @@ -31,8 +31,7 @@ class CmdDataStatus(CmdBase): "unchanged": "DVC unchanged files", } HINTS = { - "not_in_cache": 'use "dvc pull ..." ' - "to update your local storage", + "not_in_cache": 'use "dvc pull ..." to download files', "committed": "git commit the corresponding dvc files " "to update the repo", "uncommitted": 'use "dvc commit ..." to track changes', diff --git a/tests/unit/command/test_data_status.py b/tests/unit/command/test_data_status.py index 7387ab75a..649ba4df7 100644 --- a/tests/unit/command/test_data_status.py +++ b/tests/unit/command/test_data_status.py @@ -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 ..." to update your local storage) + (use "dvc pull ..." to download files) notincache DVC committed changes: