Christian Ebert <blacktrash@gmx.net> [Sat, 14 Jul 2007 20:28:45 +0200] rev 177
wwread and wwrite methods for expansion in working dir
Christian Ebert <blacktrash@gmx.net> [Fri, 13 Jul 2007 12:57:59 +0200] rev 176
Cosmetic changes for overwrite condition, single quotes
Christian Ebert <blacktrash@gmx.net> [Fri, 13 Jul 2007 12:56:09 +0200] rev 175
Change ui inheritance to stay compatible with recent Hg
Needed for rollback on interrupted commit.
Christian Ebert <blacktrash@gmx.net> [Fri, 13 Jul 2007 08:43:39 +0200] rev 174
Handle rename and copy properly
Touching a renamed or copied file made it seem modified.
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Jun 2007 16:21:48 +0200] rev 173
filectx does not need filelog; more nokwcommands
Improve docs.
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Jun 2007 01:18:49 +0200] rev 172
Revert to kwrepo methods (self) inside class kwrepo
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Jun 2007 10:15:04 +0200] rev 171
Pass filelog, not kwfilelog, to kwtemplater.expand/context.filectx
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Jun 2007 10:10:46 +0200] rev 170
More nokwcommands: add, remove, addremove
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Jun 2007 10:09:13 +0200] rev 169
Remove unused path attribute from kwfilelog
Christian Ebert <blacktrash@gmx.net> [Wed, 27 Jun 2007 13:50:06 +0200] rev 168
Reduce use of kwrepo methods
Use repo and ui arguments from reposetup where possible.
kwfmatcher doesn't need to be an attribute to repo.
Christian Ebert <blacktrash@gmx.net> [Wed, 27 Jun 2007 13:33:57 +0200] rev 167
reverse logic for detection of excluding commands
Exclude all "outgoing" commands.
rollback does not change working dir.
incoming -p does not expand anyway.
Revert ui -> repo.ui for backwards compatibiliy in reposetup.
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Jun 2007 13:22:11 +0200] rev 166
Obey Mercurial line continuation convention
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Jun 2007 13:16:38 +0200] rev 165
Remove obsolete archive mode from __doc__
Christian Ebert <blacktrash@gmx.net> [Mon, 18 Jun 2007 17:49:27 +0200] rev 164
Confine activation to specific commands; drop broken archive configuration
Christian Ebert <blacktrash@gmx.net> [Fri, 15 Jun 2007 08:56:26 +0200] rev 163
Move findcmd switch to imports
Christian Ebert <blacktrash@gmx.net> [Tue, 12 Jun 2007 18:45:26 +0200] rev 162
findcmd might be in cmdutil or commands, depending on hg version
Christian Ebert <blacktrash@gmx.net> [Fri, 08 Jun 2007 16:05:44 +0200] rev 161
No need for archivemode as variable
Christian Ebert <blacktrash@gmx.net> [Fri, 20 Apr 2007 14:41:35 +0200] rev 160
Make path, node kwtemplater attribs
Avoid lambda in keyword substitution.
Christian Ebert <blacktrash@gmx.net> [Fri, 20 Apr 2007 00:24:32 +0200] rev 159
Simplify backward compatible import
For an extension it's not worth the trouble to try for demandload.
Christian Ebert <blacktrash@gmx.net> [Fri, 30 Mar 2007 17:12:38 +0200] rev 158
kwfmatcher first check for commit
Christian Ebert <blacktrash@gmx.net> [Fri, 30 Mar 2007 09:08:48 +0200] rev 157
Incorporate changes in self_initializing_hook branch
Implement configurable expansion based on Mercurial templates.
NOTE:
Relying on pretxncommit-hook to write in working directory
might break in the future as it relies on a buggy race condidition.
[issue273]
Christian Ebert <blacktrash@gmx.net> [Sat, 24 Mar 2007 15:57:07 +0100] rev 156
Omit keyword argument for filelog __init__
Make keyword compatible with future changes in Mercurial.
Should be safe and backwards compatible as well.
Christian Ebert <blacktrash@gmx.net> [Thu, 22 Mar 2007 12:36:51 +0100] rev 155
Work around missing link support in older Hg versions
Christian Ebert <blacktrash@gmx.net> [Wed, 07 Mar 2007 23:53:50 +0100] rev 154
Remove tests as they do not work in standalone module
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 07 Mar 2007 23:39:55 +0100] rev 153
Make keyword extension compatible with python2.3
Christian Ebert <blacktrash@gmx.net> [Thu, 01 Mar 2007 10:22:16 +0100] rev 152
keyword: remove a comment line in help
Christian Ebert <blacktrash@gmx.net> [Sat, 24 Feb 2007 11:56:08 +0100] rev 151
Extend test for archive mode
Christian Ebert <blacktrash@gmx.net> [Sat, 24 Feb 2007 11:19:34 +0100] rev 150
Added tag archive for changeset 0c8b7e5c25a6
Christian Ebert <blacktrash@gmx.net> [Sat, 24 Feb 2007 11:10:31 +0100] rev 149
Implement archive mode by configuration
Note:
For some reason
commands.parse(ui, sys.argv[1:])
breaks "hg diff -r".
Christian Ebert <blacktrash@gmx.net> [Wed, 21 Feb 2007 02:27:15 +0100] rev 148
Extend test for symlink
Christian Ebert <blacktrash@gmx.net> [Sun, 18 Feb 2007 20:10:37 +0100] rev 147
Try making help more concise, include warning about "hg import"
Christian Ebert <blacktrash@gmx.net> [Thu, 15 Feb 2007 17:31:45 +0100] rev 146
Move config examples into help
Christian Ebert <blacktrash@gmx.net> [Thu, 15 Feb 2007 09:25:05 +0100] rev 145
Wrap entire commit in wlock
Message-ID: <20070213102701.GC30656@cecm.usp.br>
Christian Ebert <blacktrash@gmx.net> [Wed, 14 Feb 2007 03:03:16 +0100] rev 144
Move kwfilelog out of reposetup; only use kwfilelog if file matches
Again: Message-ID: <20070213102701.GC30656@cecm.usp.br>
This foremost obsoletes ugly attribute checks for kwfmatcher.
We check whether we need kwfilelog in kwrepo's file().
That way kwtemplater is always an attribute of kwfilelog.
Repo references are gone from kwfilelog.
reposetup doc more verbose.
Christian Ebert <blacktrash@gmx.net> [Wed, 14 Feb 2007 02:50:06 +0100] rev 143
Add wlock during overwrite
Message-ID: <20070213102701.GC30656@cecm.usp.br>
Christian Ebert <blacktrash@gmx.net> [Wed, 14 Feb 2007 02:44:25 +0100] rev 142
commit: weed out removed w/o recurring to os.path, weed out symlinks
Christian Ebert <blacktrash@gmx.net> [Tue, 13 Feb 2007 18:03:12 +0100] rev 141
Remove extra if-condition for kwtemplater setup in kwfilelog
This was over done in last cset, as repo is None by default kwarg,
and None may be tested for attribs.
Christian Ebert <blacktrash@gmx.net> [Mon, 12 Feb 2007 00:40:49 +0100] rev 140
FIX: make repo keyword arg to kwfilelog
hg incoming breaks otherwise as only 3 arguments are passed to init.
Christian Ebert <blacktrash@gmx.net> [Mon, 12 Feb 2007 00:38:47 +0100] rev 139
Move context into kwtemplater.expand
Update kwtemplater doc string.
Christian Ebert <blacktrash@gmx.net> [Sun, 11 Feb 2007 19:51:22 +0100] rev 138
Overwrite files inside kwtemplater method
Christian Ebert <blacktrash@gmx.net> [Fri, 09 Feb 2007 18:43:15 +0100] rev 137
Check repo attrib kwfmatcher in kwfilelog init
Christian Ebert <blacktrash@gmx.net> [Fri, 09 Feb 2007 16:16:22 +0100] rev 136
Parse templates at kwtemplater init for less overhead in matchfunction
Christian Ebert <blacktrash@gmx.net> [Fri, 09 Feb 2007 16:13:51 +0100] rev 135
Standalone compatibility fixes: demandload, changeset_templater
If demandload is present, use it, and import gettext.
changeset_templater may have extra arg for branches.
Christian Ebert <blacktrash@gmx.net> [Fri, 09 Feb 2007 14:43:01 +0100] rev 134
2 expand methods including binary check in kwtemplater
Christian Ebert <blacktrash@gmx.net> [Fri, 09 Feb 2007 13:47:11 +0100] rev 133
Keyword substitution removal into kwtemplater
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 15:20:34 +0100] rev 132
Merge in dangling head of first commit wrapper attempt
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 15:13:28 +0100] rev 131
Check dirstate after commits in test
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 14:40:30 +0100] rev 130
Added tag nohook for changeset 15e8cd7f5295
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 14:40:20 +0100] rev 129
Wrap commit instead of calling pretxncommit hook
a) probably faster
b) relying on pretxncommit hook is problematic [issue273]
This version "openly" updates dirstate after overwriting files
after commit.
Changed test output accordingly.
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 14:28:00 +0100] rev 128
Remove spurious spaces at EOL
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 07:21:32 +0100] rev 127
Discard 0.9.3-compat branch
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 06:52:40 +0100] rev 126
"or" for "if" in getmodulename; shorter comment on backwards compatibiliy
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 06:45:12 +0100] rev 125
Added tag hgkw_standalone_setup for changeset 99dc49c5bcfb
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Feb 2007 06:43:15 +0100] rev 124
Setup standalone module install, version tracking
Christian Ebert <blacktrash@gmx.net> [Wed, 07 Feb 2007 15:50:57 +0100] rev 123
Make all ui config and kwfmatcher a local repo attribute
See Mercurial changeset: 5d9ede002453
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
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 17:51:54 +0100] rev 62
Added tag r0.1 for changeset 1fe48bf82d05
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 17:23:55 +0100] rev 61
Remove more internal comments
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 16:58:19 +0100] rev 60
List supported keywords in doc
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 16:34:01 +0100] rev 59
Only 1 all-purpose regex, compiled at load
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 15:36:50 +0100] rev 58
lambda m: instead of kwexpander(matchobj)