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
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 16:19:04 +0200] rev 259
Test kwfiles working context
Christian Ebert <blacktrash@gmx.net> [Sat, 06 Oct 2007 16:07:03 +0200] rev 258
Determine kwfiles on workingctx
Added but not yet committed files should be shown.
Removed but not yet committed files should not be shown.
Christian Ebert <blacktrash@gmx.net> [Fri, 05 Oct 2007 15:53:28 +0200] rev 257
test: use grep instead of grep -F
Christian Ebert <blacktrash@gmx.net> [Fri, 05 Oct 2007 15:49:32 +0200] rev 256
Test if debug flag influences expansion
Christian Ebert <blacktrash@gmx.net> [Fri, 05 Oct 2007 14:52:39 +0200] rev 255
Turn off debug while expanding
We don't need templates like file_add etc. as keywords a file specific.
Turning off debug avoids accidental expansion of such templates.
As a side effect it speeds up expansion when running hg --debug.
Functionality of _ctxnode now in new _substitute function.
Christian Ebert <blacktrash@gmx.net> [Thu, 04 Oct 2007 16:12:48 +0200] rev 254
Map re.escape
Christian Ebert <blacktrash@gmx.net> [Thu, 04 Oct 2007 15:01:16 +0200] rev 253
List comprehension instead of loop to create ui template dictionary
Christian Ebert <blacktrash@gmx.net> [Thu, 04 Oct 2007 14:55:38 +0200] rev 252
String format keyword pattern before compilation
Christian Ebert <blacktrash@gmx.net> [Wed, 03 Oct 2007 08:22:27 +0200] rev 251
Ignore errors when removing temp dir in kwdemo
Christian Ebert <blacktrash@gmx.net> [Sun, 23 Sep 2007 12:22:13 +0100] rev 250
Reduce verbosity of kwexpand/kwshrink
Christian Ebert <blacktrash@gmx.net> [Fri, 21 Sep 2007 20:22:21 +0100] rev 249
Make kwfilelog.cmp test reliable
Christian Ebert <blacktrash@gmx.net> [Fri, 21 Sep 2007 20:16:53 +0100] rev 248
Use revlog.cmp to avoid checking for rename twice
Christian Ebert <blacktrash@gmx.net> [Thu, 20 Sep 2007 21:14:40 +0100] rev 247
Test kwfiles command
Christian Ebert <blacktrash@gmx.net> [Thu, 20 Sep 2007 19:29:11 +0100] rev 246
New command "kwfiles" prints files configured for expansion
Christian Ebert <blacktrash@gmx.net> [Thu, 20 Sep 2007 18:13:53 +0100] rev 245
Always exclude .hgtags only
.hgtags is the only tracked file that is written to just by issuing
an hg command.
This ensures that even a very unlikely tag like "$Id$" is processed
properly.
Christian Ebert <blacktrash@gmx.net> [Thu, 20 Sep 2007 19:26:20 +0100] rev 244
Use Mercurial's getcwd()
Christian Ebert <blacktrash@gmx.net> [Tue, 18 Sep 2007 00:08:23 +0100] rev 243
Set boolean mandatory arguments directly and comment them
Christian Ebert <blacktrash@gmx.net> [Tue, 18 Sep 2007 00:03:17 +0100] rev 242
Avoid calling kwfmatcher twice (kwtemplater.overwrite, kwrepo.file) when overwriting
_weedcandidates already checks if file is configured for
keyword substitution.
Christian Ebert <blacktrash@gmx.net> [Fri, 14 Sep 2007 23:00:26 +0100] rev 241
Test kwshrink w/ argument while not in top level directory
Christian Ebert <blacktrash@gmx.net> [Fri, 14 Sep 2007 22:34:47 +0100] rev 240
Arguments to kwshrink/expand must be filtered thru canonpath
Christian Ebert <blacktrash@gmx.net> [Mon, 03 Sep 2007 06:11:07 +0200] rev 239
Rename README.txt to README
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 17:04:22 +0200] rev 238
Move version code into setup.py
getversion() is only needed by setup.py,
as there is no interface to query the version of an hg extension.
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 15:46:18 +0200] rev 237
Document revisions of interface changes
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 15:35:18 +0200] rev 236
Catch TypeError in repo.wwrite for Mercurial rev 656e06eebda7
This is the one revision that had the file descriptor removed,
but the flags argument not added yet.
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 15:16:57 +0200] rev 235
Compatible repo.dirstate.normal/update into own function
Also remove if-clause, loop over empty list instead.
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 15:09:56 +0200] rev 234
Compatible repo.wwrite into own function
Christian Ebert <blacktrash@gmx.net> [Sun, 02 Sep 2007 15:01:51 +0200] rev 233
Compatible changeset_templater in own function
Christian Ebert <blacktrash@gmx.net> [Thu, 30 Aug 2007 23:22:18 +0200] rev 232
Improve doc of kwfilelog.read
Christian Ebert <blacktrash@gmx.net> [Sat, 25 Aug 2007 15:38:04 +0200] rev 231
Keep names of inherited commands
Eases interactive documentation lookup.
Except for _parse which moved from cmdutil.parse to dispatch._parse,
there prefer most recent name.
Christian Ebert <blacktrash@gmx.net> [Tue, 21 Aug 2007 14:07:57 +0200] rev 230
Move backwards compatible commit fork into private kwrepo function
Christian Ebert <blacktrash@gmx.net> [Tue, 21 Aug 2007 13:27:48 +0200] rev 229
Remove spurious NameError checking for locks
Overriding commit sets them to None by default already.
Christian Ebert <blacktrash@gmx.net> [Mon, 20 Aug 2007 05:08:39 +0200] rev 228
Clean up backwards compatibility
Overriding findcmd is obsolete.
Override _parse at top.
Prefix overridden functions with underbar.
Christian Ebert <blacktrash@gmx.net> [Thu, 16 Aug 2007 14:19:33 +0200] rev 227
cmdutil.parse moves to dispatch._parse; use fancyopts bugfix
Copy fancyopts from 88803a69b24a as _fancyopts to make argument
parsing reliable.
Christian Ebert <blacktrash@gmx.net> [Tue, 14 Aug 2007 16:26:22 +0200] rev 226
Removed files are detected by _weedcandidates, no need for status call
Christian Ebert <blacktrash@gmx.net> [Tue, 14 Aug 2007 09:01:20 +0200] rev 225
Document revision that fixed fancyopts
Christian Ebert <blacktrash@gmx.net> [Sat, 11 Aug 2007 14:43:04 +0200] rev 224
Test "hg diff --rev", update _getcmd comment (backwards compatibility)
Christian Ebert <blacktrash@gmx.net> [Thu, 09 Aug 2007 15:54:27 +0200] rev 223
Test that pattern does not span more than 1 line
Christian Ebert <blacktrash@gmx.net> [Thu, 09 Aug 2007 14:20:03 +0200] rev 222
Shorten template setup
Christian Ebert <blacktrash@gmx.net> [Thu, 09 Aug 2007 09:49:38 +0200] rev 221
ui inheritance does not need to be fiddled with anymore
Backwards compatibility tests work with at least 0.9.2
Christian Ebert <blacktrash@gmx.net> [Mon, 30 Jul 2007 13:42:02 +0100] rev 220
Include MANIFEST.in in dist; hgignore MANIFEST
Christian Ebert <blacktrash@gmx.net> [Mon, 30 Jul 2007 13:35:02 +0100] rev 219
setup: add url, reformat
Christian Ebert <blacktrash@gmx.net> [Mon, 30 Jul 2007 08:22:01 +0100] rev 218
test: use grep -v instead of sed to delete lines
Christian Ebert <blacktrash@gmx.net> [Fri, 27 Jul 2007 10:34:48 +0200] rev 217
try for dirstate.update instead of hasattr
Christian Ebert <blacktrash@gmx.net> [Thu, 26 Jul 2007 18:24:35 +0200] rev 216
Stricter regex; regroup kwtemplater init code
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()
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)
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 15:23:58 +0100] rev 57
Extract all information in kwexpand()
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 14:14:23 +0100] rev 56
Move context.filectx into if-clause where it's actually needed
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 14:06:10 +0100] rev 55
Use localrepository method to obtain full path
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 13:57:57 +0100] rev 54
Cleanup comments; refer to hybridity of script in doc
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 13:02:29 +0100] rev 53
Change location of date format comment
Christian Ebert <blacktrash@gmx.net> [Fri, 29 Dec 2006 12:58:06 +0100] rev 52
Make inheritance clearer in size() and add()
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Dec 2006 18:41:54 +0100] rev 51
Reintroduce simpler kwfilelog.add(); simplify kwfilelog.read()
Without add() strange things happen to changectx().
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Dec 2006 18:14:59 +0100] rev 50
Use self._path directly instead of assigning f to context.path()
Christian Ebert <blacktrash@gmx.net> [Thu, 28 Dec 2006 15:06:19 +0100] rev 49
Override filelog's size(), cmp() as well; remove add()
Try whether we /really/ don't need add().
size() and cmp() are needed to avoid eg:
$ hg st
$ touch file
$ hg st
M file
Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 19:52:25 +0100] rev 48
add header and start documentation
Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 16:58:28 +0100] rev 47
Branch standalone extension, including pretxncommit hook function
Slower, but easier to integrate.
Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 16:00:45 +0100] rev 46
Make keyword.py depend on resurrected kwutil.py
This makes pretxnkw perhaps a bit slower, but is more readable.
Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 11:02:21 +0100] rev 45
Exclude import command too
Christian Ebert <blacktrash@gmx.net> [Thu, 21 Dec 2006 00:48:56 +0100] rev 44
Exclude tag cmd from pretxcommit hook; exclude .hg files
Return unchanged data in superclass read() after every if clause.
Perhaps a bit more readable.
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 17:41:46 +0100] rev 43
Added tag cvs_scheme for changeset ba000e29ecf3
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 17:41:19 +0100] rev 42
Implement near CVS compability with more than one keyword
Keywords are set as local vars in kwexpand() and then eval'd.
TODO: (sticky) tag?
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 14:54:38 +0100] rev 41
Make patterns stricter again, to avoid unvolontary expansions
Christian Ebert <blacktrash@gmx.net> [Wed, 20 Dec 2006 10:37:06 +0100] rev 40
Rename "text" to "data" always as set before call to util.binary()
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 17:22:26 +0100] rev 39
Reflect new scheme in function docstring
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 16:02:27 +0100] rev 38
Remove all hgkwencode, kwexpander.py and updatekw.py
This scheme should work just with:
extension keyword.py
pretxncommit-hook pretxnkw.pretxnkw
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 15:57:03 +0100] rev 37
Standalone version for keyword.py
Check "expand" patterns in the [keyword] config section.
Removed keyword in file itself to simplify patterns.
Revert (again) to basename.
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 15:41:45 +0100] rev 36
Change config opt "expand" to accept filename patterns
Not nice yet; but passes tests together with pretxnkw.
TODO:
Find out what filelog.add() does exactly.
Christian Ebert <blacktrash@gmx.net> [Tue, 19 Dec 2006 10:00:28 +0100] rev 35
Interim test version in connection with keyword.py
Simplify grep pattern.
Outcomment filename lookup, will be changed to configitems('keywords').
Update stuff will be removed.
And the whole thing will go into pretxncommit.
kwupdate.py will be removed.
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
Christian Ebert <blacktrash@gmx.net> [Tue, 12 Dec 2006 23:35:45 +0100] rev 2
Shorten variable and function names
Christian Ebert <blacktrash@gmx.net> [Tue, 12 Dec 2006 22:26:05 +0100] rev 1
Add simple [encode] filter in python
The aim is to go for $Hg$ without basename.
Perhaps this is feasable with update hooks &Co.
No way to detect a filename while stream writing.
Even though hg /knows/ the filenames, but does not provide
an API or hook, unfortunately.
Christian Ebert <blacktrash@gmx.net> [Tue, 12 Dec 2006 22:11:08 +0100] rev 0
Startup hgkeyword package with .hgignore, __init__.py