equal
deleted
inserted
replaced
331 return name |
331 return name |
332 return None |
332 return None |
333 |
333 |
334 def createhgrc(path, options): |
334 def createhgrc(path, options): |
335 # create a fresh hgrc |
335 # create a fresh hgrc |
336 hgrc = open(path, 'w+') |
336 hgrc = open(path, 'w') |
337 hgrc.write('[ui]\n') |
337 hgrc.write('[ui]\n') |
338 hgrc.write('slash = True\n') |
338 hgrc.write('slash = True\n') |
339 hgrc.write('interactive = False\n') |
339 hgrc.write('interactive = False\n') |
340 hgrc.write('[defaults]\n') |
340 hgrc.write('[defaults]\n') |
341 hgrc.write('backout = -d "0 0"\n') |
341 hgrc.write('backout = -d "0 0"\n') |