view hgext3rd/__init__.py @ 47051:de26b9a7ec29 stable

git: consistently use str for parents when rebuilding the index database The tests show no changes, but when these values are overwritten shortly after when a git commit object is available, that uses str. It seems better to use that for consistency. It does materially affect the database though, because the old value stored was `X'3030..3030'` and is now '00..00' when the changelog table is dumped in sqlite3. There is one query that specifies the parents, but it passes the non null hashes as str, so it worked as expected. That likely explains the lack of test changes. Differential Revision: https://phab.mercurial-scm.org/D10527
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 27 Apr 2021 18:39:59 -0400
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line source

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)