Mercurial > hg > hgpaste
view hgpaste/factory.py @ 0:047850e4bb4c
initial version of hgpaste, http://www.coactivate.org/projects/topp-engineering/lists/topp-engineering-discussion/archive/2009/09/1252293278946
author | k0s <k0scist@gmail.com> |
---|---|
date | Mon, 07 Sep 2009 20:51:08 -0400 |
parents | |
children | f0832eb3f678 |
line wrap: on
line source
def make_app(global_conf, config_file): from mercurial import demandimport; demandimport.enable() from mercurial.hgweb.hgwebdir_mod import hgwebdir application = hgwebdir(config_file) return application if __name__ == '__main__': app = make_app() print app