Skip to content

Conversation

@daavoo
Copy link
Contributor

@daavoo daavoo commented Oct 11, 2022

Closes #7933

@daavoo daavoo linked an issue Oct 11, 2022 that may be closed by this pull request
@daavoo daavoo self-assigned this Oct 11, 2022
@daavoo daavoo added A: experiments Related to dvc exp enhancement Enhances DVC labels Oct 11, 2022
@daavoo daavoo requested review from karajan1001 and pmrowla October 11, 2022 10:22
@daavoo daavoo added the ui user interface / interaction label Oct 11, 2022
name = repo.experiments.get_exact_name(rev)
name = name or repo.experiments.get_exact_name(rev)
if name:
name = name.rsplit("/")[-1]
Copy link
Contributor Author

@daavoo daavoo Oct 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this was not really needed after the introduction of repo.experiments.get_exact_name(rev) but it was left here, causing the unnecessary truncation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was no test case for it

@daavoo daavoo force-pushed the 7933-exp-show-branch-name-containing-path-separator-not-returned-for-head branch from bad3205 to 02e78aa Compare October 11, 2022 10:26
@pmrowla pmrowla merged commit c12deaa into main Oct 11, 2022
@pmrowla pmrowla deleted the 7933-exp-show-branch-name-containing-path-separator-not-returned-for-head branch October 11, 2022 10:55
@daavoo daavoo added bugfix fixes bug and removed enhancement Enhances DVC labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: experiments Related to dvc exp bugfix fixes bug ui user interface / interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exp show: branch name containing path separator not returned for HEAD

3 participants