comparison 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
comparison
equal deleted inserted replaced
47947:154e4dcac68c 47948:83f0e93ec34b
262 "expected a dirstate tuple"); 262 "expected a dirstate tuple");
263 goto quit; 263 goto quit;
264 } 264 }
265 265
266 tuple = (dirstateItemObject *)v; 266 tuple = (dirstateItemObject *)v;
267 if (tuple->state != 'r') { 267 if (tuple->flags | dirstate_flag_wc_tracked) {
268 PyObject *normed; 268 PyObject *normed;
269 if (table != NULL) { 269 if (table != NULL) {
270 normed = _asciitransform(k, table, 270 normed = _asciitransform(k, table,
271 normcase_fallback); 271 normcase_fallback);
272 } else { 272 } else {