From: Aaron Bentley Date: Thu, 23 Mar 2006 16:27:05 +0000 (-0500) Subject: Fix be diff with bzr X-Git-Tag: 1.0.0~216 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a96d11f9db6fb4f54bf95b353a531ecf82a84381;p=be.git Fix be diff with bzr --- diff --git a/libbe/bzr.py b/libbe/bzr.py index eb3d17f..045395d 100644 --- a/libbe/bzr.py +++ b/libbe/bzr.py @@ -53,7 +53,7 @@ def set_file_contents(path, contents): def lookup_revision(revno, directory): return invoke_client("lookup-revision", str(revno), - directory=directory).rstrip('\n')[1] + directory=directory)[1].rstrip('\n') def export(revno, directory, revision_dir): invoke_client("export", "-r", str(revno), revision_dir, directory=directory) @@ -70,7 +70,7 @@ def find_or_make_export(revno, directory): return revision_dir def bzr_root(path): - return invoke_client("root", path, dirctory=None).rstrip('\r')[1] + return invoke_client("root", path, directory=None)[1].rstrip('\r') def path_in_reference(bug_dir, spec): if spec is None: