changeset 30634 | ad15646dc61c |
parent 30583 | 8f8211903b83 |
child 31052 | 0332b8fafd05 |
--- a/mercurial/bookmarks.py Tue Dec 20 20:28:41 2016 -0800 +++ b/mercurial/bookmarks.py Sun Dec 18 01:34:41 2016 +0530 @@ -8,7 +8,6 @@ from __future__ import absolute_import import errno -import os from .i18n import _ from .node import ( @@ -31,7 +30,7 @@ may need to tweak this behavior further. """ bkfile = None - if 'HG_PENDING' in os.environ: + if 'HG_PENDING' in encoding.environ: try: bkfile = repo.vfs('bookmarks.pending') except IOError as inst: