[Updated] D11402: rust-revset: support explicit `.` revision

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Sep 30 23:33:37 UTC 2021


martinvonz added inline comments.

INLINE COMMENTS

> revset.rs:25
> +            let p1 = repo.dirstate_parents()?.p1;
> +            return Ok(changelog.revlog.get_node_rev(p1.into())?);
> +        }

I've changed this to `rev_for_node` to account for D11415 <https://phab.mercurial-scm.org/D11415> getting queued since you sent this.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11402/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11402

To: Alphare, #hg-reviewers, SimonSapin
Cc: martinvonz, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210930/2ae5aa3c/attachment-0002.html>


More information about the Mercurial-patches mailing list