monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone.colored-diff: 5c2df3578dc603


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.colored-diff: 5c2df3578dc603af9a7ee2f5a487e1bb220fb018
Date: Wed, 17 Aug 2011 11:42:44 +0200 (CEST)

revision:            5c2df3578dc603af9a7ee2f5a487e1bb220fb018
date:                2011-04-14T21:17:26
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone.colored-diff
changelog:
Start of "mtn status" using colorizer::output for display+colorizing

revision_header and revision_summary calls are now handled, however other
code such as handling a new branch being committed, or creating divergence
still output directly to cout by strings.

A new colorizer::output will probably have to be created taking a std::string
instead of just external.

manifest:
format_version "1"

new_manifest [b482257fc165c8443fab145775f714c618dcc69b]

old_revision [373ced57dcd94a78e29e755d6318b22732bca21c]

patch "src/cmd_ws_commit.cc"
 from [11fb8787d71d794012403d8f5b3aa1413d08f756]
   to [f8b592860057fff1de774c493dc5205569c9e6a4]
============================================================
--- src/cmd_ws_commit.cc	11fb8787d71d794012403d8f5b3aa1413d08f756
+++ src/cmd_ws_commit.cc	f8b592860057fff1de774c493dc5205569c9e6a4
@@ -978,7 +978,7 @@ CMD(status, "status", "", CMD_REF(inform
   utf8_to_system_best_effort(header, header_external);
   utf8_to_system_best_effort(summary, summary_external);
 
-  cout << header_external;
+  colorizer::output(cout, header_external);
 
   if (!old_branches.empty() &&
       old_branches.find(app.opts.branch) == old_branches.end())
@@ -1022,7 +1022,7 @@ CMD(status, "status", "", CMD_REF(inform
         }
     }
 
-  cout << summary_external;
+  colorizer::output(cout, summary_external);
 }
 
 static void

reply via email to

[Prev in Thread] Current Thread [Next in Thread]