[PATCH 0 of 1] preliminary support of subrepositories
Alexander Solovyov
piranha at piranha.org.ua
Wed Feb 4 19:45:08 UTC 2009
Hi,
this is patch, which adds support of subrepositories.
I thought I could split it in smaller patches but only things I could invent to
extract are commands.sublist and string prepending support in ui. I still can
do that if you like.
I'd like to hear your opinions on code: what's good and what's not, because
I'm not sure about some parts, particularly in dirstate.
But anyway it works. ;-)
How to use it?
Edit file .hgsubrepos (located in the repo root) to contain inner path to subrepo
and path to it's source, like:
apps/pingback http://hg.piranha.org.ua/django-pingback/
Spaces in the name or in the path are not supported: this should be solved
(any suggestions how?).
Then just run "hg add .hgsubrepos" and "hg update". Is that good enough? I'm not sure what to do if you'd like to add subrepo in old revision - this will bring you to the tip...
I hope I haven't forgot anything I planned to say. If I had, I'll follow with a new mail. ;-)
More information about the Mercurial-devel
mailing list