Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.2, 0.8.3, and 0.9

setup: do not create config.py inside a repository

Some defense against messing up a live environment

Changeset 66ff6509221e

Parent 8c43d1c71095

by Steve Borho

Changes to one file · Browse files at 66ff6509221e Showing diff from parent 8c43d1c71095 Diff from another changeset...

Change 1 of 1 Show Entire File setup.py Stacked
 
125
126
127
128
 
129
130
131
 
125
126
127
 
128
129
130
131
@@ -125,7 +125,7 @@
    # Create a config.py. Distributions will need to supply their own   cfgfile = os.path.join('thgutil', 'config.py') - if not os.path.exists(cfgfile): + if not os.path.exists(cfgfile) and not os.path.exists('.hg/requires'):   f = open(cfgfile, "w")   f.write('bin_path = "/usr/bin"\n')   f.write('license_path = "/usr/share/doc/tortoisehg/Copying.txt.gz"\n')