Show More
@@ -1213,14 +1213,14 class ui(object): | |||
|
1213 | 1213 | This adds an output label of "ui.status". |
|
1214 | 1214 | ''' |
|
1215 | 1215 | if not self.quiet: |
|
1216 | opts['label'] = opts.get('label', '') + ' ui.status' | |
|
1216 | opts[r'label'] = opts.get(r'label', '') + ' ui.status' | |
|
1217 | 1217 | self.write(*msg, **opts) |
|
1218 | 1218 | def warn(self, *msg, **opts): |
|
1219 | 1219 | '''write warning message to output (stderr) |
|
1220 | 1220 | |
|
1221 | 1221 | This adds an output label of "ui.warning". |
|
1222 | 1222 | ''' |
|
1223 | opts['label'] = opts.get('label', '') + ' ui.warning' | |
|
1223 | opts[r'label'] = opts.get(r'label', '') + ' ui.warning' | |
|
1224 | 1224 | self.write_err(*msg, **opts) |
|
1225 | 1225 | def note(self, *msg, **opts): |
|
1226 | 1226 | '''write note to output (if ui.verbose is True) |
@@ -1228,7 +1228,7 class ui(object): | |||
|
1228 | 1228 | This adds an output label of "ui.note". |
|
1229 | 1229 | ''' |
|
1230 | 1230 | if self.verbose: |
|
1231 | opts['label'] = opts.get('label', '') + ' ui.note' | |
|
1231 | opts[r'label'] = opts.get(r'label', '') + ' ui.note' | |
|
1232 | 1232 | self.write(*msg, **opts) |
|
1233 | 1233 | def debug(self, *msg, **opts): |
|
1234 | 1234 | '''write debug message to output (if ui.debugflag is True) |
@@ -1236,7 +1236,7 class ui(object): | |||
|
1236 | 1236 | This adds an output label of "ui.debug". |
|
1237 | 1237 | ''' |
|
1238 | 1238 | if self.debugflag: |
|
1239 | opts['label'] = opts.get('label', '') + ' ui.debug' | |
|
1239 | opts[r'label'] = opts.get(r'label', '') + ' ui.debug' | |
|
1240 | 1240 | self.write(*msg, **opts) |
|
1241 | 1241 | |
|
1242 | 1242 | def edit(self, text, user, extra=None, editform=None, pending=None, |
General Comments 0
You need to be logged in to leave comments.
Login now