forked from bruce/puppet-vcsrepo
-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ea6e07
commit d5b5da7
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/', | ||
] | ||
} | ||
|
@@ -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. | ||
|
||
|