Changeset 0068b1c46f86…
Parent e789a03fd91e…
by
Changes to 2 files · Browse files at 0068b1c46f86 Showing diff from parent e789a03fd91e Diff from another changeset...
@@ -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,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)
|
Loading...