Christian Ebert <blacktrash@gmx.net> [Sat, 01 Dec 2007 20:31:13 +0100] rev 307
Refactor to initialize kwtemplater only once during reposetup
- when overwriting kwtemplater was initialized (and the same keyword regex
compiled) before and with every file read.
- therefore remove overwrite from kwtemplater, and make it private method.
_ matcher becomes attribute of kwtemplater.
- by making kwtemplater a global, avoid adding attribute to ui.
Christian Ebert <blacktrash@gmx.net> [Sat, 01 Dec 2007 13:15:13 +0100] rev 306
Rename kwtemplater.t to kwtemplater.ct
Christian Ebert <blacktrash@gmx.net> [Sat, 01 Dec 2007 10:32:40 +0100] rev 305
Test that commit hooks are not run on interrupted commit
Christian Ebert <blacktrash@gmx.net> [Sat, 01 Dec 2007 09:52:00 +0100] rev 304
Do not run commit hooks if there is no node
Eg. when commit is interrupted.
Christian Ebert <blacktrash@gmx.net> [Mon, 26 Nov 2007 12:52:54 +0100] rev 303
(0.9.2compat) do not bother about debug templates
Christian Ebert <blacktrash@gmx.net> [Mon, 26 Nov 2007 12:30:50 +0100] rev 302
Do not test debug templates
Christian Ebert <blacktrash@gmx.net> [Mon, 26 Nov 2007 12:29:23 +0100] rev 301
Make match object function private to kwtemplater.substitute
Christian Ebert <blacktrash@gmx.net> [Mon, 26 Nov 2007 12:24:16 +0100] rev 300
Do not bother about debug templates
Speedup of debug flag toggle dubious at best.
{files}, {file_adds} etc. templates do not make sense in file context,
but leave decision to user; that's what kwdemo is for.
Christian Ebert <blacktrash@gmx.net> [Wed, 14 Nov 2007 13:36:41 +0100] rev 299
(0.9.2compat) kwfiles print code similar to commands.status
Christian Ebert <blacktrash@gmx.net> [Wed, 14 Nov 2007 13:32:33 +0100] rev 298
kwfiles print code similar to commands.status
Christian Ebert <blacktrash@gmx.net> [Tue, 13 Nov 2007 02:06:38 +0100] rev 297
Rearrange commit hook hack
Christian Ebert <blacktrash@gmx.net> [Sun, 11 Nov 2007 11:29:50 +0100] rev 296
Commit hook handling entirely into if-condition
Christian Ebert <blacktrash@gmx.net> [Sat, 10 Nov 2007 14:33:15 +0100] rev 295
(0.9.2compat) update doc strings
Christian Ebert <blacktrash@gmx.net> [Sat, 10 Nov 2007 14:08:12 +0100] rev 294
Add commit hook test
Christian Ebert <blacktrash@gmx.net> [Sat, 10 Nov 2007 14:06:59 +0100] rev 293
Postpone commit hooks until keywords are expanded
If a commit hook acts on a file with keywords, it now does so
on the file with keywords already expanded.
Unhook all hooks with "commit" in name during kwdemo.
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Nov 2007 13:03:24 +0100] rev 292
Avoid dispatch import, revert to simple argument parser
Christian Ebert <blacktrash@gmx.net> [Thu, 08 Nov 2007 12:59:43 +0100] rev 291
(0.9.2compat) avoid dispatch import, revert to simple argument parser
Make nokwcommands a tuple as long as it's private.
No need to import fancyopts, as we use own w/o bug.
Clean overriding of findcmd.
We only need simple argument parsing for command.
No expensive dispatch import, also avoids potential clashes with invasive
RuleDispatch (setuptools).
Christian Ebert <blacktrash@gmx.net> [Wed, 07 Nov 2007 13:40:58 +0100] rev 290
Make keyword against current Mercurial available as standalone extension
Christian Ebert <blacktrash@gmx.net> [Wed, 07 Nov 2007 13:33:19 +0100] rev 289
Branch off backwards compatible version
The default branch will contain the version without
the overhead for backwards compatibility.
This will make a standalone extension available which works
with current Mercurial.
Christian Ebert <blacktrash@gmx.net> [Tue, 06 Nov 2007 13:20:39 +0100] rev 288
Avoid name conflict with dispatch package(s)
Thanks to Marcin Kasperski for spotting and analysing this.
Message-ID: <87wsswvhbk.fsf@cauchy.softax.local> ff.
Christian Ebert <blacktrash@gmx.net> [Mon, 29 Oct 2007 10:55:41 +0100] rev 287
Add convert to nokwcommands (fix issue802)
Is there a more general way to decide on allowed commands?
Unfortunately we don't know what commands are added by extensions.
Christian Ebert <blacktrash@gmx.net> [Wed, 24 Oct 2007 09:43:59 +0200] rev 286
Check if there candidates before _overwrite
Potentially saves calculation of node.
Christian Ebert <blacktrash@gmx.net> [Wed, 24 Oct 2007 00:38:27 +0200] rev 285
Arrange commands and cmdtable in alphabetical order
Christian Ebert <blacktrash@gmx.net> [Tue, 23 Oct 2007 09:10:11 +0200] rev 284
Tell user that kwexpand/kwshrink do not run if given files contain changes
Christian Ebert <blacktrash@gmx.net> [Tue, 23 Oct 2007 08:58:19 +0200] rev 283
Respect Mercurial conventions in kwdemo help
Christian Ebert <blacktrash@gmx.net> [Fri, 19 Oct 2007 19:37:41 +0200] rev 282
Obtaining cwd redundant in pathto wrapper
Christian Ebert <blacktrash@gmx.net> [Fri, 19 Oct 2007 16:28:56 +0200] rev 281
Detailed test of kwexpand/kwshrink w/ file arguments
Christian Ebert <blacktrash@gmx.net> [Fri, 19 Oct 2007 16:09:56 +0200] rev 280
Revert to using status for kw-commands
cmdutil.bail_if_changed has to call status stat'ing working dir.
This renders the whole walk experiment mute, duh.
On the upside kwexpand/kwshrink can be applied to selected clean files,
while there are local changes in other files.
bail_if_changed compatibility wrapper not needed anymore.
Christian Ebert <blacktrash@gmx.net> [Fri, 19 Oct 2007 12:36:32 +0200] rev 279
Test if warning about non-existing files is triggered
Christian Ebert <blacktrash@gmx.net> [Thu, 18 Oct 2007 09:38:05 +0200] rev 278
cwd optional argument of _pathto to simplify _kwfwrite
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 23:53:59 +0200] rev 277
Use pathto to display nonexisting files
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 17:52:25 +0200] rev 276
kwexpand/kwshrink: warn about nonexisting files
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 17:51:36 +0200] rev 275
_overwrite method for kwrepo.commit, kwexpand, kwshrink
File selection (kwexpand/kwshrink) in _kwfwrite method.
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 17:06:08 +0200] rev 274
Sort files before overwriting
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 17:03:59 +0200] rev 273
_iskwfile checking method for kwrepo.commit, kwexpand/kwshrink
Christian Ebert <blacktrash@gmx.net> [Wed, 17 Oct 2007 13:22:48 +0200] rev 272
Walk manifest in kwexpand/kwshrink
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Oct 2007 23:42:50 +0200] rev 271
For overwriting commands use node and manifest to speed up walk
Christian Ebert <blacktrash@gmx.net> [Tue, 16 Oct 2007 07:43:55 +0200] rev 270
kwfiles: change option "ignored" to "ignore", add option "untracked"
"ignore" like corresponding config value.
"untracked" allows quick check if a new file that has not been added yet
would be target for expansion.
Update help accordingly.
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Oct 2007 11:01:00 +0200] rev 269
File collections specific to kwexpand/kwshrink vs kwfiles commands
Christian Ebert <blacktrash@gmx.net> [Mon, 15 Oct 2007 10:25:20 +0200] rev 268
Flag kwfiles if verbose; shorten bailout code
Christian Ebert <blacktrash@gmx.net> [Sat, 13 Oct 2007 22:15:20 +0200] rev 267
Tighten condition for kwshrink/kwexpand test
Christian Ebert <blacktrash@gmx.net> [Sat, 13 Oct 2007 15:25:06 +0200] rev 266
Underscore prefixes only for names at top level, or compatibility wrappers
Christian Ebert <blacktrash@gmx.net> [Sat, 13 Oct 2007 15:01:55 +0200] rev 265
Count keywords in a customized kwfilelog read method
Christian Ebert <blacktrash@gmx.net> [Thu, 11 Oct 2007 13:10:33 +0200] rev 264
walkopts for kwexpand, kwshrink, kwfiles commands
kwfiles optionally shows ignored files or all flagged
Use pathto method to print kw filenames if possible.
Commands abort with meaningful error
_weedcandidates renamed to _weedfiles, and only for commands.
For kwrepo.commit we could get modified + added from
kwrepo.status(match=ui.kwfmatcher) -- but this would mean
to read manifest before commit, and again after for expansion.
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 23:11:40 +0200] rev 263
kwfiles notifies if there are no files configured for expansion
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 19:55:30 +0200] rev 262
Bail out earlier in overwrite commands if repo has changes
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 20:13:18 +0200] rev 261
Make kwfmatcher an ui attribute
Thus kw commands do not weed candidates twice.
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 16:56:14 +0200] rev 260
Unlowercase command help