Show More
@@ -162,7 +162,7 b' class DirstateItem(object):' | |||
|
162 | 162 | return cls(p1_tracked=p1_tracked, p2_info=p2_info) |
|
163 | 163 | elif state == b'n': |
|
164 | 164 | if size == FROM_P2: |
|
165 |
return cls |
|
|
165 | return cls(wc_tracked=True, p2_info=True) | |
|
166 | 166 | elif size == NONNORMAL: |
|
167 | 167 | return cls.new_possibly_dirty() |
|
168 | 168 | elif mtime == AMBIGUOUS_TIME: |
@@ -68,7 +68,12 b' impl DirstateEntry {' | |||
|
68 | 68 | match state { |
|
69 | 69 | EntryState::Normal => { |
|
70 | 70 | if size == SIZE_FROM_OTHER_PARENT { |
|
71 |
Self |
|
|
71 | Self { | |
|
72 | // might be missing P1_TRACKED | |
|
73 | flags: Flags::WDIR_TRACKED | Flags::P2_INFO, | |
|
74 | mode_size: None, | |
|
75 | mtime: None, | |
|
76 | } | |
|
72 | 77 | } else if size == SIZE_NON_NORMAL { |
|
73 | 78 | Self::new_possibly_dirty() |
|
74 | 79 | } else if mtime == MTIME_UNSET { |
General Comments 0
You need to be logged in to leave comments.
Login now