aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bzr.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-03-23 11:27:05 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2006-03-23 11:27:05 -0500
commita96d11f9db6fb4f54bf95b353a531ecf82a84381 (patch)
treee67bfd817753b206b4d6690650c2ac0f2174d98b /libbe/bzr.py
parentc6c7cb44315bb810087f99c1f306ee4f686b4a48 (diff)
downloadbugseverywhere-a96d11f9db6fb4f54bf95b353a531ecf82a84381.tar.gz
Fix be diff with bzr
Diffstat (limited to 'libbe/bzr.py')
-rw-r--r--libbe/bzr.py4
1 files 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: