Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 00:48:56 +0100] rev 44
Exclude tag cmd from pretxcommit hook; exclude .hg files
Return unchanged data in superclass read() after every if clause.
Perhaps a bit more readable.
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 17:41:46 +0100] rev 43
Added tag cvs_scheme for changeset ba000e29ecf3
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 17:41:19 +0100] rev 42
Implement near CVS compability with more than one keyword
Keywords are set as local vars in kwexpand() and then eval'd.
TODO: (sticky) tag?
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 14:54:38 +0100] rev 41
Make patterns stricter again, to avoid unvolontary expansions
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 10:37:06 +0100] rev 40
Rename "text" to "data" always as set before call to util.binary()
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 17:22:26 +0100] rev 39
Reflect new scheme in function docstring
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 16:02:27 +0100] rev 38
Remove all hgkwencode, kwexpander.py and updatekw.py
This scheme should work just with:
extension keyword.py
pretxncommit-hook pretxnkw.pretxnkw
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 15:57:03 +0100] rev 37
Standalone version for keyword.py
Check "expand" patterns in the [keyword] config section.
Removed keyword in file itself to simplify patterns.
Revert (again) to basename.
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 15:41:45 +0100] rev 36
Change config opt "expand" to accept filename patterns
Not nice yet; but passes tests together with pretxnkw.
TODO:
Find out what filelog.add() does exactly.
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 10:00:28 +0100] rev 35
Interim test version in connection with keyword.py
Simplify grep pattern.
Outcomment filename lookup, will be changed to configitems('keywords').
Update stuff will be removed.
And the whole thing will go into pretxncommit.
kwupdate.py will be removed.
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 09:56:41 +0100] rev 34
Make keyword do my hgkeyword; use basename again
add() needs only str.replace().
TODO:
Make even more compatible with cvs' $Id$? (date UTC, slashes)
Check config before reading.
And!:
Use config file patterns, in cooperation with pretxnkw.
This will expand keywords alread on commit!
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 09:39:03 +0100] rev 33
Add original keyword extension by Thomas Arendsen Hain
Christian Ebert <blacktrash@gmx.net> [Mon, 18 Dec 2006 12:10:05 +0100] rev 32
Update function descriptions
Christian Ebert <blacktrash@gmx.net> [Mon, 18 Dec 2006 12:01:26 +0100] rev 31
Add TODO for walk back through file history on update
Christian Ebert <blacktrash@gmx.net> [Mon, 18 Dec 2006 01:42:06 +0100] rev 30
Test for binary
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 15:32:34 +0100] rev 29
Clean up variable names; do not explicitly return False
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 14:48:08 +0100] rev 28
Do not explicitly exit False; rename node1/2 to r1/2, p1/2 to n1/2
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 14:09:06 +0100] rev 27
Do not explicitly return False at end
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 13:38:28 +0100] rev 26
Reparse cmdline to avoid expansion in uncommitted files
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 10:57:55 +0100] rev 25
Make wwritekw() and all vars local
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 10:52:47 +0100] rev 24
Throw out demandimport -- at least temporarily
Christian Ebert <blacktrash@gmx.net> [Sun, 17 Dec 2006 10:16:16 +0100] rev 23
Double check encode filtered filenames
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:55:11 +0100] rev 22
Added tag universal_scheme for changeset 536c1797202d
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:53:45 +0100] rev 21
Implement $Hg$ scheme with update hook
The pivotal line for update hook is:
repo.dirstate.update(kwupdates, 'n')
This forces hg to consider the freshly written files as not modified.
Thanks to wfile(), this keeps executable bits etc.
Still needs more testing.
No need to check for basename/filename in keyword trigger.
update hook does not need re.
TODO:
Walk back in history, if last change of file didn't happen in 1
of the provided changesets (update/merge?)?
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:42:27 +0100] rev 20
Simplify for $Hg$ expansion scheme
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:38:25 +0100] rev 19
Use the "parent1|2" kwargs to detect file state
Can parent2 be of further use? Like in parsing back history?
Adapt keyword trigger to $Hg$ scheme.
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:28:42 +0100] rev 18
Simplify filter pattern for $Hg$ scheme
Adapt keyword trigger as well.
Christian Ebert <blacktrash@gmx.net> [Sat, 16 Dec 2006 15:22:56 +0100] rev 17
Start universal $Hg$ keyword expansion