##// END OF EJS Templates
added simple subrepos docs
marcink -
r3073:e54ec821 beta
parent child Browse files
Show More
@@ -0,0 +1,37 b''
1 .. _subrepos:
2
3 =============================================
4 working with RhodeCode and mercurial subrepos
5 =============================================
6
7 example usage of Subrepos with RhodeCode::
8
9 ## init a simple repo
10 hg init repo1
11 cd repo1
12 echo "file1" > file1
13 hg add file1
14 hg ci --message "initial file 1"
15
16 #clone subrepo we want to add
17 hg clone http://rc.local/subrepo
18
19 ## use path like url to existing repo in RhodeCode
20 echo "subrepo = http://rc.local/subrepo" > .hgsub
21
22 hg add .hgsub
23 hg ci --message "added remote subrepo"
24
25
26
27 In file list of repo1 you will see a connected subrepo at revision it was
28 during cloning.
29 Clicking in subrepos link should send you to proper repository in RhodeCode
30
31 cloning repo1 will also clone attached subrepository.
32
33 Next we can edit the subrepo data, and push back to RhodeCode. This will update
34 both of repositories.
35
36 see http://mercurial.aragost.com/kick-start/en/subrepositories/ for more
37 information about subrepositories No newline at end of file
@@ -1,63 +1,64 b''
1 .. _index:
1 .. _index:
2
2
3 .. include:: ./../README.rst
3 .. include:: ./../README.rst
4
4
5 Users Guide
5 Users Guide
6 -----------
6 -----------
7
7
8 **Installation:**
8 **Installation:**
9
9
10 .. toctree::
10 .. toctree::
11 :maxdepth: 1
11 :maxdepth: 1
12
12
13 installation
13 installation
14 setup
14 setup
15 upgrade
15 upgrade
16
16
17 **Usage**
17 **Usage**
18
18
19 .. toctree::
19 .. toctree::
20 :maxdepth: 1
20 :maxdepth: 1
21
21
22 usage/general
22 usage/general
23 usage/git_support
23 usage/git_support
24 usage/performance
24 usage/performance
25 usage/locking
25 usage/locking
26 usage/statistics
26 usage/statistics
27 usage/backup
27 usage/backup
28 usage/subrepos
28 usage/debugging
29 usage/debugging
29 usage/troubleshooting
30 usage/troubleshooting
30
31
31 **Develop**
32 **Develop**
32
33
33 .. toctree::
34 .. toctree::
34 :maxdepth: 1
35 :maxdepth: 1
35
36
36 contributing
37 contributing
37 changelog
38 changelog
38
39
39 **API**
40 **API**
40
41
41 .. toctree::
42 .. toctree::
42 :maxdepth: 1
43 :maxdepth: 1
43
44
44 api/api
45 api/api
45 api/models
46 api/models
46
47
47
48
48 Other topics
49 Other topics
49 ------------
50 ------------
50
51
51 * :ref:`genindex`
52 * :ref:`genindex`
52 * :ref:`search`
53 * :ref:`search`
53
54
54 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
55 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
55 .. _python: http://www.python.org/
56 .. _python: http://www.python.org/
56 .. _django: http://www.djangoproject.com/
57 .. _django: http://www.djangoproject.com/
57 .. _mercurial: http://mercurial.selenic.com/
58 .. _mercurial: http://mercurial.selenic.com/
58 .. _bitbucket: http://bitbucket.org/
59 .. _bitbucket: http://bitbucket.org/
59 .. _subversion: http://subversion.tigris.org/
60 .. _subversion: http://subversion.tigris.org/
60 .. _git: http://git-scm.com/
61 .. _git: http://git-scm.com/
61 .. _celery: http://celeryproject.org/
62 .. _celery: http://celeryproject.org/
62 .. _Sphinx: http://sphinx.pocoo.org/
63 .. _Sphinx: http://sphinx.pocoo.org/
63 .. _vcs: http://pypi.python.org/pypi/vcs No newline at end of file
64 .. _vcs: http://pypi.python.org/pypi/vcs
General Comments 0
You need to be logged in to leave comments. Login now