The unified diff between revisions [89c06fb2..] and [e72f4c79..] is displayed below. It can also be downloaded as a raw diff.

#
#
# patch "ChangeLog"
#  from [18f91c619bcb31f36bea3975ee59db89506fb1f3]
#    to [ad6fd4f45864658c74465e6f96ba7325069ee676]
#
# patch "annotate.cc"
#  from [583bfb6d988073642e901dfa36d85c7c44c4ca37]
#    to [613ae82123687d6e26b088c8f769d4efe9abd3fa]
#
============================================================
--- ChangeLog	18f91c619bcb31f36bea3975ee59db89506fb1f3
+++ ChangeLog	ad6fd4f45864658c74465e6f96ba7325069ee676
@@ -1,14 +1,19 @@
+2005-09-03  Matthew Gregan  <kinetik@orcon.net.nz>
+
+	* annotate.cc (build_parent_lineage): Don't access uninitialized
+	memory--use resize() rather than reserve().
+
 2005-09-02  Matthew Gregan  <kinetik@orcon.net.nz>

 	* monotone.cc: Use consistent case in option descriptions.

 2005-09-02  Matt Johnston  <matt@ucc.asn.au>

-	* lua.cc (monotone_guess_binary_file_contents_for_lua): use a temporary
-	char* buffer rather than &string[], extra copying seems to have negligible
-	performance impact.
-
-	* tests/perf-test.sh: change path from tests/ to contrib/, make executable.
+	* lua.cc (monotone_guess_binary_file_contents_for_lua): use a
+	temporary char* buffer rather than &string[], extra copying seems
+	to have negligible performance impact.
+	* tests/perf-test.sh: change path from tests/ to contrib/, make
+	executable.
 	* tests/parse-accounting.pl: make executable.

 2005-09-01  Timothy Brownawell  <tbrownaw@gmail.com>
============================================================
--- annotate.cc	583bfb6d988073642e901dfa36d85c7c44c4ca37
+++ annotate.cc	613ae82123687d6e26b088c8f769d4efe9abd3fa
@@ -390,7 +390,7 @@ annotate_lineage_mapping::build_parent_l

   // do the copied lines thing for our annotate_context
   std::vector<long> lcs_src_lines;
-  lcs_src_lines.reserve(lcs.size());
+  lcs_src_lines.resize(lcs.size());
   size_t i, j;
   i = j = 0;
   while (i < file_interned.size() && j < lcs.size()) {