.hg-format-source
author Anton Shestakov <av6@dwimlabs.net>
Sun, 26 Jan 2020 20:52:25 +0700
branchstable
changeset 5248 fa20e48b7713
parent 4814 48b30ff742cb
permissions -rw-r--r--
uncommit: use repo.setparents() instead of repo.dirstate.setparents() setparents() was added to localrepository class in 2012, and now we finally have some differences between calling repo.setparents() vs repo.dirstate.setparents(): _quick_access_* things, introduced in hg 5.3. This patch fixes potential quick-access desync problems where repo[b'.'] would be different from repo.dirstate.p1().

{"pattern": "glob:hgext3rd/**/*.py", "tool": "byteify-strings"}