-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: revset syntax to resolve an expression at an old operation #1283
Comments
|
If we choose Lines 15 to 19 in 92f9fe5
|
But since we use |
I also don't particularly like One ambiguity is whether Update On Discord, Martin suggested that the revset be expanded by first loading operation |
This would also be quite useful for branches. |
So |
Since resolve_symbols() now removes Present(_) node, it make sense to handle symbol resolution error there. That's why I added a "pre" callback to try_transform_expression(). Perhaps, "operation" scope (martinvonz#1283) can be implemented in a similar way, (but somehow need to resolve operation id and call repo.reload_at(op).)
Since resolve_symbols() now removes Present(_) node, it make sense to handle symbol resolution error there. That's why I added a "pre" callback to try_transform_expression(). Perhaps, "operation" scope (martinvonz#1283) can be implemented in a similar way, (but somehow need to resolve operation id and call repo.reload_at(op).)
Since resolve_symbols() now removes Present(_) node, it make sense to handle symbol resolution error there. That's why I added a "pre" callback to try_transform_expression(). Perhaps, "operation" scope (#1283) can be implemented in a similar way, (but somehow need to resolve operation id and call repo.reload_at(op).)
A related FR would be a "universal reflog", a way to see or use the "previous value" of something like "main@origin" as something like "main@origin#1". This would ignore any past operations that didn't change the value of "main@origin". (Of course, we'd need a different symbol or syntax if I think filtering by revset could already be implemented as an option to |
This can be used in order to refer old working-copy commit, for example. If we find it's useful, maybe we can add an infix syntax later. Closes martinvonz#1283
This can be used in order to refer old working-copy commit, for example. If we find it's useful, maybe we can add an infix syntax later. Closes martinvonz#1283
This can be used in order to refer old working-copy commit, for example. If we find it's useful, maybe we can add an infix syntax later. Closes martinvonz#1283
It would be nice to have something like
xyz#a5b
to represent the commit that the changexyz
was at operationa5b
. So, one could dojj log --at-op a5b
and follow that up withjj restore --from xyz#a5b
.The text was updated successfully, but these errors were encountered: