Christian Ebert <blacktrash@gmx.net> [Fri, 26 Jan 2007 12:10:53 +0000] rev 122
No reposetup when no filenames are specified for expansion
Second stab at stopping reposetup.
This time kwtemplater is still initialized in
kwfilelog and pretxnkw, and not in reposetup.
Watchout:
Giving ui an extra-attribute in reposetup might still be problematic.
Christian Ebert <blacktrash@gmx.net> [Tue, 23 Jan 2007 15:26:33 +0000] rev 121
Add test
Christian Ebert <blacktrash@gmx.net> [Tue, 23 Jan 2007 15:13:51 +0000] rev 120
Add licence (again)
Christian Ebert <blacktrash@gmx.net> [Tue, 23 Jan 2007 15:13:02 +0000] rev 119
Put .hg* files in exclusion list at declaration
Christian Ebert <blacktrash@gmx.net> [Sun, 21 Jan 2007 05:04:17 +0100] rev 118
Prepare test: split doc into help and comment
Minor cleanups in function docs
Christian Ebert <blacktrash@gmx.net> [Sat, 20 Jan 2007 22:18:57 +0100] rev 117
Be silent if no filenames are configured for expansion
The debug message would only be visible on commit anyway.
Christian Ebert <blacktrash@gmx.net> [Sat, 20 Jan 2007 01:55:22 +0100] rev 116
Kill buggy branch
Christian Ebert <blacktrash@gmx.net> [Sat, 20 Jan 2007 01:52:17 +0100] rev 115
FIX: no appending of attributes to repo, back to b2cc6a8d4a18
The idea was to good/unclean to be true.
Raised unknown exception on commit when exiting $EDITOR with return 1.
Integrate "innocent" changes since then though.
Christian Ebert <blacktrash@gmx.net> [Sat, 20 Jan 2007 00:55:31 +0100] rev 114
Describe substitution mechanism in doc
Christian Ebert <blacktrash@gmx.net> [Sat, 20 Jan 2007 00:54:03 +0100] rev 113
Debug info, not warning, when no files configured for expansion
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Jan 2007 03:36:40 +0100] rev 112
Cycle filename patterns only once
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Jan 2007 02:17:10 +0100] rev 111
Get modulename via function; set kwrepo attribs via direct reference
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Jan 2007 01:50:18 +0100] rev 110
Move all that can be done only once per repo into reposetup
Actually kwrepo is not set up if there aren't any files configured
for keyword substitution.
Stuff that now is done at reposetup and not at every filelog init or hook:
1) filename matching function
2) compilation of keyword regex
3) templates and changeset templater
kwtemplater as an appended class should prevent namespace conflicts.
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Jan 2007 00:06:11 +0100] rev 109
Extend templater.common_filters in kwtemplater
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Jan 2007 23:55:54 +0100] rev 108
Document reposetup; recommend loading on per-repo basis
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 19:17:54 +0100] rev 107
Implement configurable exclusion of files from expansion
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 15:45:57 +0100] rev 106
Only initialize kwtemplater in kwfilelog if needed
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 12:09:37 +0100] rev 105
Use full power of util.matcher for kwfmatches()
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 05:02:38 +0100] rev 104
Simply dict() keywordmaps configitems
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 03:14:40 +0100] rev 103
Emergency brake against multiline expansion
As expansion always happens ad hoc, is not tracked, multiline or incremental
expansion do not seem worth the trouble.
If at all, it would make sense with static, hardcoded keywords.
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Jan 2007 01:04:46 +0100] rev 102
More doc, link to KeywordPlan
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Jan 2007 20:18:43 +0100] rev 101
No need to read changelog in show(); node mandatory arg for expand()
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Jan 2007 19:41:18 +0100] rev 100
Just re-bin the node kwarg of the hook, instead of using changelog
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Jan 2007 15:41:59 +0100] rev 99
Same as for hardcoded branch: omit hooktype test, return w/o explicit value
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Jan 2007 15:38:36 +0100] rev 98
Omit hook test; return w/o explicit value (==False)
Christian Ebert <blacktrash@gmx.net> [Sun, 14 Jan 2007 18:38:30 +0100] rev 97
No clumsy setting of node in kwfilelog.add, pass as kwarg
Christian Ebert <blacktrash@gmx.net> [Sun, 14 Jan 2007 14:00:45 +0100] rev 96
Expansion entirely in kwfilectx.expand()
Christian Ebert <blacktrash@gmx.net> [Sun, 14 Jan 2007 12:56:52 +0100] rev 95
Implement custom keyword map templates in hgrc
More expensive than hardcoded keywords.
But, of course, more flexible.
ATM templates can only be set in hgrc, and perhaps this is enough.
Christian Ebert <blacktrash@gmx.net> [Sun, 14 Jan 2007 12:39:23 +0100] rev 94
Indentation cosmetics
Christian Ebert <blacktrash@gmx.net> [Sat, 13 Jan 2007 13:27:13 +0100] rev 93
Clean keyword arg assignment in kwfilelog.add; rename utc() to utcdate()
Christian Ebert <blacktrash@gmx.net> [Fri, 12 Jan 2007 13:58:59 +0100] rev 92
Init context.filectx only once per file with class kwfilectx
This way context.filectx is not initialized for every keyword match.
Christian Ebert <blacktrash@gmx.net> [Fri, 12 Jan 2007 01:45:22 +0100] rev 91
Added tag very_cvs for changeset 2e930f842242
Christian Ebert <blacktrash@gmx.net> [Fri, 12 Jan 2007 01:41:33 +0100] rev 90
Very CVS-like format
Christian Ebert <blacktrash@gmx.net> [Fri, 12 Jan 2007 01:20:51 +0100] rev 89
Functions instead of variables in kwexpand()
Should be slightly faster as filectx is asked only on demand.
Christian Ebert <blacktrash@gmx.net> [Thu, 11 Jan 2007 10:37:50 +0100] rev 88
Module detection cleaner and more reliable
Stolen from mercurial.lsprof
Christian Ebert <blacktrash@gmx.net> [Thu, 11 Jan 2007 02:22:56 +0100] rev 87
Only extend sys.path if needed
Christian Ebert <blacktrash@gmx.net> [Wed, 10 Jan 2007 18:52:09 +0100] rev 86
Discard head of modular branch
Christian Ebert <blacktrash@gmx.net> [Wed, 10 Jan 2007 18:49:29 +0100] rev 85
Discard head of decodefilter branch
Christian Ebert <blacktrash@gmx.net> [Wed, 10 Jan 2007 16:27:46 +0100] rev 84
Make pretxncommit hook work even if extension not in hgext folder
Christian Ebert <blacktrash@gmx.net> [Tue, 09 Jan 2007 16:17:30 +0100] rev 83
Cosmetics: var name kwfmatchers, remove some line continuations
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 18:32:46 +0100] rev 82
Add keyword; comment backwards compatible import
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 18:27:18 +0100] rev 81
Implement self initializing pretxncommit hook
This is more expensive than overriding commit(), but
a) uses more "official" interface
b) less code
c) easier to maintain
Get all changes up to cee5fef33cf8 in here as well.
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 17:03:08 +0100] rev 80
Fix timezone expando in doc
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 13:07:52 +0100] rev 79
Make changes from last cset 474b415433a1 available to 0.9.3
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 12:54:31 +0100] rev 78
Unexpanded storage hopefully covered now by adding kwfilelog.add (again!)
All filelog methods that act on text/data should be consistent.
Principle: read expanded kw's; unexpanded kw's for "internal" workings.
kwfilelog.iskwcandidate() to check whether keyword action required.
More doc.
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 05:47:52 +0100] rev 77
Check against keyword config in kwfilelog.cmp; be silent in kwfilelog (0.9.3)
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 05:40:34 +0100] rev 76
Check against keyword config in kwfilelog.cmp too; be silent in kwfilelog
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 03:08:24 +0100] rev 75
Keyword myself 0.9.3
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 03:05:22 +0100] rev 74
Keyword myself
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 02:51:38 +0100] rev 73
Branch for compatibility with hg-0.9.3 release
See Message-ID: <91340540@bs1.sp34.ru>.
Christian Ebert <blacktrash@gmx.net> [Mon, 08 Jan 2007 02:13:04 +0100] rev 72
Fix indent in entire kwrepo.commit function
Christian Ebert <blacktrash@gmx.net> [Sun, 07 Jan 2007 21:51:57 +0100] rev 71
No keyword substitution in cmp(); no overriding of size() ATM
This hopefully solves the merge/no conflict issue brought up by
Boris Samorodov in Message-ID: <12807831@srv.sem.ipt.ru>.
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Jan 2007 14:35:24 +0100] rev 70
Added tag pure_extension for changeset 4c5d9635b517
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Jan 2007 14:34:49 +0100] rev 69
Pure extension by inserting keyword expansion localrepo.localrepository.commit
Replaced self.ui with ui in commit().
This works, or seems to work, but can it be done without a complete
copy of commit()?
Christian Ebert <blacktrash@gmx.net> [Fri, 05 Jan 2007 14:51:58 +0100] rev 68
Remove copyright for the moment
Christian Ebert <blacktrash@gmx.net> [Fri, 05 Jan 2007 14:51:10 +0100] rev 67
Remove kwfilelog.add() -- seems to work with current kw_re
Christian Ebert <blacktrash@gmx.net> [Thu, 04 Jan 2007 14:18:15 +0100] rev 66
Make kwfilelog.add respect filename config
Christian Ebert <blacktrash@gmx.net> [Thu, 04 Jan 2007 13:13:54 +0100] rev 65
Unify obtaining filename matchers; only debug messages
Christian Ebert <blacktrash@gmx.net> [Wed, 03 Jan 2007 14:14:19 +0100] rev 64
Imports specific to functions
Christian Ebert <blacktrash@gmx.net> [Sat, 30 Dec 2006 23:21:09 +0100] rev 63
Omit 1 implicit if-clause