--- a/mercurial/scmutil.py Tue Jul 11 08:52:55 2017 -0700
+++ b/mercurial/scmutil.py Fri Jul 14 14:22:40 2017 -0700
@@ -282,7 +282,7 @@
def checkportabilityalert(ui):
'''check if the user's config requests nothing, a warning, or abort for
non-portable filenames'''
- val = ui.config('ui', 'portablefilenames', 'warn')
+ val = ui.config('ui', 'portablefilenames')
lval = val.lower()
bval = util.parsebool(val)
abort = pycompat.osname == 'nt' or lval == 'abort'
@@ -553,7 +553,7 @@
Fetch user defined path from config file: [ui] origbackuppath = <path>
Fall back to default (filepath) if not specified
'''
- origbackuppath = ui.config('ui', 'origbackuppath', None)
+ origbackuppath = ui.config('ui', 'origbackuppath')
if origbackuppath is None:
return filepath + ".orig"