[PATCH] mq: hgwebdir walk .hg/patches/.hg when using collections

Thomas Arendsen Hein thomas at intevation.de
Thu Aug 30 11:28:25 CDT 2007


* OHASHI Hideya <ohachige at gmail.com> [20070829 17:27]:
> # HG changeset patch
> # User OHASHI Hideya <ohachige at gmail.com>
> # Date 1188400706 -32400
> # Node ID 35ce0415dd505a5ee80d5910061e2803aef04506
> # Parent  8a0fefa9f16c3553631c129a7028959dfffd5af3
> mq: hgwebdir walk .hg/patches/.hg when using collections
> 
> +util.walkrepos = mq_walkrepos

That's a nice trick to only look at .hg/patches/.hg when mq is
loaded, but maybe this could be more generalized, e.g. if people
use qsave to save the current patch queue to a published queue, or
if people want to have mq loaded, but not published.

Maybe just make util.walkrepos configurable with a list of
directories below .hg to walk, maybe even default to ['patches'].

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list