##// END OF EJS Templates
pager: skip uisetup if chg is detected...
Jun Wu -
r28554:fa343854 default
parent child Browse files
Show More
@@ -117,6 +117,11 b' def uisetup(ui):'
117 if '--debugger' in sys.argv or not ui.formatted():
117 if '--debugger' in sys.argv or not ui.formatted():
118 return
118 return
119
119
120 # chg has its own pager implementation
121 argv = sys.argv[:]
122 if 'chgunix' in dispatch._earlygetopt(['--cmdserver'], argv):
123 return
124
120 def pagecmd(orig, ui, options, cmd, cmdfunc):
125 def pagecmd(orig, ui, options, cmd, cmdfunc):
121 p = ui.config("pager", "pager", os.environ.get("PAGER"))
126 p = ui.config("pager", "pager", os.environ.get("PAGER"))
122 usepager = False
127 usepager = False
General Comments 0
You need to be logged in to leave comments. Login now