##// END OF EJS Templates
docs/usage: move Mercurial subrepository info to VCS support page...
Thomas De Schampheleire -
r4971:9cef5a16 default
parent child Browse files
Show More
@@ -32,7 +32,6 b' Administrators Guide'
32 usage/locking
32 usage/locking
33 usage/statistics
33 usage/statistics
34 usage/backup
34 usage/backup
35 usage/subrepos
36 usage/debugging
35 usage/debugging
37 usage/troubleshooting
36 usage/troubleshooting
38
37
@@ -44,6 +44,41 b' Also make sure to comment out the follow'
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
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now