diff hgext/schemes.py @ 37106:3d3cff1f6bde

histedit: make histedit's commands accept revsets (issue5746) Earlier the code was only looking for rulehashes and neglecting all other revision identifiers, this code intercepts the fromrule function and calls scmutil.revsingle() on anything that is not a rulehash and then obtains the rulehash from the changectx object returned, rest of the pipeline follows as it was Differential Revision: https://phab.mercurial-scm.org/D2394
author Sangeet Kumar Mishra <mail2sangeetmishra@gmail.com>
date Fri, 23 Feb 2018 11:48:58 +0530
parents e77cee5de1c7
children 0664be4f0c1f
line wrap: on
line diff