Mercurial > kallithea
comparison docs/usage/vcs_support.rst @ 4971:9cef5a168b88
docs/usage: move Mercurial subrepository info to VCS support page
This commit moves the information verbatim, text changes will be done in a
subsequent commit.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Sun, 05 Apr 2015 21:03:42 +0200 |
parents | 601282d36c06 |
children | b52a1ccee927 |
comparison
equal
deleted
inserted
replaced
4970:601282d36c06 | 4971:9cef5a168b88 |
---|---|
42 threadpool_workers = | 42 threadpool_workers = |
43 threadpool_max_requests = | 43 threadpool_max_requests = |
44 use_threadpool = | 44 use_threadpool = |
45 | 45 |
46 | 46 |
47 Mercurial support | |
48 ----------------- | |
49 | |
50 Working with Mercurial subrepositories | |
51 `````````````````````````````````````` | |
52 Example usage of Subrepos with Kallithea:: | |
53 | |
54 ## init a simple repo | |
55 hg init repo1 | |
56 cd repo1 | |
57 echo "file1" > file1 | |
58 hg add file1 | |
59 hg ci --message "initial file 1" | |
60 | |
61 #clone subrepo we want to add | |
62 hg clone http://kallithea.local/subrepo | |
63 | |
64 ## use path like url to existing repo in Kallithea | |
65 echo "subrepo = http://kallithea.local/subrepo" > .hgsub | |
66 | |
67 hg add .hgsub | |
68 hg ci --message "added remote subrepo" | |
69 | |
70 | |
71 In the file list of a clone of ``repo1`` you will see a connected | |
72 subrepo at the revision it was at during cloning. Clicking in | |
73 subrepos link should send you to the proper repository in Kallithea. | |
74 | |
75 Cloning ``repo1`` will also clone the attached subrepository. | |
76 | |
77 Next we can edit the subrepo data, and push back to Kallithea. This will update | |
78 both of the repositories. | |
79 | |
80 See http://mercurial.aragost.com/kick-start/en/subrepositories/ for more | |
81 information about subrepositories. | |
47 | 82 |
48 .. _waitress: http://pypi.python.org/pypi/waitress | 83 .. _waitress: http://pypi.python.org/pypi/waitress |
49 .. _gunicorn: http://pypi.python.org/pypi/gunicorn | 84 .. _gunicorn: http://pypi.python.org/pypi/gunicorn |