2
.. i18n: .. _bazaar-faq-link:
4
.. i18n: F.A.Q on Bazaar version control system
5
.. i18n: --------------------------------------
10
F.A.Q on Bazaar version control system
11
--------------------------------------
13
.. i18n: .. contents::
18
.. i18n: How to install bazaar ?
19
.. i18n: +++++++++++++++++++++++
22
How to install bazaar ?
23
+++++++++++++++++++++++
25
.. i18n: To install bazaar on any ubuntu distribution, you can use::
27
.. i18n: apt-get install bzr
30
To install bazaar on any ubuntu distribution, you can use::
34
.. i18n: To work correctly, bzr version must be at least 1.3. Check it with the command::
36
.. i18n: bzr --version
39
To work correctly, bzr version must be at least 1.3. Check it with the command::
43
.. i18n: If you have an older version check this url: http://bazaar-vcs.org/Download
46
If you have an older version check this url: http://bazaar-vcs.org/Download
48
.. i18n: On debian, in any distribution, the 1.5 version is working, you can get it on
49
.. i18n: this url: http://backports.org/debian/pool/main/b/bzr/bzr_1.5-1~bpo40+1_i386.deb
52
On debian, in any distribution, the 1.5 version is working, you can get it on
53
this url: http://backports.org/debian/pool/main/b/bzr/bzr_1.5-1~bpo40+1_i386.deb
55
.. i18n: How to create a login on launchpad ?
56
.. i18n: ++++++++++++++++++++++++++++++++++++
59
How to create a login on launchpad ?
60
++++++++++++++++++++++++++++++++++++
62
.. i18n: Before you can commit on launchpad, you need to create a login.
65
Before you can commit on launchpad, you need to create a login.
67
.. i18n: Go to: https://launchpad.net --> log in / register on top right.
70
Go to: https://launchpad.net --> log in / register on top right.
72
.. i18n: Enter your e-mail address and wait for an e-mail which will guide you through the process needed to create your login.
75
Enter your e-mail address and wait for an e-mail which will guide you through the process needed to create your login.
77
.. i18n: This login is only needed if you intend to commit on bazaar on openerp-commiter or on your own branch.
80
This login is only needed if you intend to commit on bazaar on openerp-commiter or on your own branch.
82
.. i18n: How to commit ?
83
.. i18n: +++++++++++++++
89
.. i18n: Once your login is created, you need to create some ssh keys and insert them on
90
.. i18n: your login page (see create ssh keys on the left). These ssh keys are needed to
94
Once your login is created, you need to create some ssh keys and insert them on
95
your login page (see create ssh keys on the left). These ssh keys are needed to
98
.. i18n: I advise you to follow these instructions to complete the creation of your
99
.. i18n: ssh keys: https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
102
I advise you to follow these instructions to complete the creation of your
103
ssh keys: https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
105
.. i18n: How to use Bazaar ?
106
.. i18n: +++++++++++++++++++
112
.. i18n: There are two ways to work on bzr. Either you make a checkout or create a local branch.
115
There are two ways to work on bzr. Either you make a checkout or create a local branch.
117
.. i18n: Checkout method::
119
.. i18n: bzr co lp:~openerp/openobject-addons/trunk -- to make a checkout
120
.. i18n: bzr up -- to make an update
121
.. i18n: bzr ci -- to commit
126
bzr co lp:~openerp/openobject-addons/trunk -- to make a checkout
127
bzr up -- to make an update
130
.. i18n: Creating a branch::
132
.. i18n: bzr branch lp:~<url> <local dir> -- to create a branch locally
133
.. i18n: bzr pull -- to update the branch
134
.. i18n: bzr push lp:~<url> -- to include your changes in the remote branch
139
bzr branch lp:~<url> <local dir> -- to create a branch locally
140
bzr pull -- to update the branch
141
bzr push lp:~<url> -- to include your changes in the remote branch
143
.. i18n: In any case, when you experience some problems, you can do::
148
In any case, when you experience some problems, you can do::
152
.. i18n: or ``bzr help <command>``. e.g.::
154
.. i18n: bzr help branch
157
or ``bzr help <command>``. e.g.::
161
.. i18n: Some problems
162
.. i18n: +++++++++++++
168
.. i18n: Checkout does not work, I have this message error::
170
.. i18n: bzr lp:~<url>
171
.. i18n: bzr: ERROR: Repository KnitPackRepository is not compatible with repository RemoteRepository
174
Checkout does not work, I have this message error::
177
bzr: ERROR: Repository KnitPackRepository is not compatible with repository RemoteRepository
179
.. i18n: There are two ways to correct it.
182
There are two ways to correct it.
184
.. i18n: Instead of using ``bzr co lp:~<url>``, use ``bzr co bzr+ssh://<yourlaunchpad login>@bazaar.launchpad.net/~<url>``
187
Instead of using ``bzr co lp:~<url>``, use ``bzr co bzr+ssh://<yourlaunchpad login>@bazaar.launchpad.net/~<url>``
189
.. i18n: check this url: https://bugs.launchpad.net/bzr/+bug/205579. Generally, you do::
191
.. i18n: bzr branch lp:~<url>
192
.. i18n: bzr reconfigure --checkout
195
check this url: https://bugs.launchpad.net/bzr/+bug/205579. Generally, you do::
198
bzr reconfigure --checkout