keyword: allow keyword expansion on clone

If [keyword] filename patterns are specified in a global hgrc
keywords will be expanded in clone.

This behaviour is more consistent but also more dangerous.
Specifying global, and thus more complicted, [keyword] patterns
might slow things down as well.
Mention this in help?
This commit is contained in:
Christian Ebert 2008-02-04 18:27:36 +01:00
parent 347cc1cda8
commit 6bb66cc4a1

View File

@ -410,10 +410,9 @@ def reposetup(ui, repo):
if not repo.local():
return
nokwcommands = ('add', 'addremove', 'bundle', 'clone', 'copy',
'export', 'grep', 'identify', 'incoming', 'init',
'log', 'outgoing', 'push', 'remove', 'rename',
'rollback', 'tip',
nokwcommands = ('add', 'addremove', 'bundle', 'copy', 'export', 'grep',
'identify', 'incoming', 'init', 'log', 'outgoing', 'push',
'remove', 'rename', 'rollback', 'tip',
'convert')
hgcmd, func, args, opts, cmdopts = dispatch._parse(ui, sys.argv[1:])
if hgcmd in nokwcommands: