aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/hg.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbe/hg.py b/libbe/hg.py
index a2428fd..35de8e0 100644
--- a/libbe/hg.py
+++ b/libbe/hg.py
@@ -47,7 +47,8 @@ def lookup_revision(revno, directory):
directory=directory)[1].rstrip('\n')
def export(revno, directory, revision_dir):
- invoke_client("archive", "--rev", str(revno), revision_dir, directory=directory)
+ invoke_client("archive", "--rev", str(revno), revision_dir,
+ directory=directory)
def find_or_make_export(revno, directory):
revision_id = lookup_revision(revno, directory)
@@ -65,7 +66,8 @@ def hg_root(path):
def path_in_reference(bug_dir, spec):
if spec is None:
- spec = int(invoke_client('tip', '--template="{rev}"', directory=bug_dir)[1])
+ spec = int(invoke_client('tip', '--template="{rev}"',
+ directory=bug_dir)[1])
rel_bug_dir = bug_dir[len(hg_root(bug_dir)):]
export_root = find_or_make_export(spec, directory=bug_dir)
return os.path.join(export_root, rel_bug_dir)