using git submodules with vcsh

Andre Klärner kandre at ak-online.be
Sat Jan 5 12:22:36 CET 2013


Hi Edward,

On Fri, Jan 04, 2013 at 12:06:06PM -0800, Edward Steel wrote:
> On Fri, Jan 04, 2013 at 08:29:34PM +0100, Andre Klärner wrote:
> > first of all thanks to all creators of vcsh and the vcs-home project. It is
> > really cool to manage my homedir with ease and version my systems with git.
> > 
> > Anyway I wanted to use git submodules for using some foreigin parts in my
> > local config. I tried it the first time for my vim-repository, and it
> > worked perfectly fine. Than a month later I wanted to redo this for my
> > awesome repository, but I found out that both .gitmodules files collide in
> > my homedir. 
> > 
> > Has anyone found a way to use submodules in multiple vcsh repositories? I
> > check the git documentation, but it seems that there is no similar way like
> > for the gitignore files.
> 
> Is there something you need submodules for that can't be accomplished
> with mr? I imagine this use case hasn't been implemented because vcsh is
> generally used with mr (though I'm speculating).

The cool thing about using submodules it that it ties the version of the
submodule to the repo it is included. So if I need to replace it with a
specific version for another version I can do this within git and also
replicate it to all machines. I haven't seen a way to checkout a specific
commit with mr and only one config for multiple branches and machines.

Kind regards,

Andre

-- 
Andre Klärner


More information about the vcs-home mailing list