[meld] Fix bzr invocation on repository subdirectories



commit 739189fc09ef135d937fd12b98f05042cdb45bfb
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Thu Apr 25 09:15:26 2013 +1000

    Fix bzr invocation on repository subdirectories

 meld/vc/bzr.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/bzr.py b/meld/vc/bzr.py
index 8350204..73b96f6 100644
--- a/meld/vc/bzr.py
+++ b/meld/vc/bzr.py
@@ -164,8 +164,9 @@ class Vc(_vc.CachedVc):
         args = [self.CMD, "cat", path]
         if commit:
             args.append("-r%s" % commit)
+
         process = subprocess.Popen(args,
-                                   cwd=self.location, stdout=subprocess.PIPE,
+                                   cwd=self.root, stdout=subprocess.PIPE,
                                    stderr=subprocess.PIPE)
         vc_file = process.stdout
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]