##// END OF EJS Templates
dirstate-item: replace call to new_merged...
marmoute -
r48966:7a8c9869 default
parent child Browse files
Show More
@@ -162,7 +162,7 b' class DirstateItem(object):'
162 162 is not expected to change, unlike the __init__ one.
163 163 """
164 164 if state == b'm':
165 return cls.new_merged()
165 return cls(wc_tracked=True, p1_tracked=True, p2_info=True)
166 166 elif state == b'a':
167 167 return cls.new_added()
168 168 elif state == b'r':
@@ -94,7 +94,13 b' impl DirstateEntry {'
94 94 mode_size: None,
95 95 mtime: None,
96 96 },
97 EntryState::Merged => Self::new_merged(),
97 EntryState::Merged => Self {
98 flags: Flags::WDIR_TRACKED
99 | Flags::P1_TRACKED // might not be true because of rename ?
100 | Flags::P2_INFO, // might not be true because of rename ?
101 mode_size: None,
102 mtime: None,
103 },
98 104 }
99 105 }
100 106
General Comments 0
You need to be logged in to leave comments. Login now