We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd13981 + 86fedaf commit 35296daCopy full SHA for 35296da
renku/core/models/provenance/activities.py
@@ -193,6 +193,11 @@ def paths(self):
193
index = set()
194
195
for file_ in self.commit.diff(self.commit.parents or NULL_TREE):
196
+ # ignore deleted files (note they appear as ADDED)
197
+ # in this backwards diff
198
+ # TODO: set `deprecatedBy` for deleted paths
199
+ if file_.change_type == 'A':
200
+ continue
201
path_ = Path(file_.a_path)
202
203
is_dataset = self.client.DATASETS in str(path_)
0 commit comments