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

mr: Lazy processing of repositories

2011-11-03 Thread Svend Sorensen
I'm using mr to manage the repositories for the various software that I track. However, I don't want to check out all the repos by default. (The list is getting long). I also don't want to make a modification to the .mrconfig each time I want to check out a repo. (E.g. have 'skip = true' on all

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: Lazy processing of repositories

2011-11-03 Thread Joey Hess
Svend Sorensen wrote: I'm using mr to manage the repositories for the various software that I track. However, I don't want to check out all the repos by default. (The list is getting long). I also don't want to make a modification to the .mrconfig each time I want to check out a repo. (E.g.

Re: mr: Lazy processing of repositories

2011-11-03 Thread Svend Sorensen
On Thu, Nov 03, 2011 at 01:56:53PM -0400, Joey Hess wrote: Good idea! In mr git, you can now use skip = lazy to get this behavior. Thanks for implementing this feature! The lazy shell function is built into mr, but this shows how it works: lazy() { if [ $MR_ACTION

Re: mr: Lazy processing of repositories

2011-11-03 Thread Joey Hess
Svend Sorensen wrote: How do I force mr to checkout a lazy repo? 'mr checkout' seems to ignore any arguments, so 'mr checkout repo' skips repos that have 'skip = lazy'. If I manually create the repo directory, mr thinks the repo is already checked out. Yes, this is a use case for mr checkout

Re: mr: Lazy processing of repositories

2011-11-03 Thread Joey Hess
Joey Hess wrote: Svend Sorensen wrote: How do I force mr to checkout a lazy repo? 'mr checkout' seems to ignore any arguments, so 'mr checkout repo' skips repos that have 'skip = lazy'. If I manually create the repo directory, mr thinks the repo is already checked out. Yes, this is a