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