mr: chaining to absolute paths

Adam Spiers vcs-home at adamspiers.org
Sun Nov 6 22:42:47 CET 2011


On Thu, Nov 3, 2011 at 5:46 PM, Joey Hess <joey at kitenet.net> wrote:
> Adam Spiers wrote:
>> > >   - Do you track your mrconfig files with version control?
>> >
>> > yes
>>
>> How do you do that?  Are they all in one repo?  How do you get each
>> one into the right subdirectory of ~ ?
>
> They're checked out by mr as part of the repositories that provide the
> subdirectories they're in.

Thanks for the info, but I'm confused because that doesn't seem to
correspond exactly with the layout you gave earlier.  For example, you
said that you have a ~/doc/.mrconfig, but you didn't say that there
was a repository tracking ~/doc itself - only that ~/doc had various
document repositories inside it.

So is your ~/doc/.mrconfig tracked by a repository?  If so it sounds
like you have nested repositories, which git would presumably detect
as submodules unless you are using a symlink manager?

Thanks!  By the way there are good reasons for my curiosity ;-)  I'm
mulling over a similar layout but want to avoid nested repositories
and also prefer a symlink manager to detached git working directories.


More information about the vcs-home mailing list