mercurial/cext/util.h
changeset 48221 a32a96079e2d
parent 48138 38488d488ec1
child 48232 f7fd629ffb98
equal deleted inserted replaced
48220:e7b5e8ba7cab 48221:a32a96079e2d
    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_meaningful_mtime = 1 << 4;
       
    39 static const unsigned char dirstate_flag_mode_exec_perm = 1 << 5;
       
    40 static const unsigned char dirstate_flag_mode_is_symlink = 1 << 6;
    39 
    41 
    40 extern PyTypeObject dirstateItemType;
    42 extern PyTypeObject dirstateItemType;
    41 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    43 #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateItemType)
    42 
    44 
    43 #ifndef MIN
    45 #ifndef MIN