mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
metrics: don't overwrite value for the branch
Signed-off-by: Ruslan Kuprieiev <[email protected]>
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