equal
deleted
inserted
replaced
76 XXX This "state" is a bit obscure and mostly a direct expression of the |
76 XXX This "state" is a bit obscure and mostly a direct expression of the |
77 dirstatev1 format. It would make sense to ultimately deprecate it in |
77 dirstatev1 format. It would make sense to ultimately deprecate it in |
78 favor of the more "semantic" attributes. |
78 favor of the more "semantic" attributes. |
79 """ |
79 """ |
80 return self._state |
80 return self._state |
|
81 |
|
82 @property |
|
83 def merged(self): |
|
84 """True if the file has been merged |
|
85 |
|
86 Should only be set if a merge is in progress in the dirstate |
|
87 """ |
|
88 return self._state == b'm' |
81 |
89 |
82 def v1_state(self): |
90 def v1_state(self): |
83 """return a "state" suitable for v1 serialization""" |
91 """return a "state" suitable for v1 serialization""" |
84 return self._state |
92 return self._state |
85 |
93 |