Skip to content

stage: don't add default fields removed by user #2210

@ghost

Description

DVC version: 0.50.1

It was supposed to be solved as part of #1799

Steps to reproduce

  1. Save a DVC-file (capitalize.dvc) with the following content:
cmd: cat input.txt | tr a-z A-Z > output.txt

deps:
- path: input.txt

outs:
- path: output.txt

meta:
  author: mroutis
  1. Create input.txt: echo hello > input.txt

  2. Reproduce it: dvc repro capitalize.dvc

cmd: cat input.txt | tr a-z A-Z > output.txt

deps:
- path: input.txt

  md5: b1946ac92492d2347c6235b4d2611184
outs:
- path: output.txt

  md5: 0084467710d2fc9d8a306e14efbe6d0f
  cache: true
  metric: false
  persist: false
meta:
  author: me

md5: 911cf77624b3dfc4c4f898dac3b16719
wdir: .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions