Re: mr: chaining to absolute paths

2011-11-06 Thread Adam Spiers
On Thu, Nov 3, 2011 at 5:46 PM, Joey Hess j...@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

Re: mr: chaining to absolute paths

2011-11-06 Thread Joey Hess
Adam Spiers wrote: 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

Re: mr: chaining to absolute paths

2011-11-03 Thread Adam Spiers
On Wed, Nov 02, 2011 at 05:02:13PM -0400, Joey Hess wrote: Adam Spiers wrote: I notice that chaining to absolute paths does not work, e.g.: Is this a feature or a bug? I would have thought it would be useful to chain to absolute paths. Probably because nobody noticed since when you're

Re: mr: chaining to absolute paths

2011-11-03 Thread Joey Hess
Adam Spiers wrote: On Wed, Nov 02, 2011 at 05:02:13PM -0400, Joey Hess wrote: Adam Spiers wrote: I notice that chaining to absolute paths does not work, e.g.: Is this a feature or a bug? I would have thought it would be useful to chain to absolute paths. Probably because nobody

Re: mr: chaining to absolute paths

2011-11-03 Thread Adam Spiers
On Thu, Nov 03, 2011 at 12:22:48PM -0400, Joey Hess wrote: Adam Spiers wrote: On Wed, Nov 02, 2011 at 05:02:13PM -0400, Joey Hess wrote: Adam Spiers wrote: I notice that chaining to absolute paths does not work, e.g.: Is this a feature or a bug? I would have thought it would be

Re: mr: chaining to absolute paths

2011-11-03 Thread Joey Hess
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

Re: mr: chaining to absolute paths

2011-11-02 Thread Joey Hess
Adam Spiers wrote: I notice that chaining to absolute paths does not work, e.g.: [$HOME/foo/bar] checkout = ... chain = true This is due to the way the chaining code checks for an .mrconfig in the chained repository: if ($parameter eq 'chain' length