Patch for pack repositories

Goffredo Baroncelli kreijack at tiscalinet.it
Sun Dec 23 19:29:46 GMT 2007


Thank you, patch applied (revid=255).

http://goffredo-baroncelli.homelinux.net/bazaar-dev/bazaar-webserve-dev?cmd=revision;revid=kreijack%40inwind.it-20071223192311-ilg7838h465xhv9m


On Saturday 22 December 2007, you (Toshio Kuratomi) wrote:
> Goffredo Baroncelli wrote:
> > 
> > Thank you Toshio for your patch. 
> > The solution is more simple: in your configure file you set the "lock" 
> > variable to '1' you solve the problem.
> > 
> > I update bazaar webserve in order to remove this variable from the config, 
and 
> > set it to 1 as default.
> > 
> > 
http://goffredo-baroncelli.homelinux.net/bazaar/webserve-repository/bazaar-webserve-dev
> > 
> Excellent!  That works great for the lock problem with pack repositories.
> 
> However, rev 254 breaks setting values in the DEFAULT section of the
> config file for me.  If you have::
> 
>   [DEFAULT]
>   template="/path/to/templates"
>   [branch]
>   ; no template variable set
> 
>   code:
>   templates = get("branch", "template", "/default/in/code")
> 
> currently the code will return "/default/in/code" in preference to
> "/path/to/templates".
> 
> Additionally, the check for a default value will never return true as it
> needs to check in the "DEFAULT" section instead of "branch".
> 
> Simple patch attached.
> 
> -Toshio
> 



-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87  87C0 BB86 505C 6B2A CFF9



More information about the bazaar mailing list