HomePhabricator

rust-revset: support explicit `.` revision

Authored by Alphare.

Description

rust-revset: support explicit . revision

This is basically the same thing as not specifying a revision, except this is
done in the revset resolution function.

This allows calls like rhg cat some-file -r . to work without falling back.

Differential Revision: https://phab.mercurial-scm.org/D11402

Details

Committed
AlphareSep 10 2021, 6:09 PM
Differential Revision
D11402: rust-revset: support explicit `.` revision
Parents
rHGddde80830aea: rust-revset: add separate match logic for shortcuts
Branches
Unknown
Tags
Unknown