monotone

monotone Mtn Change Log

Age Message
12 years 8 months fix some build breakage, restore an invariant that I think we actually want to preserve
Commit d301176a1577d44dd17eb840113e3f04044e7d12, by graydon@pobox.com
12 years 8 months propagate from branch 'net.venge.monotone' (head 18c56a27deed066b18d8f78ba313b39b696160a9)

to branch 'net.venge.monotone.cshore.attr-scan' (head d94d892abac36b4238a0cbabe3dd2705be1606e1)
Commit 1c9f8acea8e045d9751163120eebbf148039ade9, by graydon@pobox.com
12 years 9 months post-merge fixups
Commit d94d892abac36b4238a0cbabe3dd2705be1606e1, by graydon@pobox.com
12 years 9 months propagate from branch 'net.venge.monotone' (head 32a77295df807142fbac2a73c7f47bf1db9791df)

to branch 'net.venge.monotone.cshore.attr-scan' (head c02826d977e5626590967186d1cf4a3a87ba75a1)
Commit cc984050c77da2bf04f49c6c5b3ca6fbf3ffafe4, by graydon@pobox.com
12 years 9 months clobber work files in preparation for merge
Commit c02826d977e5626590967186d1cf4a3a87ba75a1, by graydon@pobox.com
12 years 9 months 2006-09-21 Daniel Dickinson <cshore@wightman.ca>

* Fixed example lua script to use name of temporary file as a
string and not the file handle when called execute_redirout.
Commit a5a0bd3fd01220ecdea7577892b71718618b4cf5, by cshore@wightman.ca
12 years 9 months 2006-09-21 Daniel Dickinson <cshore@wightman.ca>

* Fixed missing command in execute_redirected

* Fixed example lua script
Commit 241322b1e558ec2fbfe0acfe06eacf92b110d681, by cshore@wightman.ca
12 years 9 months 2006-09-21 Daniel Dickinson <cshore@wightman.ca>

* Fixed use of != instead of ~= in lua script
Commit b7d3d408742102531de0afe97066aaa68d4864d1, by cshore@wightman.ca
12 years 9 months 2006-09-21 Daniel Dickinson <cshore@wightman.ca>

* Changed example lua monotonerc to use execute_redirout
rather than the mtn-dosh helper script (which was slower and
less secure) to capture output of shell commands (which in
this case are used to find the filesystem attributes of the
files in the roster).

* Modifed example lua script to attempt to use the same
defaults as the shell the attribute value is nil (no
recorded value for a given attribute).

* Changed to using user and group names rather than numbers
(uid, gid) because the numbers are more likely to change
across systems.
Commit 7e4dad8a4537be9f200f0a202e6d3701228c4c13, by cshore@wightman.ca
12 years 10 months 2006-09-06 Daniel Dickinson <cshore@wightman.ca>

* Added execute_redirout by modifying spawn_redir as suggested
by Timothy Brownawell (that is, by changing spawn_redir to not
redirect streams for which no filename is specified), and a
lua hook in std_hook.lua
Commit 6afac5da194abd29eb1a4e18c61aa7b1e46aefd9, by cshore@wightman.ca
12 years 10 months 2006-09-06 Daniel Dickinson <cshore@wightman.ca>

* Fixed example lua script for getting attributes from
filesystem and setting attributes from roster

