mercurial/commands.py
changeset 31589 7e3b145f8247
parent 31588 37a0ad669051
child 31670 adace35f931d
--- a/mercurial/commands.py	Tue Mar 21 21:26:52 2017 -0700
+++ b/mercurial/commands.py	Tue Mar 21 17:50:44 2017 -0700
@@ -4734,7 +4734,7 @@
     else:
         node1, node2 = scmutil.revpair(repo, revs)
 
-    if pats:
+    if pats or ui.configbool('commands', 'status.relative'):
         cwd = repo.getcwd()
     else:
         cwd = ''