Mercurial > hg
view tests/narrow-library.sh @ 44946:fb2936c5f6dc
git: decode node IDs back into Python strings (issue6349)
db.text_factory = bytes, so the database contains only strings. The object IDs
we get from pygit2 are Python strings. b'foo' != 'foo'
This change allows the "don't reindex" optimization to work by allowing the
"cur_cache_heads == cache_heads" comparison a few lines down to succeed.
Differential Revision: https://phab.mercurial-scm.org/D8622
author | Hollis Blanchard <hollis_blanchard@mentor.com> |
---|---|
date | Tue, 09 Jun 2020 13:18:21 -0700 |
parents | bcf70058af90 |
children | d72378f93a44 |
line wrap: on
line source
cat >> $HGRCPATH <<EOF [extensions] narrow= [ui] ssh=python "$RUNTESTDIR/dummyssh" [experimental] changegroup3 = True EOF