* Replaced calls to stat which return numeric userid with
calls that return the name (because this is more likely work
between systems, and to produce meaningfull errors if the
user or group recorded don't exist on the checkout machine.
Commit ede382cc69bf37d65804dac2da8f68a5240e6653, by cshore@wightman.ca
12 years 10 months 2006-09-06 Daniel Dickinson <cshore@wightman.ca>

* Removed duplicated paste of hook_list_init_functions and
hook_scan_attributes

* Added missing lua_hooks:: specifier to function defintions
of hook_list_init_functions and hook_scan_attributes

* Removed incorrect invariant test (set_attr is called with
a null attribute to clear an attribute

* Quieted progress output to just 'scanning for attributes'
and made the filenames and attributes being process log
messages.

* Removed extra bool, attr_value pair newval and modified code
to use getval (a bool, string pair).

* Uncapitalized progress and log messages
Commit b7b041fda110e290108c83f80d1a08d5016fd285, by cshore@wightman.ca
12 years 10 months Added attr scan command
Commit dd47eb854aaa68768cc5169ab09d885ed8a15bfe, by cshore@wightman.ca
12 years 10 months 2006-09-04 Daniel Dickinson <cshore@wightman.ca>

* Fixed missing std:: namespace on string parameters for
hook_scan_attribute
Commit 8576d6b66c42ea39201dc42927620327b978facc, by cshore@wightman.ca
12 years 10 months 2006-09-04 Daniel Dickinson <cshore@wightman.ca>

* Added hook_list_init_functions, which lists the attributes
for which an attr_init_functions["attribute"] function exists
(so we can perform operations for all the attributes which have
such a function).

* Add hook_scan_attribute which calls an attr_init_function for
a given attribute. A typical use would be to determine the
attributes on the filesystem, for a given file in the roster.
Commit d277220da7891e2734bed15f2330ca7c46fc06aa, by cshore@wightman.ca
12 years 10 months Added example attribute setting lua script and supporting shell script
Commit d1c8005e88797c49c883365c4f1170b319be218a, by cshore@wightman.ca
12 years 10 months 2006-09-04 Daniel Dickinson <cshore@wightman.ca>

* Corrected reversed true/false for is_unset in
hook_apply_attribute called from various workspace commands
Commit 4a443a9c3b8beab65385d4ab521004d7549f024f, by cshore@wightman.ca
12 years 10 months 2006-09-04 Daniel Dickinson <cshore@wightman.ca>

* Added missing check for node's inclusion in the restriction
set in update_any_attrs
Commit ac1779c5153c223a0b942024822ec79167178fd0, by cshore@wightman.ca
12 years 10 months Corrected missing paranthesis on progress message for update_any_attrs
Commit 1ffa47af84d621e07f19bbadd71af7ffd8034c85, by cshore@wightman.ca
12 years 10 months 2006-09-03 Daniel Dickinson <cshore@wightman.ca>

* Changed to progress message indicate attributes being updated
but not for every file; files being updated are logged
Commit 8a0b3211f31f2d7f96c275274ecee56a36fbef01, by cshore@wightman.ca
12 years 10 months 2006-09-03 Daniel Dickinson <cshore@wightman.ca>

* Fixed hook_apply_attributes calls for attr set and attr drop

* Replaced er.clear_attr with call to hook_apply_attributes and
shared setting of attribute to cleared in attr drop attribute
Commit 28397e86a52cc02fc1fbe60d4915945b88b3fdc9, by cshore@wightman.ca
12 years 10 months Changed update_any_attrs progress message to a log message because it is

called frequently (e.g. on commit).
Commit a467a38356f13e6d29c58a5b650e2b861ef62c60, by cshore@wightman.ca
12 years 10 months 2006-09-03 Daniel Dickinson <cshore@wightman.ca>

* Corrected attr set and attr drop to use hook_apply_attr
rather than editable_roster.set_attr, which doesn't actually
change the attributes (that requires an
editable_working_tree while er inherits from editable_tree).

* Corrected parameter list of update_any_attrs in work.cc
include_paths is a const reference.
Commit a5bb8da92d0243301ce1e74687007fdb3b2d1b58, by cshore@wightman.ca
12 years 10 months 2006-09-01 Daniel Dickinson <cshore@wightman.ca>

* Fixed typos and logic errors in the changes to revert in the
previous commit.

* Fixed typo in update_any_attrs in the previous commit.
Commit 055506e1831c0fc2a2131da090c90a7d19c34c92, by cshore@wightman.ca
12 years 10 months Changed and eliminated calls to update_any_attrs so that only the files

affected by a given command have the attributes on the filesystem
updated, rather than updating all attributes on all workspace
commands. This was made possible in part by the adding of calls to
hook_apply_attribute in clear_attr and set_attr.

Revert also needed coded to detect if the attributes on the filesystem
differ from the attributes in the reverted roster.

attr set and attr drop were modified to use clear_attr and set_attr if
--execute was specified (as would call the lua hook apply_attribute)
and to only modify the roster otherwise.
Commit 8b674155e826c67a69de017e7cf64cb45b477de0, by cshore@wightman.ca

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status