Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.5, 2.1, and 2.1.1

stable reporegistry: use case insensitive search on windows

Changeset 5112a3c99143

Parent 03708ea6ee24

by Eduard-Cristian Stefan

Changes to one file · Browse files at 5112a3c99143 Showing diff from parent 03708ea6ee24 Diff from another changeset...

 
233
234
235
236
 
 
237
238
239
 
233
234
235
 
236
237
238
239
240
@@ -233,7 +233,8 @@
  return _('Local Repository %s') % hglib.tounicode(self._root)     def getRepoItem(self, reporoot): - if reporoot == self._root: + if (reporoot == self._root or + (os.name == 'nt' and reporoot.lower() == self._root.lower())):   return self   return None