mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
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:
parent
347cc1cda8
commit
6bb66cc4a1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user