exp push: improve ui (#9308)

* exp push: improve ui

* fix misc suggestions
- show url even when the refs are up-to-date.
- show url at the end
- add Git remote information in up-to-date UI message.

* fix diverged exps message
This commit is contained in:
skshetry
2023-04-06 09:54:39 +05:45
committed by GitHub
parent 3312a90949
commit 3c570a2177
3 changed files with 78 additions and 38 deletions
+2 -1
View File
@@ -77,8 +77,9 @@ def test_push_diverged(tmp_dir, scm, dvc, git_upstream, exp_stage):
git_upstream.tmp_dir.scm.set_ref(str(ref_info), remote_rev)
assert dvc.experiments.push(git_upstream.remote, [ref_info.name]) == {
"pushed": [],
"diverged": [ref_info.name],
"url": None,
"uploaded": 0,
}
assert git_upstream.tmp_dir.scm.get_ref(str(ref_info)) == remote_rev