( )⚙ D10526 git: pass the correct type to the sqlite3 query for baselog.hasnode()

This is an archive of the discontinued Mercurial Phabricator instance.

git: pass the correct type to the sqlite3 query for baselog.hasnode()
ClosedPublic

Authored by mharbison72 on Apr 27 2021, 7:53 PM.

Details

Summary

It looks like this function is mostly used in exchange (which isn't supported
now) and histedit (which crashes). But I did verify in a REPL that passing
bytes to db.execute() fails to find the row, whereas passing str works.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage