Show More
@@ -334,7 +334,7 b' class DirstateItem(object):' | |||
|
334 | 334 | raise RuntimeError('untracked item') |
|
335 | 335 | elif self.removed: |
|
336 | 336 | return b'r' |
|
337 |
elif self. |
|
|
337 | elif self._p1_tracked and self._p2_info: | |
|
338 | 338 | return b'm' |
|
339 | 339 | elif self.added: |
|
340 | 340 | return b'a' |
@@ -219,7 +219,10 b' impl DirstateEntry {' | |||
|
219 | 219 | } |
|
220 | 220 | if self.removed() { |
|
221 | 221 | EntryState::Removed |
|
222 |
} else if self |
|
|
222 | } else if self | |
|
223 | .flags | |
|
224 | .contains(Flags::WDIR_TRACKED | Flags::P1_TRACKED | Flags::P2_INFO) | |
|
225 | { | |
|
223 | 226 | EntryState::Merged |
|
224 | 227 | } else if self.added() { |
|
225 | 228 | EntryState::Added |
General Comments 0
You need to be logged in to leave comments.
Login now