[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] viewmtn fails because with command-specific options
From: |
Bruce Stephens |
Subject: |
[Monotone-devel] viewmtn fails because with command-specific options |
Date: |
Mon, 02 May 2005 20:23:58 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I think this is all that's necessary. (The line that modifies
self.base_command looks like it was a mistake anyway.)
--- monotone.py
+++ monotone.py
@@ -113,9 +113,9 @@
def ancestry(self, id, limit=0):
rv = []
entry = None
- command = self.base_command + " log " + pipes.quote(id)
- if limit > 0: self.base_command += " --depth=%d" % (limit)
- iterator = utility.iter_command(self.base_command + " log %s" %
(pipes.quote(id)))
+ base_command = self.base_command
+ if limit > 0: base_command += " --depth=%d" % (limit)
+ iterator = utility.iter_command(base_command + " log
--revision=%s" % (pipes.quote(id)))
for line in iterator:
if dash_re.match(line):
entry = {}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] viewmtn fails because with command-specific options,
Bruce Stephens <=