811
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 .. _enable_git:
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 Enabling GIT support (beta)
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 ===========================
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 Git support in RhodeCode 1.1 was disabled due to some instability issues, but
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 If You would like to test it fell free to re-enable it. To enable GIT just
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 uncomment git line in rhodecode/__init__.py file
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 .. code-block:: python
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 BACKENDS = {
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 'hg': 'Mercurial repository',
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 #'git': 'Git repository',
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 }
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 .. note::
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 Please note that it's not fully stable and it might crash (that's why it
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 was disabled), so be carefull about enabling git support. Don't use it in
|
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
21 production ! |