comparison hgext/mq.py @ 45482:9a99ab8217bd

scmutil: introduce filterrequirements() to split reqs into wc and store ones In upcoming patches where we try to implement requirements in store, we will need a mechanism to split all requirements on some basis and decide which one goes to `.hg/requires` and which one goes to `.hg/store/requires`. This patch introduce a separate function for that. Filtering logic for now is put under an `if False:`. In upcoming patches it will be removed. Differential Revision: https://phab.mercurial-scm.org/D8913
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 07 Aug 2020 16:11:19 +0530
parents 8c466bcb0879
children d7a508a75d72
comparison
equal deleted inserted replaced
45481:bddc4f2ef317 45482:9a99ab8217bd