Mercurial > public > mercurial-scm > hg
diff mercurial/cext/charencode.c @ 47948:83f0e93ec34b
dirstate-item: move the C implementation to the same logic
Now that we know were we are going, we can update the C implementation.
Differential Revision: https://phab.mercurial-scm.org/D11387
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 30 Aug 2021 21:18:29 +0200 |
parents | 84391ddf4c78 |
children | 92c430e7e37a |
line wrap: on
line diff
--- a/mercurial/cext/charencode.c Tue Aug 31 09:23:50 2021 +0200 +++ b/mercurial/cext/charencode.c Mon Aug 30 21:18:29 2021 +0200 @@ -264,7 +264,7 @@ } tuple = (dirstateItemObject *)v; - if (tuple->state != 'r') { + if (tuple->flags | dirstate_flag_wc_tracked) { PyObject *normed; if (table != NULL) { normed = _asciitransform(k, table,