feat: add restore file from files_tab#182
Conversation
fa7e75b to
f0db3a0
Compare
6596b69 to
1acfccf
Compare
| path | ||
| }; | ||
|
|
||
| let fileset = format!("file:\"{}\"", path.replace('"', "\\\"")); |
There was a problem hiding this comment.
I also changed this so files with double quotes can be restored.
|
Nice, but When showing files from a different rev than |
|
thanks again for reviewing @dotdash. It seems like this was not always the case... and I can see the value in showing it for the selected rev. Maybe we can address that in another PR? we would also need to safe guard untrack and any other commands we want to run on a file. |
Pressing Line 188 in ca32368
True. |
First of all, thank you for the time and effort you've put into lazyjj !
This implements the equivalent to
jj restore file.I tried to follow #146.
I have been using daily a fork with this commit for over a week and found no problems with it
This includes the change from #183 to send the path with
path:so errors don't occur for paths with:Happy to change based on feedback :)