Tried creating a workspace off an invalid revision it looks like it errored out while still creating the workspace, causing me to have to clean up an invalid command run. To me the workspace should not be created on error. I'm not a rust dev but I can try to submit a PR assuming your OK with the change
❯ nv cd -c -r default intake-improvements
error: jj command failed: jj workspace add --name intake-improvements -r default /Users/mtrajano/dev/pontal/pontal-agents/../pontal-agents.intake-improvements
Created workspace in "../pontal-agents.intake-improvements"
Error: Revision `default` doesn't exist
Tried creating a workspace off an invalid revision it looks like it errored out while still creating the workspace, causing me to have to clean up an invalid command run. To me the workspace should not be created on error. I'm not a rust dev but I can try to submit a PR assuming your OK with the change