Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

sync, settings: always create hgrc files with unix eoln

INIParse always adds new entries with unix eoln, so it behooves us to create
files with that eoln to start with.

Changeset 24a354d1895b

Parent 339a2e9f49c9

by Steve Borho

Changes to 2 files · Browse files at 24a354d1895b Showing diff from parent 339a2e9f49c9 Diff from another changeset...

 
902
903
904
905
 
906
907
908
 
902
903
904
 
905
906
907
908
@@ -902,7 +902,7 @@
  for fn in rcpath:   # Try to create a file from rcpath   try: - f = open(fn, 'w') + f = open(fn, 'wb')   f.write('# Generated by TortoiseHg setting dialog\n')   f.close()   break
 
1142
1143
1144
1145
 
1146
1147
1148
 
1142
1143
1144
 
1145
1146
1147
1148
@@ -1142,7 +1142,7 @@
  for fn in rcpath:   # Try to create a file from rcpath   try: - f = open(fn, 'w') + f = open(fn, 'wb')   f.write('# Generated by TortoiseHg\n')   f.close()   break