# HG changeset patch # User Augie Fackler # Date 1599508016 14400 # Node ID 66a10bd1b8db7aeaf81eb35229b51ef02751c698 # Parent 8ddbb75bad09816780b2781d61fc68bac3665415 git: restore basic functionality after b3040b6739ce We don't yet have a formal interface for the changelog, but it's mostly specified. Sadly, b3040b6739ce added a semi-private pseudo-enum that we need to cope with, so it's probably high time that someone (me?) attempts to define that interface to prevent future backsliding. Differential Revision: https://phab.mercurial-scm.org/D8992 diff -r 8ddbb75bad09 -r 66a10bd1b8db hgext/git/gitlog.py --- a/hgext/git/gitlog.py Mon Sep 07 15:31:34 2020 -0400 +++ b/hgext/git/gitlog.py Mon Sep 07 15:46:56 2020 -0400 @@ -96,6 +96,10 @@ # TODO: an interface for the changelog type? class changelog(baselog): + # TODO: this appears to be an enumerated type, and should probably + # be part of the public changelog interface + _copiesstorage = b'extra' + def __contains__(self, rev): try: self.node(rev)