ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/cli
Yuya Nishihara af986a58ed cli: branch: assume deleted tracking branch name is still allocated
While explaining branch tracking behavior, I find it's bad UX that a deleted
branch can be re-"create"d with tracking state preserved. It's rather a "set"
operation. Since deleted tracking branch is still listed, I think it's better
to assume that the local branch name is reserved.

https://github.com/martinvonz/jj/discussions/3871

Renaming to deleted tracking branch is still allowed (with warning) because the
"rename" command can't handle tracked remotes very well. If it were banned, bad
rename couldn't be reverted by using "jj branch rename". It would be confusing
if "rename a b" succeeded with warning, but the following "rename b a" failed.
2024-06-28 19:36:09 +09:00
..
examples revset: drop Eq/PartialEq from RevsetExpression and related types 2024-06-28 10:28:51 +09:00
src cli: branch: assume deleted tracking branch name is still allocated 2024-06-28 19:36:09 +09:00
testing cli: add a fake code formatter tool for testing 2024-06-04 14:28:21 -05:00
tests cli: branch: assume deleted tracking branch name is still allocated 2024-06-28 19:36:09 +09:00
build.rs
Cargo.toml cli: implement enough of jj fix to run a single tool on all files 2024-06-04 14:28:21 -05:00
LICENSE