I ran the convert command to extract parts of one repository into a fresh one, passing --config convert.hg.saverev=1 which I hoped to be able to use for scripting purposes. ('hg --debug log' shows this info.) In particular, I want to go through a list of a few hundred changesets which may or may not have been imported into the new repository and select only the ones which were not. Given an original changeset ID, I tried checking 'hg log -k $orig' but this does not match. Would be useful to have a predicate such as 'converted($orig)'. Or, more generally, a predicate 'extra(convert_revision,$orig)' which could be used to query metadata from any extensions which use extra fields.
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:19 EDT --- This bug was previously known as _bug_ 2767 at http://mercurial.selenic.com/bts/issue2767 Bug Status was UNCONFIRMED but everconfirmed was true Setting status to CONFIRMED
The old tracker posted a message which does not seem to have gotten mirrored: Fixed by http://selenic.com/repo/hg/rev/de4b42daf396 Henrik Stuart <hg@hstuart.dk> revset: add function for matching extra data (issue2767) (please test the fix)
Successfully used new predicate to find a grafted changeset: hg log -r 'extra(source, b3bbbce083ac7aa763a4bcbf8ef2123f1681ccca)'