[Mageia-dev] mgarepo log regression?

nicolas vigier boklm at mars-attacks.org
Wed Feb 15 18:20:08 CET 2012


On Wed, 15 Feb 2012, Anssi Hannula wrote:

> > 
> > Err no, this is an mgarepo regression. It should automatically escape
> > the logs when it fetches the log from SVN, and double-checking confirms
> > that mdv repsys does it correctly.
> > 
> > Or has this been intentionally changed at some point??
> 
> Actually, scratch that. There is just a bug that escaping isn't done
> correctly when '%' is the first character of an SVN log message line.
> 
> MgaRepo/log.py:
> unescaped_macro_pat = re.compile(r"([^%])%([^%])")
> 
> This matches "x%foo", but doesn't match "%foo".

I have commited this change to fix the problem :
http://svnweb.mageia.org/soft/build_system/mgarepo/trunk/MgaRepo/log.py?r1=265&r2=2956&view=patch



More information about the Mageia-dev mailing list