Show More
@@ -162,7 +162,7 b' class DirstateItem(object):' | |||||
162 | is not expected to change, unlike the __init__ one. |
|
162 | is not expected to change, unlike the __init__ one. | |
163 | """ |
|
163 | """ | |
164 | if state == b'm': |
|
164 | if state == b'm': | |
165 | return cls.new_merged() |
|
165 | return cls(wc_tracked=True, p1_tracked=True, p2_info=True) | |
166 | elif state == b'a': |
|
166 | elif state == b'a': | |
167 | return cls.new_added() |
|
167 | return cls.new_added() | |
168 | elif state == b'r': |
|
168 | elif state == b'r': |
@@ -94,7 +94,13 b' impl DirstateEntry {' | |||||
94 | mode_size: None, |
|
94 | mode_size: None, | |
95 | mtime: None, |
|
95 | mtime: None, | |
96 | }, |
|
96 | }, | |
97 |
EntryState::Merged => Self |
|
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