bzrweb?

Robey Pointer robey at lag.net
Fri Dec 2 02:41:31 GMT 2005


On 1 Dec 2005, at 3:54, Robert Collins wrote:

> On Wed, 2005-11-30 at 15:05 -0800, Robey Pointer wrote:
>>
>> I had to change one thing in hgweb.cgi to make it work with the
>> plugin being installed in .bazaar/plugins/ instead of directly  
>> into bzr:
>>
>> 	sys.path.insert(0, "/home/robey/.bazaar/plugins")
>> 	from webserve import hgweb
>>
>> This is probably not the right solution, but no variant of "import
>> bzrlib.plugins.webserve" was working.
>>
>> By the way, I highly recommend simpleTAL for templating.  It's small,
>> simple, and avoids you having to write yet another template  
>> engine. ;)
>
> You need to do:
> import bzrlib.plugin
> bzrlib.plugin.load_plugins()
> import bzrlib.plugins.webserve

Sadly, that doesn't work either.  ('No module named webserve.')

robey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/73abd3b3/attachment.pgp 


More information about the bazaar mailing list