summaryrefslogtreecommitdiff
path: root/README.BZR.markdown
blob: a7494db21eb66595b8978e32f460812aa599fb39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/`