Closed ceedubs closed 6 days ago
I bisected this:
49ee64ef37fb3846d8aee8858435dc054d9992e3 is the first bad commit
commit 49ee64ef37fb3846d8aee8858435dc054d9992e3
Author: Mitchell Rosen <mitchellwrosen@gmail.com>
Date: Mon May 20 10:45:27 2024 -0400
sketch out basic `upgrade.commit` command
unison-cli/src/Unison/Cli/ProjectUtils.hs | 15 ++++++
.../Unison/Codebase/Editor/HandleInput/Branch.hs | 3 +-
.../Codebase/Editor/HandleInput/CommitUpgrade.hs | 28 ++++++++++
.../Codebase/Editor/HandleInput/ProjectSwitch.hs | 62 +++++++++++-----------
unison-cli/unison-cli.cabal | 1 +
5 files changed, 75 insertions(+), 34 deletions(-)
create mode 100644 unison-cli/src/Unison/Codebase/Editor/HandleInput/CommitUpgrade.hs
Describe and demonstrate the bug
In ucm 0.5.20, if you used
switch
to switch to a project without a branch name, it would remember the last branch that you were on within that project. But in ucm 0.5.21 (and current trunk), it switches you to themain
branch regardless of which branch you were previously using in the project that you are switching to.Screenshots
Environment (please complete the following information):
ucm --version
0.5.21