On Fri, Jan 22, 2010 at 02:16:58PM +0100, Jean Delvare wrote:
> Le vendredi 22 janvier 2010 13:58, Andreas Krebbel a écrit :
> > Hi,
> > > I share Josh's opinion that this would be much better handled by
> > > per-project quiltrc files, as others have already proposed in the
> > > past.
> > >
> > >   
> > But this requires me to create/copy that per-project quiltrc file whenever
> > checking out a different version of a project what I certainly will forget
> > to do.
> > 
> > Another point is that these per-project quiltrc files will usually only 
> > differ
> > in small parts. So when adjusting one of the settings you would like to have
> > for every project you have to locate every single per-project quiltrc file
> > and adjust that option.
> > 
> > I think the conditional args are the much more convenient approach.
> 
> You know, ~/.quiltrc is a bash script. If you like conditionals,
> feel tree to just code them using the bash syntax in your ~/.quiltrc
> file. This will be even more flexible that your proposal, and doesn't
> require any change to quilt.

Holy crap, I never realized that!

Wow, that makes things so much easier for me, I can change my .quiltrc
depending on the directory that I am in, keeping me from having to
constantly editing it to point to different patch repositories.

Jean, you just made my day, thanks so much.

Someone should go document this somewhere :)

thanks,

greg k-h


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to