67 |
67 |
68 reposRoot = rx_base.cap(1) |
68 reposRoot = rx_base.cap(1) |
69 self.repoRootLabel1.setText(reposRoot) |
69 self.repoRootLabel1.setText(reposRoot) |
70 self.repoRootLabel2.setText(reposRoot) |
70 self.repoRootLabel2.setText(reposRoot) |
71 else: |
71 else: |
72 ppath = e5App().getObject('Project').getProjectPath() |
72 project = e5App().getObject('Project') |
73 if path != ppath: |
73 if Utilities.normcasepath(path) != \ |
74 path = path.replace(ppath, '') |
74 Utilities.normcasepath(project.getProjectPath()): |
|
75 path = project.getRelativePath(path) |
75 reposURL = reposURL.replace(path, '') |
76 reposURL = reposURL.replace(path, '') |
76 self.repoRootLabel1.hide() |
77 self.repoRootLabel1.hide() |
77 self.typeCombo1.hide() |
78 self.typeCombo1.hide() |
78 self.labelCombo1.addItems([reposURL] + self.vcs.tagsList) |
79 self.labelCombo1.addItems([reposURL] + self.vcs.tagsList) |
79 self.labelCombo1.setEnabled(True) |
80 self.labelCombo1.setEnabled(True) |