Support "narrow clone"

XMLWordPrintable

      The Mercurial "narrow" extension (included since Hg 4.6) which supports cloning of just some directories within the repository.

      These operations can be desirable for reasons including:

      • You're working on just one part of a large project, so a narrow clone is faster and takes less space than a full clone
      • Particularly on Windows, which by default has case-insensitive file naming, you're working with a repository that includes some files with case collisions (same name except upper vs. lower-case characters). That often happens when one part of the project is built under Linux and another part under Windows.

      A command like:

      #!bash
      
      hg clone --narrow --exclude 'linux' ssh://hg@bitbucket.org/name_of_repository
      

      currently results in the error message "abort: server does not support narrow clones".

              Assignee:
              Unassigned
              Reporter:
              ScottGilbertson
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: