[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 8a37e53f9232cb55f11d85ec2201387242881a
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 8a37e53f9232cb55f11d85ec2201387242881ac4 |
Date: |
Thu, 4 Jan 2007 04:04:35 +0100 |
-----------------------------------------------------------------
Revision: 8a37e53f9232cb55f11d85ec2201387242881ac4
Ancestor: b159dc62aa758bb187b7536ff2c2a364c2bf9fa3
Author: address@hidden
Date: 2007-01-04T02:15:13
Branch: net.venge.monotone.experiment.pcre.ignores
Deleted entries:
tests/automate_inventory/inventory_hooks.lua
tests/manifest_restrictions/ignored.lua
tests/mkdir/ignore_hook.lua
tests/restricted_commands_are_consistent/ignore.lua
tests/revert_ignored_files/ignore.lua
tests/revert_works_with_restrictions/ignore_hook.lua
tests/syntax_errors_in_.mtn-ignore/ignore.lua
Renamed entries:
tests/spawn_redirected_hook_helper/testhooks to
tests/spawn_redirected_hook_helper/testhooks.lua
tests/test_some_hook_helper_functions/testhooks to
tests/test_some_hook_helper_functions/testhooks.lua
Modified files:
ChangeLog annotate.cc cmd_ws_commit.cc lua_hooks.cc
lua_hooks.hh pcrewrap.cc pcrewrap.hh restrictions.cc
restrictions.hh std_hooks.lua
tests/addition_of_files_and_directories/__driver__.lua
tests/automate_inventory/__driver__.lua
tests/manifest_restrictions/__driver__.lua
tests/mkdir/__driver__.lua tests/mtn_add_dot/__driver__.lua
tests/restricted_commands_are_consistent/__driver__.lua
tests/revert_ignored_files/__driver__.lua
tests/revert_works_with_restrictions/__driver__.lua
tests/spawn_redirected_hook_helper/__driver__.lua
tests/spawn_redirected_hook_helper/testhooks.lua
tests/syntax_errors_in_.mtn-ignore/__driver__.lua
tests/syntax_errors_in_.mtn-ignore/stderr-ref
tests/test_hooks.lua
tests/test_some_hook_helper_functions/__driver__.lua
tests/test_some_hook_helper_functions/testhooks.lua
tests/things_in_.mtn-ignore_get_ignored/__driver__.lua
testsuite.lua work.cc
ChangeLog:
* annotate.cc: Add a #define to suppress boost.serialization
(which we do not use).
* pcrewrap.hh (basic_regex, regex): Don't disallow the default
copy constructor or operator=, so that these objects can be put
into STL containers.
* pcrewrap.cc (adjrefcount): New function to access a pcre_t's
internal reference count conveniently.
(regex): Bump the reference count in all constructors.
Add definitions of the copy constructor and operator=.
Call pcre_free in destructor only if refcount is zero after
decrement.
* restrictions.cc: Transplant all logic for ignoring files here.
(ignore_file): New export.
(validate_roster_paths, validate_workspace_paths): Use
ignore_file. Remove app_state argument. All callers changed.
* restrictions.hh: Declare ignore_file.
* lua_hooks.cc, lua_hooks.hh (hook_ignore_file): Delete.
* std_hooks.lua (dir_matches, ignore_file): Delete.
* tests/test_hooks.lua (ignore_file): Delete.
* testsuite.lua (mtn_setup): Provide a sane .mtn-ignore.
* work.cc: Use ignore_file not hook_ignore_file; remove lua_hooks
references everywhere they are no longer necessary.
* cmd_ws_commit.cc (CMD(mkdir)): Use ignore_file.
* tests/addition_of_files_and_directories, tests/automate_inventory
* tests/manifest_restrictions, tests/mkdir, tests/mtn_add_dot
* tests/restricted_commands_are_consistent
* tests/revert_ignored_files, tests/revert_works_with_restrictions
* tests/spawn_redirected_hook_helper
* tests/syntax_errors_in_.mtn-ignore
* tests/test_some_hook_helper_functions
* tests/things_in_.mtn-ignore_get_ignored:
Rejigger for ignore no longer being a hook.
txtSVufXwSTTX.txt
Description: Diff [b159dc62aa758bb187b7536ff2c2a364c2bf9fa3] -> [8a37e53f9232cb55f11d85ec2201387242881ac4]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 8a37e53f9232cb55f11d85ec2201387242881ac4,
monotone <=