diff options
author | Bruce Williams <bruce@codefluency.com> | 2010-03-14 01:19:13 -0800 |
---|---|---|
committer | Bruce Williams <bruce@codefluency.com> | 2010-03-14 01:19:13 -0800 |
commit | 67aa190396e686658aa72b7c3d91c6bed2d010af (patch) | |
tree | f04aecef985059a9d83a247d88e91946c705e405 /README.BZR.markdown | |
parent | 3ba51924b6a118dc5cedc37c607283bbdb9cbe54 (diff) | |
download | puppet-vcsrepo-67aa190396e686658aa72b7c3d91c6bed2d010af.tar.gz puppet-vcsrepo-67aa190396e686658aa72b7c3d91c6bed2d010af.tar.bz2 |
Working Bazaar support & docs
Diffstat (limited to 'README.BZR.markdown')
-rw-r--r-- | README.BZR.markdown | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/README.BZR.markdown b/README.BZR.markdown new file mode 100644 index 0000000..a7494db --- /dev/null +++ b/README.BZR.markdown @@ -0,0 +1,38 @@ +Using vcsrepo with Bazaar +========================= + +To create a blank repository +---------------------------- + +Define a `vcsrepo` without a `source` or `revision`: + + vcsrepo { "/path/to/repo": + ensure => present, + provider => bzr + } + +To branch from an existing repository +-------------------------------------: + +Provide the `source` location: + + vcsrepo { "/path/to/repo": + ensure => present, + provider => bzr, + source => 'lp:myproj' + } + +For a specific revision, use `revision` with a valid revisionspec +(see `bzr help revisionspec` for more information on formatting a revision): + + vcsrepo { "/path/to/repo": + ensure => present, + provider => bzr, + source => 'lp:myproj', + revision => 'menesis@pov.lt-20100309191856-4wmfqzc803fj300x' + } + +More Examples +------------- + +For examples you can run, see `examples/bzr/` |