Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

Merge with stable

Changeset a90ac18314da

Parents 3f73cd16cdb0

Parents 1113418ed4f2

by Steve Borho

Changes to one file · Browse files at a90ac18314da Showing diff from parent 3f73cd16cdb0 1113418ed4f2 Diff from another changeset...

 
1054
1055
1056
1057
1058
1059
1060
 
 
 
 
 
 
 
 
 
1061
1062
1063
 
1054
1055
1056
 
 
 
 
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
@@ -1054,10 +1054,15 @@
  if os.path.exists(fn):   break   else: - fn = rcpath[0] - f = open(fn, 'w') - f.write(_('# Generated by tortoisehg-config\n')) - f.close() + for fn in rcpath: + # Try to create a file from rcpath + try: + f = open(fn, 'w') + f.write(_('# Generated by tortoisehg-config\n')) + f.close() + break + except (IOError, OSError): + pass   self.fn = fn   try:   import iniparse