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
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Dec 2006 01:21:56 +0100] rev 16
Rename parent1 to p
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Dec 2006 01:14:58 +0100] rev 15
Rename lr variable to repo
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 16:28:38 +0100] rev 14
Adapt to filename instead of basename style
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 16:27:30 +0100] rev 13
Short "f" for "filename" iteration variable
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 16:25:12 +0100] rev 12
Added tag filename for changeset 56a61a5c696d
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 16:24:30 +0100] rev 11
Switch to complete filename in first keyword field
This will hopefully allow to iterate over the stream in hgkwdecode,
and lookup the relatively latest revision of corresponding file.
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 13:52:53 +0100] rev 10
Use localrepository's wjoin() to obtain absolute path
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 12:58:46 +0100] rev 9
Use wfile instead of wopener; read and write string not binary
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 12:55:52 +0100] rev 8
FIX: range of status selection; copyfile using absolute path
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 10:33:35 +0100] rev 7
Add pretxnkw module for updatehook branch
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 10:18:41 +0100] rev 6
Add pretxnkw module for commits
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 08:57:40 +0100] rev 5
updatehook branch: add kwexpander and updatekw modules
WARNING: Do not use this branch for production!
Update hook changes to working directory are detected by hg.
The only /hook/ to escape hg's attention seems to be pretxcommit.
And that probably only due to bug.
Kept branch for archiving purposes.
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 08:35:24 +0100] rev 4
decodefilter branch: add decode filter with kwutil module
Christian Ebert <blacktrash@gmx.net> [Thu, 14 Dec 2006 08:17:01 +0100] rev 3
Make pattern compilation local to function