Mercurial > hg
diff mercurial/mdiff.py @ 21661:2f52a16f2bee
pushkey: add an ``encode`` function
This function is just a shorthand for ``encoding.fromlocal``. It will help
hiding the encoding business from other code exchanging pushkey data over the
wire.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 29 May 2014 15:22:58 -0700 |
parents | 1e5b38a919dd |
children | 3fbef7ac26f0 |