Show More
@@ -287,6 +287,13 b' class HgRemote(object):' | |||||
287 | return [parent.rev() for parent in ctx.parents()] |
|
287 | return [parent.rev() for parent in ctx.parents()] | |
288 |
|
288 | |||
289 | @reraise_safe_exceptions |
|
289 | @reraise_safe_exceptions | |
|
290 | def ctx_phase(self, wire, revision): | |||
|
291 | repo = self._factory.repo(wire) | |||
|
292 | ctx = repo[revision] | |||
|
293 | # public=0, draft=1, secret=3 | |||
|
294 | return ctx.phase() | |||
|
295 | ||||
|
296 | @reraise_safe_exceptions | |||
290 | def ctx_substate(self, wire, revision): |
|
297 | def ctx_substate(self, wire, revision): | |
291 | repo = self._factory.repo(wire) |
|
298 | repo = self._factory.repo(wire) | |
292 | ctx = repo[revision] |
|
299 | ctx = repo[revision] |
General Comments 0
You need to be logged in to leave comments.
Login now