mercurial/cext/util.h
changeset 48232 f7fd629ffb98
parent 48221 a32a96079e2d
child 48250 1730b2fceaa1
equal deleted inserted replaced
48231:0524c1359bfc 48232:f7fd629ffb98
    33 
    33 
    34 static const unsigned char dirstate_flag_wc_tracked = 1;
    34 static const unsigned char dirstate_flag_wc_tracked = 1;
    35 static const unsigned char dirstate_flag_p1_tracked = 1 << 1;
    35 static const unsigned char dirstate_flag_p1_tracked = 1 << 1;
    36 static const unsigned char dirstate_flag_p2_info = 1 << 2;
    36 static const unsigned char dirstate_flag_p2_info = 1 << 2;
    37 static const unsigned char dirstate_flag_has_meaningful_data = 1 << 3;
    37 static const unsigned char dirstate_flag_has_meaningful_data = 1 << 3;
    38 static const unsigned char dirstate_flag_has_meaningful_mtime = 1 << 4;
    38 static const unsigned char dirstate_flag_has_file_mtime = 1 << 4;
    39 static const unsigned char dirstate_flag_mode_exec_perm = 1 << 5;
    39 static const unsigned char dirstate_flag_has_directory_mtime = 1 << 5;
    40 static const unsigned char dirstate_flag_mode_is_symlink = 1 << 6;
    40 static const unsigned char dirstate_flag_mode_exec_perm = 1 << 6;
       
    41 static const unsigned char dirstate_flag_mode_is_symlink = 1 << 7;
    41 
    42 
    42 extern PyTypeObject dirstateItemType;
    43 extern PyTypeObject dirstateItemType;
    43 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    44 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    44 
    45 
    45 #ifndef MIN
    46 #ifndef MIN