Skip to content
Snippets Groups Projects
Commit 7a1806e0 authored by Hollis Blanchard's avatar Hollis Blanchard
Browse files

sparse: --include 'dir1/dir2' should not include 'dir1/*'

In 2015 there was a workaround added (f39bace2d6cad32907c0d7961b3c0dbd64a1b7ad)
to sparse in the hg-experimental repo. That workaround:
a) no longer seems to be needed, since its testcase passes even with the code
   removed, and
b) caused a new problem: --include 'dir1/dir2' ended up including dir1/*
   too. (--include 'glob:dir1/dir2' is a user-level workaround.)

Remove the offending code, and add a testcase for situation B.
parent 73432eee
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