push content of a symbolic link to remote server.
Arne Babenhauserheide
arne_bab at web.de
Tue Mar 28 19:05:02 UTC 2017
Uwe Brauer <oub at mat.ucm.es> writes:
> > Uwe Brauer <oub at mat.ucm.es> writes:
>
>
> > It would be (with name->path as symbolic link)
>
> > shell/repo1/lib->../repo3/lib
> > repo2/lib->../repo3/lib
> > repo3/lib
>
> Now I am more confused. Shell is supposed to be a repo as well? And now
> repo1 and repo2 contain softlinks to repo3? Suppose I change something
> in repo3/lib and want to push. Where do I execute the push command?
> I thought to set up subrepos in repo1 and repo2.
To synchronize, you do in the *shell*:
hg commit -Sm "commit subrepos" # or something like that
Now shell contains a revision which synchronizes repo1, repo2 and
repo3. People who clone shell will have repo1 setup with a symlink to
the correct version of repo3.
> Maybe I sent you, off list, a tar file of an example directory in order
> to see whether I understood you correctly.
You can do that.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170328/5047b6f5/attachment.asc>
More information about the Mercurial
mailing list