From a96d11f9db6fb4f54bf95b353a531ecf82a84381 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Thu, 23 Mar 2006 11:27:05 -0500 Subject: [PATCH] Fix be diff with bzr --- libbe/bzr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2