equal
deleted
inserted
replaced
2770 If you wish to inject custom tests into the test harness, this would |
2770 If you wish to inject custom tests into the test harness, this would |
2771 be a good function to monkeypatch or override in a derived class. |
2771 be a good function to monkeypatch or override in a derived class. |
2772 """ |
2772 """ |
2773 if not args: |
2773 if not args: |
2774 if self.options.changed: |
2774 if self.options.changed: |
2775 proc = Popen4('hg st --rev "%s" -man0 .' % |
2775 proc = Popen4(b'hg st --rev "%s" -man0 .' % |
2776 self.options.changed, None, 0) |
2776 _bytespath(self.options.changed), None, 0) |
2777 stdout, stderr = proc.communicate() |
2777 stdout, stderr = proc.communicate() |
2778 args = stdout.strip(b'\0').split(b'\0') |
2778 args = stdout.strip(b'\0').split(b'\0') |
2779 else: |
2779 else: |
2780 args = os.listdir(b'.') |
2780 args = os.listdir(b'.') |
2781 |
2781 |