Commit 6a2fdc7
committed
fix: make branch rename best-effort during workspace rename
Branch rename can fail if the branch name doesn't match the old
directory name (e.g., in test scenarios). The directory move is
the critical operation; branch rename is nice-to-have.
In mux's real usage, branch name and workspace name are always kept
in sync, so the branch rename will succeed in production.1 parent f90337d commit 6a2fdc7
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
0 commit comments