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

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

[Monotone-commits-diffs] Revision 874a0018219cd7d9d59e35bf2aae4954fd79a0


From: monotone
Subject: [Monotone-commits-diffs] Revision 874a0018219cd7d9d59e35bf2aae4954fd79a0d6
Date: Wed, 16 Jan 2008 22:05:29 +0100

-----------------------------------------------------------------
Revision: 874a0018219cd7d9d59e35bf2aae4954fd79a0d6
Ancestor: df25d08659fd41204a130f25c6a5222460280f66
Author: address@hidden
Date: 2008-01-16T20:24:56
Branch: net.venge.monotone.experiment.encapsulation

Modified files:
        annotate.cc annotate.hh automate.cc cmd_files.cc cmd_list.cc
        cmd_merging.cc update.cc update.hh

ChangeLog: 

Getting rid of ambient project_t (1/n)

 * annotate.cc (annotate_context): Add database and project_t references
   to private data.  Constructor takes them as two arguments.
   (annotate_context::dump, annotate_context::build_revisions_to_annotations):
   Eliminate database argument; use the database and project in 'this'.
   (do_annotate): Take project as an additional argument.
 * annotate.hh: Update prototypes.
 * cmd_files.cc (annotate): Update call of do_annotate.

 * update.cc (get_test_results_for_revision, acceptable_descendent)
   (calculate_update_set, pick_update_candidates): Pass down the project_t
   separately from the database.  Avoid a little unnecessary work when
   --ignore-suspend-certs is true.
 * update.hh: Update prototypes.
 * cmd_merging.cc (update): Update call to pick_update_candidates.

 * automate.cc (packets_for_certs, branches, tags): Go back to using
   app.get_project instead of db.get_project.
 * cmd_list.cc (certs): Similarly.

Attachment: txt8NZFxVRgRa.txt
Description: Diff [df25d08659fd41204a130f25c6a5222460280f66] -> [874a0018219cd7d9d59e35bf2aae4954fd79a0d6]


reply via email to

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