# HG changeset patch # User Brett Cannon # Date 1427329149 14400 # Node ID 6d273d0a51aa24f9c837d67b656467f98f98786d # Parent 6ec4075191ce919dcebdbf6b9f4e11948462030c hglib: remove the user of str in hglib.context (issue5420) diff -r 6ec4075191ce -r 6d273d0a51aa hglib/context.py --- a/hglib/context.py Wed Mar 25 20:17:21 2015 -0400 +++ b/hglib/context.py Wed Mar 25 20:19:09 2015 -0400 @@ -215,7 +215,7 @@ def phase(self): """return the phase of the changeset (public, draft or secret)""" - return self._repo.phase(str(self._rev))[0][1] + return self._repo.phase(strtobytes(self._rev))[0][1] def children(self): """return contexts for each child changeset"""