Skip to content

Commit d5b5da7

Browse files
committed
update documentation
1 parent 3ea6e07 commit d5b5da7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ vcsrepo { '/path/to/repo':
676676
source => 'http://svnrepo/hello/trunk',
677677
includes => [
678678
'root-file.txt',
679-
'checkout-folder',
680679
'file/this-file.txt',
680+
'checkout-folder',
681681
'folder/this-folder/',
682682
]
683683
}
@@ -690,14 +690,14 @@ vcsrepo { '/path/to/repo':
690690
source => '[email protected]:project.git',
691691
includes => [
692692
'root-file.txt',
693-
'checkout-folder',
694693
'file/this-file.txt',
694+
'checkout-folder',
695695
'folder/this-folder/',
696696
]
697697
}
698698
~~~
699699

700-
This will create files `/path/to/repo/file-at-root-path.txt` and `/path/to/repo/file/nested/within/repo.jmx`, with folders `/path/to/repo/some-folder` and `/path/to/repo/nested/folder/to/checkout` completely recreating their corresponding working tree path.
700+
This will create files `/path/to/repo/root-file.txt` and `/path/to/repo/file/this-file.txt`, with folders `/path/to/repo/checkout-folder` and `/path/to/repo/folder/this-folder/` completely recreating their corresponding working tree path.
701701

702702
When specified, the `depth` parameter will also be applied to the `includes` -- the root directory will be checked out using an `empty` depth, and the `includes` you specify will be checked out using the `depth` you provide.
703703

0 commit comments

Comments
 (0)