equal
deleted
inserted
replaced
382 ui.write('%s = %s\n' % (k, v)) |
382 ui.write('%s = %s\n' % (k, v)) |
383 |
383 |
384 fn = 'demo.txt' |
384 fn = 'demo.txt' |
385 tmpdir = tempfile.mkdtemp('', 'kwdemo.') |
385 tmpdir = tempfile.mkdtemp('', 'kwdemo.') |
386 ui.note(_('creating temporary repository at %s\n') % tmpdir) |
386 ui.note(_('creating temporary repository at %s\n') % tmpdir) |
387 repo = localrepo.localrepository(ui, tmpdir, True) |
387 repo = localrepo.localrepository(repo.baseui, tmpdir, True) |
388 ui.setconfig('keyword', fn, '') |
388 ui.setconfig('keyword', fn, '') |
389 svn = ui.configbool('keywordset', 'svn') |
389 svn = ui.configbool('keywordset', 'svn') |
390 # explicitly set keywordset for demo output |
390 # explicitly set keywordset for demo output |
391 ui.setconfig('keywordset', 'svn', svn) |
391 ui.setconfig('keywordset', 'svn', svn) |
392 |
392 |