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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.