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

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

[Monotone-commits-diffs] Revision 0d75b4fa258a0139064ceabf2ee7249fd08285


From: monotone
Subject: [Monotone-commits-diffs] Revision 0d75b4fa258a0139064ceabf2ee7249fd0828549
Date: Sat, 27 Oct 2007 07:05:34 +0200

-----------------------------------------------------------------
Revision: 0d75b4fa258a0139064ceabf2ee7249fd0828549
Ancestor: f749dfb46c1b854765803eacd37fed508e6d99ff
Author: address@hidden
Date: 2007-10-26T01:19:35
Branch: net.venge.monotone.new-ignore

Modified files:
        automate.cc cmd_diff_log.cc cmd_list.cc cmd_merging.cc
        cmd_ws_commit.cc restrictions.cc restrictions.hh work.cc
        work.hh

ChangeLog: 

More interface tweakage:
* restrictions.cc: Include work.hh and file_io.hh; not app_state.hh.
(validate_roster_paths, validate_workspace_paths): Take a workspace argument,
not an app_state.
(node_restriction constructors, path_restriction constructors): Similarly.
(all unit tests): Create a dummy workspace object, not a dummy app_state object.
restrictions.hh: Forward-declare workspace, not app_state.  Adjust declarations.
* work.hh: Add a default constructor under #ifdef BUILD_UNIT_TESTS.  Change
db and lua member variables to pointers.
* work.cc: Adjust all use of db and lua member variables.  For consistency,
make file_itemizer and addition_builder use pointers to database and workspace
too.
* automate.cc (inventory_itemizer): Remove unnecessary app_state
variable member.  Change constructor to take a workspace argument.
(inventory_filesystem): Similarly.
(automate inventory): Update node_restriction and path_restriction
constructor calls and use of inventory_filesystem.
* cmd_diff_log.cc, cmd_list.cc, cmd_merging.cc, cmd_ws_commit.cc
Update node_restriction and path_restriction constructor calls.

Attachment: txtmtyu3eYPGb.txt
Description: Diff [f749dfb46c1b854765803eacd37fed508e6d99ff] -> [0d75b4fa258a0139064ceabf2ee7249fd0828549]


reply via email to

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