Hi Christian Boos, On Thursday, January 10, 2013 7:09:56 PM UTC+5:30, Christian Boos wrote: > > Precisely, you should have a look at the implementation of that command, > `do_initenv`, you'll see it does a > `WikiAdmin(self.__env).load_pages(...)`). >
Thanks a lot for the pointer. I only had to add two more lines: pages_dir = pkg_resources.resource_filename('trac.wiki', 'default-pages') WikiAdmin(new_env).load_pages(pages_dir) Thanks, Vigneshwaran -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-dev/-/a90mPhHYZV4J. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.