Replies: 1 comment
|
I don't think there is a good way right now. We'll need something like |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
It would be useful for some scripts to be able to get the workspace name for a given directory. The best my colleague come up with is
jj log -G -T 'self.working_copies().map(|wr| if(wr.target().current_working_copy(), wr.name()))'which seems awfully verbose and also doesn't work if two different workspaces are editing the same revision (though that is a bit of an edge case I hope I never fall into!). But I imagine thatjjjust knows this, is there some way to get it more directly?All reactions