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

revdetails, manifestdialog: use repo.wjoin instead of os.path.join when possible

Changeset 0068b1c46f86

Parent e789a03fd91e

by Angel Ezquerra

Changes to 2 files · Browse files at 0068b1c46f86 Showing diff from parent e789a03fd91e Diff from another changeset...

 
278
279
280
281
 
282
283
284
 
287
288
289
290
 
291
292
293
294
295
 
296
297
298
 
278
279
280
 
281
282
283
284
 
287
288
289
 
290
291
292
293
294
 
295
296
297
298
@@ -278,7 +278,7 @@
  dlg.activateWindow()     def opensubrepo(self): - path = os.path.join(self._repo.root, self.path) + path = self._repo.wjoin(self.path)   if os.path.isdir(path):   self.linkActivated.emit(u'subrepo:'+hglib.tounicode(path))   else: @@ -287,12 +287,12 @@
  _("The selected subrepository does not exist on the working directory"))     def explore(self): - root = os.path.join(self._repo.root, self.path) + root = self._repo.wjoin(self.path)   if os.path.isdir(root):   QDesktopServices.openUrl(QUrl.fromLocalFile(root))     def terminal(self): - root = os.path.join(self._repo.root, self.path) + root = self._repo.wjoin(self.path)   if os.path.isdir(root):   qtlib.openshell(root)  
 
368
369
370
371
 
372
373
374
375
376
 
377
378
379
 
368
369
370
 
371
372
373
374
375
 
376
377
378
379
@@ -368,12 +368,12 @@
  _("The selected subrepository does not exist on the working directory"))     def explore(self): - root = os.path.join(self.repo.root, self.filelist.currentFile()) + root = self.repo.wjoin(self.filelist.currentFile())   if os.path.isdir(root):   QDesktopServices.openUrl(QUrl.fromLocalFile(root))     def terminal(self): - root = os.path.join(self.repo.root, self.filelist.currentFile()) + root = self.repo.wjoin(self.filelist.currentFile())   if os.path.isdir(root):   qtlib.openshell(root)