602
634
"""Shortcut that splits cmd into words, runs, and returns stdout"""
603
635
return self.run_bzr_captured(cmd.split(), retcode=retcode)[0]
605
def run_bzr_captured(self, argv, retcode=0, stdin=None):
637
def run_bzr_captured(self, argv, retcode=0, encoding=None, stdin=None):
606
638
"""Invoke bzr and return (stdout, stderr).
608
640
Useful for code that wants to check the contents of the