Skip to content
Snippets Groups Projects
Commit f4d4bd8c8911 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

narrow: add a --narrowspec flag to clone command

This patch adds a --narrowspec flag to `hg clone` command in narrow extension
which can be used to read a file and parse narrowspecs from it and use it while
cloning a repository.

The --narrowspec flag assumes that the user wanted to narrow the clone.

Tests are added both for ellipsis and non-ellipsis mode.

Differential Revision: https://phab.mercurial-scm.org/D4156
parent 61700d525a3b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment