Mercurial > hg
diff hgext/shelve.py @ 30301:8321b083a83d
py3: make util.datapath a bytes variable
In this patch we make util.datapath a bytes variable, but we have to pass a
unicode to gettext.translation otherwise it will cry. Used pycompat.fsdecode()
to decode it back to unicode as it was converted to bytes using
pycompat.fsencode().
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 06 Nov 2016 12:18:23 +0900 |
parents | d5883fd055c6 |
children | c5126aab9c37 819f96b82fa4 |