~openerp-chinese-team/openobject-doc/Chinese-init

« back to all changes in this revision

Viewing changes to i18n/zh_CN/source/contribute/bazaar_faq.rst

  • Committer: JoshuaJan
  • Date: 2012-12-04 01:36:44 UTC
  • Revision ID: popkar77@gmail.com-20121204013644-k25kpyac672wxe22
Chinese initialization

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: .. _bazaar-faq-link:
 
3
.. i18n: 
 
4
.. i18n: F.A.Q on Bazaar version control system
 
5
.. i18n: --------------------------------------
 
6
..
 
7
 
 
8
.. _bazaar-faq-link:
 
9
 
 
10
F.A.Q on Bazaar version control system
 
11
--------------------------------------
 
12
 
 
13
.. i18n: .. contents::
 
14
..
 
15
 
 
16
.. contents::
 
17
 
 
18
.. i18n: How to install bazaar ?
 
19
.. i18n: +++++++++++++++++++++++
 
20
..
 
21
 
 
22
How to install bazaar ?
 
23
+++++++++++++++++++++++
 
24
 
 
25
.. i18n: To install bazaar on any ubuntu distribution, you can use::
 
26
.. i18n: 
 
27
.. i18n:   apt-get install bzr
 
28
..
 
29
 
 
30
To install bazaar on any ubuntu distribution, you can use::
 
31
 
 
32
  apt-get install bzr
 
33
 
 
34
.. i18n: To work correctly, bzr version must be at least 1.3. Check it with the command::
 
35
.. i18n: 
 
36
.. i18n:   bzr --version
 
37
..
 
38
 
 
39
To work correctly, bzr version must be at least 1.3. Check it with the command::
 
40
 
 
41
  bzr --version
 
42
 
 
43
.. i18n: If you have an older version check this url: http://bazaar-vcs.org/Download
 
44
..
 
45
 
 
46
If you have an older version check this url: http://bazaar-vcs.org/Download
 
47
 
 
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
 
50
..
 
51
 
 
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
 
54
 
 
55
.. i18n: How to create a login on launchpad ?
 
56
.. i18n: ++++++++++++++++++++++++++++++++++++
 
57
..
 
58
 
 
59
How to create a login on launchpad ?
 
60
++++++++++++++++++++++++++++++++++++
 
61
 
 
62
.. i18n: Before you can commit on launchpad, you need to create a login.
 
63
..
 
64
 
 
65
Before you can commit on launchpad, you need to create a login.
 
66
 
 
67
.. i18n: Go to: https://launchpad.net --> log in / register on top right.
 
68
..
 
69
 
 
70
Go to: https://launchpad.net --> log in / register on top right.
 
71
 
 
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.
 
73
..
 
74
 
 
75
Enter your e-mail address and wait for an e-mail which will guide you through the process needed to create your login.
 
76
 
 
77
.. i18n: This login is only needed if you intend to commit on bazaar on openerp-commiter or on your own branch.
 
78
..
 
79
 
 
80
This login is only needed if you intend to commit on bazaar on openerp-commiter or on your own branch.
 
81
 
 
82
.. i18n: How to commit ?
 
83
.. i18n: +++++++++++++++
 
84
..
 
85
 
 
86
How to commit ?
 
87
+++++++++++++++
 
88
 
 
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
 
91
.. i18n: commit.
 
92
..
 
93
 
 
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
 
96
commit.
 
97
 
 
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
 
100
..
 
101
 
 
102
I advise you to follow these instructions to complete the creation of your
 
103
ssh keys: https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
 
104
 
 
105
.. i18n: How to use Bazaar ?
 
106
.. i18n: +++++++++++++++++++
 
107
..
 
108
 
 
109
How to use Bazaar ?
 
110
+++++++++++++++++++
 
111
 
 
112
.. i18n: There are two ways to work on bzr. Either you make a checkout or create a local branch.
 
113
..
 
114
 
 
115
There are two ways to work on bzr. Either you make a checkout or create a local branch.
 
116
 
 
117
.. i18n: Checkout method::
 
118
.. i18n: 
 
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
 
122
..
 
123
 
 
124
Checkout method::
 
125
 
 
126
  bzr co lp:~openerp/openobject-addons/trunk -- to make a checkout
 
127
  bzr up                                     -- to make an update
 
128
  bzr ci                                     -- to commit
 
129
 
 
130
.. i18n: Creating a branch::
 
131
.. i18n: 
 
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
 
135
..
 
136
 
 
137
Creating a branch::
 
138
 
 
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
 
142
 
 
143
.. i18n: In any case, when you experience some problems, you can do::
 
144
.. i18n: 
 
145
.. i18n:   bzr help
 
146
..
 
147
 
 
148
In any case, when you experience some problems, you can do::
 
149
 
 
150
  bzr help
 
151
 
 
152
.. i18n: or ``bzr help <command>``. e.g.::
 
153
.. i18n: 
 
154
.. i18n:   bzr help branch
 
155
..
 
156
 
 
157
or ``bzr help <command>``. e.g.::
 
158
 
 
159
  bzr help branch
 
160
 
 
161
.. i18n: Some problems
 
162
.. i18n: +++++++++++++
 
163
..
 
164
 
 
165
Some problems
 
166
+++++++++++++
 
167
 
 
168
.. i18n: Checkout does not work, I have this message error::
 
169
.. i18n: 
 
170
.. i18n:   bzr lp:~<url> 
 
171
.. i18n:   bzr: ERROR: Repository KnitPackRepository is not compatible with repository RemoteRepository
 
172
..
 
173
 
 
174
Checkout does not work, I have this message error::
 
175
 
 
176
  bzr lp:~<url> 
 
177
  bzr: ERROR: Repository KnitPackRepository is not compatible with repository RemoteRepository
 
178
 
 
179
.. i18n: There are two ways to correct it.
 
180
..
 
181
 
 
182
There are two ways to correct it.
 
183
 
 
184
.. i18n: Instead of using ``bzr co lp:~<url>``, use ``bzr co bzr+ssh://<yourlaunchpad login>@bazaar.launchpad.net/~<url>``
 
185
..
 
186
 
 
187
Instead of using ``bzr co lp:~<url>``, use ``bzr co bzr+ssh://<yourlaunchpad login>@bazaar.launchpad.net/~<url>``
 
188
 
 
189
.. i18n: check this url: https://bugs.launchpad.net/bzr/+bug/205579. Generally, you do::
 
190
.. i18n: 
 
191
.. i18n:  bzr branch lp:~<url> 
 
192
.. i18n:  bzr reconfigure --checkout
 
193
..
 
194
 
 
195
check this url: https://bugs.launchpad.net/bzr/+bug/205579. Generally, you do::
 
196
 
 
197
 bzr branch lp:~<url> 
 
198
 bzr reconfigure --checkout