379
406
"""Shortcut that splits cmd into words, runs, and returns stdout"""
380
407
return self.run_bzr_captured(cmd.split(), retcode=retcode)[0]
409
def run_bzr_captured(self, argv, retcode=0, encoding=None):
383
410
"""Invoke bzr and return (stdout, stderr).
385
412
Useful for code that wants to check the contents of the