Feature Request: dvc status
should only show "update available" for imported files if the md5 has changed
#10542
Labels
dvc status
should only show "update available" for imported files if the md5 has changed
#10542
I've imported a file from another DVC project using
dvc import <repo url> <file/path> --rev <branch>
. Whenever I make another commit to the source repo (even if I don't change the imported file), and then I calldvc status
there is always an update available for that file.I understand that the revision I'm tracking is just the head of the branch, so the "update" is to bring the file.dvc's "rev_lock" field to the latest commit. However, the underlying md5 hash hasn't change... it would be really nice if there was a way to call
dvc status
such that it only checked if the hash had changed in the most recent commit. All it would have to do is verify theouts.md5
values are the same.I know that I can specify a particular commit hash as the --rev when i do the import/update. However, I really do want to know if the file actually changed when i do dvc status. If i make the --rev a particular commit hash, it won't ever tell me if that file changes in a later commit.
As of now, there's no way to tell the difference between: 1) has the HEAD of the source repo changed 2) is the actually a new version of my imported file.
The text was updated successfully, but these errors were encountered: