D152: repo: skip invalidation of changelog if it has 'delayed' changes (API)

quark (Jun Wu) phabricator at mercurial-scm.org
Tue Jul 25 12:40:49 EDT 2017


quark accepted this revision.
quark added a comment.


  I think this is fine as a workaround now. It's better than losing data.

INLINE COMMENTS

> test-context.py:185
> +    with open('4', 'wb') as f:
> +        f.write(i)
> +    repo.dirstate.normal('4')

Seems like `f.write(b'4')` is better.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D152

To: martinvonz, #hg-reviewers, quark
Cc: quark, mercurial-devel


More information about the Mercurial-devel mailing list