Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable reporegistry: create config directory before saving initial file (fixes #1008)

Changeset 92e7048e21dc

Parent 2ce3df7f4f68

by Yuya Nishihara

Changes to one file · Browse files at 92e7048e21dc Showing diff from parent 2ce3df7f4f68 Diff from another changeset...

 
270
271
272
 
 
273
274
275
 
270
271
272
273
274
275
276
277
@@ -270,6 +270,8 @@
  # Note that we must make sure that the settings file exists before   # setting thefile watcher   if not os.path.exists(sfile): + if not os.path.exists(os.path.dirname(sfile)): + os.makedirs(os.path.dirname(sfile))   tv.model().write(sfile)   self.watcher = QFileSystemWatcher(self)   self.watcher.addPath(sfile)