meld r1238 - trunk/vc
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1238 - trunk/vc
- Date: Mon, 9 Mar 2009 20:10:07 +0000 (UTC)
Author: vincele
Date: Mon Mar 9 20:10:06 2009
New Revision: 1238
URL: http://svn.gnome.org/viewvc/meld?rev=1238&view=rev
Log:
Use self.CMD instead of hardcoding 'bzr'
Modified:
trunk/vc/bzr.py
Modified: trunk/vc/bzr.py
==============================================================================
--- trunk/vc/bzr.py (original)
+++ trunk/vc/bzr.py Mon Mar 9 20:10:06 2009
@@ -58,10 +58,10 @@
self._tree_cache = None
def lookup_tree(self, rootdir):
- branch_root = os.popen("bzr root %s" % rootdir).read().rstrip('\n')
+ branch_root = os.popen("%s root %s" % (self.CMD, rootdir)).read().rstrip('\n')
while 1:
try:
- proc = os.popen("bzr status %s" % branch_root)
+ proc = os.popen("%s status %s" % (self.CMD, branch_root))
entries = proc.read().split("\n")[:-1]
break
except OSError, e:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]