Show More
@@ -894,9 +894,9 b' class ui(object):' | |||||
894 | "cmdname.type" is recommended. For example, status issues |
|
894 | "cmdname.type" is recommended. For example, status issues | |
895 | a label of "status.modified" for modified files. |
|
895 | a label of "status.modified" for modified files. | |
896 | ''' |
|
896 | ''' | |
897 | if self._buffers and not opts.get('prompt', False): |
|
897 | if self._buffers and not opts.get(r'prompt', False): | |
898 | if self._bufferapplylabels: |
|
898 | if self._bufferapplylabels: | |
899 | label = opts.get('label', '') |
|
899 | label = opts.get(r'label', '') | |
900 | self._buffers[-1].extend(self.label(a, label) for a in args) |
|
900 | self._buffers[-1].extend(self.label(a, label) for a in args) | |
901 | else: |
|
901 | else: | |
902 | self._buffers[-1].extend(args) |
|
902 | self._buffers[-1].extend(args) | |
@@ -907,7 +907,7 b' class ui(object):' | |||||
907 | else: |
|
907 | else: | |
908 | msgs = args |
|
908 | msgs = args | |
909 | if self._colormode is not None: |
|
909 | if self._colormode is not None: | |
910 | label = opts.get('label', '') |
|
910 | label = opts.get(r'label', '') | |
911 | msgs = [self.label(a, label) for a in args] |
|
911 | msgs = [self.label(a, label) for a in args] | |
912 | self._write(*msgs, **opts) |
|
912 | self._write(*msgs, **opts) | |
913 |
|
913 | |||
@@ -935,7 +935,7 b' class ui(object):' | |||||
935 | else: |
|
935 | else: | |
936 | msgs = args |
|
936 | msgs = args | |
937 | if self._colormode is not None: |
|
937 | if self._colormode is not None: | |
938 | label = opts.get('label', '') |
|
938 | label = opts.get(r'label', '') | |
939 | msgs = [self.label(a, label) for a in args] |
|
939 | msgs = [self.label(a, label) for a in args] | |
940 | self._write_err(*msgs, **opts) |
|
940 | self._write_err(*msgs, **opts) | |
941 |
|
941 |
General Comments 0
You need to be logged in to leave comments.
Login now