diff --git a/dvc/command/data_sync.py b/dvc/command/data_sync.py index fec28915b..ad9b91d1f 100644 --- a/dvc/command/data_sync.py +++ b/dvc/command/data_sync.py @@ -1,3 +1,5 @@ +import os + import dvc.cloud.base as cloud from dvc.command.common.base import CmdBase @@ -38,7 +40,9 @@ class CmdDataStatus(CmdBase): cloud.STATUS_NEW : 'new file:', } - self.project.logger.info('\t{}\t{}'.format(prefix_map[ret], target)) + path = os.path.relpath(target) + + self.project.logger.info('\t{}\t{}'.format(prefix_map[ret], path)) def run(self): try: