[meld/VersionControlRework: 107/123] vcview: Don't yield the command message, as it's never displayed



commit d7d92b513d3840db222bddaa1d717a6e58054ede
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Apr 18 08:24:05 2015 +1000

    vcview: Don't yield the command message, as it's never displayed
    
    This used to be displayed in the status bar, but progress indication
    is now generic in the toolbar spinner.

 meld/vcview.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index c09c772..51f5990 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -573,8 +573,6 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
                 return '"%s"' % s if len(s.split()) > 1 else s
             return " ".join(quote(tok) for tok in command)
 
-        msg = shelljoin(command)
-        yield "[%s] %s" % (self.label_text, msg.replace("\n", "\t"))
         def relpath(pbase, p):
             kill = 0
             if len(pbase) and p.startswith(pbase):
@@ -583,7 +581,8 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
         workdir = self.vc.get_working_directory(working_dir)
         files = [relpath(workdir, f) for f in files]
         r = None
-        self.consolestream.command(shelljoin(command + files) + " (in %s)\n" % workdir)
+        msg = shelljoin(command + files) + " (in %s)\n" % workdir
+        self.consolestream.command(msg)
         readiter = misc.read_pipe_iter(command + files, self.consolestream,
                                        workdir=workdir)
         try:


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