revlog: move parsemeta() and packmeta() from filelog (API)
filelog.parsemeta() and filelog.packmeta() are used to decode and encode metadata for file copies and censor. An upcoming commit will move the core logic for censoring revlogs into revlog.py. This would create a cycle between revlog.py and filelog.py. So we move these metadata functions to revlog.py. .. api:: filelog.parsemeta() and filelog.packmeta() have been moved to the revlog module. Differential Revision: https://phab.mercurial-scm.org/D3150
Showing
- hgext/censor.py 1 addition, 2 deletionshgext/censor.py
- hgext/lfs/wrapper.py 3 additions, 4 deletionshgext/lfs/wrapper.py
- mercurial/filelog.py 3 additions, 23 deletionsmercurial/filelog.py
- mercurial/revlog.py 20 additions, 0 deletionsmercurial/revlog.py
- tests/simplestorerepo.py 2 additions, 3 deletionstests/simplestorerepo.py
Loading
Please register or sign in to comment