mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 07:18:27 +01:00
Merge pull request #793 from efiop/master
metrics: don't overwrite value for the branch
This commit is contained in:
+4
-1
@@ -358,7 +358,10 @@ class Project(object):
|
||||
htsv_path=htsv_path)
|
||||
if not metric:
|
||||
continue
|
||||
res[branch] = {}
|
||||
|
||||
if branch not in res:
|
||||
res[branch] = {}
|
||||
|
||||
res[branch][rel] = metric
|
||||
|
||||
self.scm.checkout(saved)
|
||||
|
||||
Reference in New Issue
Block a user