mercurial/cext/util.h
changeset 48266 749946b6a641
parent 48264 bb240915f69f
child 48821 b0dd39b91e7a
--- a/mercurial/cext/util.h	Tue Oct 19 20:14:17 2021 +0200
+++ b/mercurial/cext/util.h	Wed Oct 20 00:21:41 2021 +0200
@@ -32,22 +32,22 @@
 } dirstateItemObject;
 /* clang-format on */
 
-static const int dirstate_flag_wc_tracked = 1;
+static const int dirstate_flag_wc_tracked = 1 << 0;
 static const int dirstate_flag_p1_tracked = 1 << 1;
 static const int dirstate_flag_p2_info = 1 << 2;
-static const int dirstate_flag_has_meaningful_data = 1 << 3;
-static const int dirstate_flag_has_mtime = 1 << 4;
-static const int dirstate_flag_directory = 1 << 5;
-static const int dirstate_flag_mode_exec_perm = 1 << 6;
-static const int dirstate_flag_mode_is_symlink = 1 << 7;
-static const int dirstate_flag_expected_state_is_modified = 1 << 8;
-static const int dirstate_flag_all_unknown_recorded = 1 << 9;
-static const int dirstate_flag_all_ignored_recorded = 1 << 10;
-static const int dirstate_flag_fallback_exec = 1 << 11;
-static const int dirstate_flag_has_fallback_exec = 1 << 12;
-static const int dirstate_flag_fallback_symlink = 1 << 13;
-static const int dirstate_flag_has_fallback_symlink = 1 << 14;
-static const int dirstate_flag_mtime_second_ambiguous = 1 << 15;
+static const int dirstate_flag_mode_exec_perm = 1 << 3;
+static const int dirstate_flag_mode_is_symlink = 1 << 4;
+static const int dirstate_flag_has_fallback_exec = 1 << 5;
+static const int dirstate_flag_fallback_exec = 1 << 6;
+static const int dirstate_flag_has_fallback_symlink = 1 << 7;
+static const int dirstate_flag_fallback_symlink = 1 << 8;
+static const int dirstate_flag_expected_state_is_modified = 1 << 9;
+static const int dirstate_flag_has_meaningful_data = 1 << 10;
+static const int dirstate_flag_has_mtime = 1 << 11;
+static const int dirstate_flag_mtime_second_ambiguous = 1 << 12;
+static const int dirstate_flag_directory = 1 << 13;
+static const int dirstate_flag_all_unknown_recorded = 1 << 14;
+static const int dirstate_flag_all_ignored_recorded = 1 << 15;
 
 extern PyTypeObject dirstateItemType;
 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)