Christian Ebert <blacktrash@gmx.net> [Tue, 24 Jul 2007 15:13:16 +0200] rev 215
Test remove
Christian Ebert <blacktrash@gmx.net> [Tue, 24 Jul 2007 15:08:29 +0200] rev 214
Add forgotten status for touch copy test
Christian Ebert <blacktrash@gmx.net> [Tue, 24 Jul 2007 15:04:33 +0200] rev 213
Weed out removed and links using manifest
Weeding of expansion candidates in helper function.
No status call in commit.
All commit stuff is done after super commit.
Minus 2 backwards compatibility switches.
Get rid of os import.
Christian Ebert <blacktrash@gmx.net> [Tue, 24 Jul 2007 14:53:39 +0200] rev 212
hgignore build directory
Christian Ebert <blacktrash@gmx.net> [Mon, 23 Jul 2007 21:17:16 +0200] rev 211
help: no need for kwexpand after import, but after config change
Update test output.
Christian Ebert <blacktrash@gmx.net> [Mon, 23 Jul 2007 10:36:00 +0200] rev 210
kwdemo fixes and tweaks
Write map arguments in repo hgrc, to simulate parsing
and parsing errors.
Add branch display; change demo verbosity for branch command.
Display current [keyword] files additionally to demo.txt, as they
might influence the result.
Formatting: status indented by tab.
Christian Ebert <blacktrash@gmx.net> [Sun, 22 Jul 2007 14:56:13 +0200] rev 209
Adapt to recent changes in Hg (locks handling, dirstate.update gone)
Christian Ebert <blacktrash@gmx.net> [Sat, 21 Jul 2007 21:44:33 +0200] rev 208
Show extension in kwdemo; flag helpers; rephrase doc
Update test and test output.
Christian Ebert <blacktrash@gmx.net> [Sat, 21 Jul 2007 09:41:13 +0200] rev 207
Make more args mandatory; flag keywordmatcher as helper
Christian Ebert <blacktrash@gmx.net> [Fri, 20 Jul 2007 15:20:16 +0200] rev 206
Treat wlock the recommended way
<http://www.selenic.com/mercurial/wiki/index.cgi/Dealing_With_Destructors>
Christian Ebert <blacktrash@gmx.net> [Fri, 20 Jul 2007 14:07:17 +0200] rev 205
kwdemo: clear up repo, ui inheritance; show commit log in debug output
Do not translate "hg ... ci ...".
Christian Ebert <blacktrash@gmx.net> [Fri, 20 Jul 2007 09:44:38 +0200] rev 204
Add grep, init to nokwcommands; make variables, getcmd local
Remove checking of ParseError - was done before, and might be in cmdutil.
nokwcommands as list, can be appended to.
Christian Ebert <blacktrash@gmx.net> [Thu, 19 Jul 2007 16:16:09 +0200] rev 203
Clean up logic and messages for overwrite
Obtain both findcmd, bail_if_changed via try error block.
Change test output accordingly.
Christian Ebert <blacktrash@gmx.net> [Thu, 19 Jul 2007 04:07:20 +0200] rev 202
Make test more adaptive to different Hg versions
Christian Ebert <blacktrash@gmx.net> [Thu, 19 Jul 2007 03:43:20 +0200] rev 201
Make sure there are no newlines in expansion
Note confinement to one line in help.
Adapt test output.
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:50:47 +0200] rev 200
Removed tag archive
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:50:41 +0200] rev 199
Removed tag nohook
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:50:34 +0200] rev 198
Removed tag hgkw_standalone_setup
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:50:23 +0200] rev 197
Removed tag very_cvs
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:50:17 +0200] rev 196
Removed tag r0.1
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:49:59 +0200] rev 195
Removed tag cvs_scheme
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:49:51 +0200] rev 194
Removed tag universal_scheme
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:45:50 +0200] rev 193
Discard kwmap-templates branch; keep only early forked off default
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:33:24 +0200] rev 192
Discard self_initializing_hook branch
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:28:36 +0200] rev 191
Add MANIFEST.in
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 22:24:56 +0200] rev 190
Add README
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 21:29:32 +0200] rev 189
Add backwards compatible test-suite
Without symlink testing, as older Hg versions don't handle them.
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 21:24:04 +0200] rev 188
Catch an AttributeError in wwrite triggered by older Hg versions
Thanks to Norman Walsh for reporting.
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 16:17:04 +0200] rev 187
kwdemo accepts maps as arguments, reads from optional rcfile
Christian Ebert <blacktrash@gmx.net> [Wed, 18 Jul 2007 16:12:14 +0200] rev 186
Avoid global vars by passing opt args to kwrepo.file
"Normal" reading of filelog just expands keywords in given data.
Reading filelog for overwrite on commit, kwshrink, kwexpand triggers
kwtemplater.process, which returns read data (expanding in case of
commit, kwexpand; not expanding for kwshrink) and a count of keywords.
If kwcnt is positive file will be overwritten.
Christian Ebert <blacktrash@gmx.net> [Tue, 17 Jul 2007 14:15:47 +0200] rev 185
Implement kwshrink/kwexpand commands to deal with config, import issues
Christian Ebert <blacktrash@gmx.net> [Tue, 17 Jul 2007 09:45:36 +0200] rev 184
Set ui to repo.ui at once where needed for backwards compatibility
Christian Ebert <blacktrash@gmx.net> [Tue, 17 Jul 2007 09:24:27 +0200] rev 183
Use ui.note to get verbosity switch; tweak kwdemo help
Christian Ebert <blacktrash@gmx.net> [Tue, 17 Jul 2007 09:17:03 +0200] rev 182
Obtain filename matcher from function keywordmatcher
Future implementation of commands kwexpand/kwshrink will also need this.
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jul 2007 17:34:34 +0200] rev 181
kwdemo is demo internally; rearrange code
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jul 2007 17:28:17 +0200] rev 180
Typo in kwdemo output
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jul 2007 10:45:39 +0200] rev 179
Fix ui inheritance for kwdemo
kwdemo config changes had no effect if keyword.py was not in hgext.
For backwards compatibility we use repo.ui in reposetup,
so inside kwdemo the temporary _repo.ui has to obtain the paramters.
Christian Ebert <blacktrash@gmx.net> [Sun, 15 Jul 2007 01:19:20 +0200] rev 178
Add kwdemo command as online config help
Shorten "hg help keyword" output accordingly.
Mention utc date template filter in extension help.
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()