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

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

[Monotone-commits-diffs] Revision 64543e5d596250c183f6acdd8442e941926cfe


From: monotone
Subject: [Monotone-commits-diffs] Revision 64543e5d596250c183f6acdd8442e941926cfe82
Date: Tue, 15 Jan 2008 00:05:30 +0100

-----------------------------------------------------------------
Revision: 64543e5d596250c183f6acdd8442e941926cfe82
Ancestor: f21e8ccb9079bad5898964b5af9485a591d35b51
Author: address@hidden
Date: 2008-01-14T16:29:56
Branch: net.venge.monotone.experiment.encapsulation

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: 

Partial pluck of revisions f749dfb46c1b854765803eacd37fed508e6d99ff and
0d75b4fa258a0139064ceabf2ee7249fd0828549 from the nvm.new-ignore branch.

* work.cc (workspace::ignore_file, workspace::init_attributes): New methods.
(file_itemizer, addition_builder): Swap out the lua_hooks member for a
reference to the workspace object; use the above new methods instead of calling
the hooks directly.  Adjust all constructor calls.
* work.hh (workspace): Declare new methods.  Add some boolean fields for
workspace::ignore_file's use.
* automate.cc, cmd_ws_commit.cc, restrictions.cc:
Change all calls to lua.hook_ignore_file to use work.ignore_file instead.

* restrictions.cc (validate_roster_paths, validate_workspace_paths):
Take a workspace argument, not an app_state.
(node_restriction constructors, path_restriction constructors): Similarly.
(all unit tests): Adjust to match.
restrictions.hh: Forward-declare workspace, not app_state.  Adjust declarations.
* automate.cc (inventory_itemizer): Remove unnecessary app_state
variable member.  Change constructor to take a workspace argument.
(inventory_filesystem, inventory_print_states): 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: txtZqgVugXS1f.txt
Description: Diff [f21e8ccb9079bad5898964b5af9485a591d35b51] -> [64543e5d596250c183f6acdd8442e941926cfe82]


reply via email to

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