hgkw/keyword.py
branchstable
changeset 1222 01c23fd3d424
parent 1147 95e6504e6e27
child 1309 02972bce7d41
equal deleted inserted replaced
1221:3a049b21a05b 1222:01c23fd3d424
   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