Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jplindquist committed May 2, 2024
1 parent 3ea6e07 commit d5b5da7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,8 @@ vcsrepo { '/path/to/repo':
source => 'http://svnrepo/hello/trunk',
includes => [
'root-file.txt',
'checkout-folder',
'file/this-file.txt',
'checkout-folder',
'folder/this-folder/',
]
}
Expand All @@ -690,14 +690,14 @@ vcsrepo { '/path/to/repo':
source => '[email protected]:project.git',
includes => [
'root-file.txt',
'checkout-folder',
'file/this-file.txt',
'checkout-folder',
'folder/this-folder/',
]
}
~~~

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.
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.

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.

Expand Down

0 comments on commit d5b5da7

Please sign in to comment.