Mercurial > hg > hgpaste
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:047850e4bb4c |
---|---|
1 def make_app(global_conf, config_file): | |
2 from mercurial import demandimport; demandimport.enable() | |
3 from mercurial.hgweb.hgwebdir_mod import hgwebdir | |
4 application = hgwebdir(config_file) | |
5 return application | |
6 | |
7 if __name__ == '__main__': | |
8 app = make_app() | |
9 print app |