|
a/ForgeHg/forgehg/hg_main.py |
|
b/ForgeHg/forgehg/hg_main.py |
|
... |
|
... |
46 |
'''Create repo object for this tool'''
|
46 |
'''Create repo object for this tool'''
|
47 |
super(ForgeHgApp, self).install(project)
|
47 |
super(ForgeHgApp, self).install(project)
|
48 |
HM.Repository(
|
48 |
HM.Repository(
|
49 |
name=self.config.options.mount_point,
|
49 |
name=self.config.options.mount_point,
|
50 |
tool='hg',
|
50 |
tool='hg',
|
51 |
status='initing')
|
51 |
status='initializing')
|
52 |
ThreadLocalORMSession.flush_all()
|
52 |
ThreadLocalORMSession.flush_all()
|
53 |
cloned_from_project_id = self.config.options.get('cloned_from_project_id')
|
53 |
cloned_from_project_id = self.config.options.get('cloned_from_project_id')
|
54 |
cloned_from_repo_id = self.config.options.get('cloned_from_repo_id')
|
54 |
cloned_from_repo_id = self.config.options.get('cloned_from_repo_id')
|
55 |
init_from_url = self.config.options.get('init_from_url')
|
55 |
init_from_url = self.config.options.get('init_from_url')
|
56 |
if cloned_from_project_id is not None:
|
56 |
if cloned_from_project_id is not None:
|