Wed, 18 Jul 2007 16:12:14 +0200 Avoid global vars by passing opt args to kwrepo.file kwmap-templates
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.
(0) -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 tip