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: 97069aa29f2f14


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

revision:            97069aa29f2f14bfa563da01fdccd6b9f4a5db6f
date:                2011-04-13T22:12:45
author:              Richard Hopkins <address@hidden>
branch:              net.venge.monotone.colored-diff
changelog:
Fixed "segmentation fault" crash when running "mtn asciik"

This is related to the fix from d4b3cf9b667017fc7b9ce9fffe9b701e35f9acb3,
where the crash was an invariant failure masking the real problem. We apply
the same fix here.

manifest:
format_version "1"

new_manifest [e7965f039cb63ba52d73ac1be16afad2a094e724]

old_revision [c9db0d3f9113a5f4bb70001de76a68d035839c2d]

patch "src/asciik.cc"
 from [64600c9969226fa55cd05982364147342d3b734e]
   to [b50f26dd3b3c64c6aae99c529f28f46eb3c8ccd1]
============================================================
--- src/asciik.cc	64600c9969226fa55cd05982364147342d3b734e
+++ src/asciik.cc	b50f26dd3b3c64c6aae99c529f28f46eb3c8ccd1
@@ -390,7 +390,8 @@ CMD(asciik, "asciik", "", CMD_REF(debug)
   toposort(db, revs, sorted);
   reverse(sorted.begin(), sorted.end());
 
-  asciik graph(std::cout, colorizer(app.opts.colorize, app.lua), 10);
+  colorizer color(app.opts.colorize, app.lua);
+  asciik graph(std::cout, color, 10);
 
   for (vector<revision_id>::const_iterator rev = sorted.begin();
        rev != sorted.end(); ++rev)

reply via email to

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