##// END OF EJS Templates
tracked: add documentation about `--import-rules` flag...
Pulkit Goyal -
r42146:6cad258e default
parent child Browse files
Show More
@@ -345,6 +345,10 b' def trackedcmd(ui, repo, remotepath=None'
345 and replaced by the new ones specified to --addinclude and --addexclude.
345 and replaced by the new ones specified to --addinclude and --addexclude.
346 If --clear is specified without any further options, the narrowspec will be
346 If --clear is specified without any further options, the narrowspec will be
347 empty and will not match any files.
347 empty and will not match any files.
348
349 --import-rules accepts a path to a file containing rules, allowing you to
350 add --addinclude, --addexclude rules in bulk. Like the other include and
351 exclude switches, the changes are applied immediately.
348 """
352 """
349 opts = pycompat.byteskwargs(opts)
353 opts = pycompat.byteskwargs(opts)
350 if repository.NARROW_REQUIREMENT not in repo.requirements:
354 if repository.NARROW_REQUIREMENT not in repo.requirements:
General Comments 0
You need to be logged in to leave comments. Login now