Mercurial > hg
comparison mercurial/commands.py @ 36703:7dc1a21d57cc
py3: use bytes instead of str to make sure we use bytes internally
Differential Revision: https://phab.mercurial-scm.org/D2650
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 04 Mar 2018 05:53:59 +0530 |
parents | c6061cadb400 |
children | 390d16ea7c76 |
comparison
equal
deleted
inserted
replaced
36702:f659a407e5ee | 36703:7dc1a21d57cc |
---|---|
3780 | 3780 |
3781 fm = ui.formatter('paths', opts) | 3781 fm = ui.formatter('paths', opts) |
3782 if fm.isplain(): | 3782 if fm.isplain(): |
3783 hidepassword = util.hidepassword | 3783 hidepassword = util.hidepassword |
3784 else: | 3784 else: |
3785 hidepassword = str | 3785 hidepassword = bytes |
3786 if ui.quiet: | 3786 if ui.quiet: |
3787 namefmt = '%s\n' | 3787 namefmt = '%s\n' |
3788 else: | 3788 else: |
3789 namefmt = '%s = ' | 3789 namefmt = '%s = ' |
3790 showsubopts = not search and not ui.quiet | 3790 showsubopts = not search and not ui.quiet |