--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Tue Apr 13 17:49:05 2021 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Tue Apr 13 18:02:59 2021 +0200 @@ -122,19 +122,11 @@ @param url url of the entry (string) @return reference to the generated item (QTreeWidgetItem) """ - path = repopath - - if revision == "": - rev = "" - else: - rev = int(revision) - if size == "": - sz = "" - else: - sz = int(size) + rev = "" if revision == "" else int(revision) + sz = "" if size == "" else int(size) itm = QTreeWidgetItem(self.parentItem) - itm.setData(0, Qt.ItemDataRole.DisplayRole, path) + itm.setData(0, Qt.ItemDataRole.DisplayRole, repopath) itm.setData(1, Qt.ItemDataRole.DisplayRole, rev) itm.setData(2, Qt.ItemDataRole.DisplayRole, author) itm.setData(3, Qt.ItemDataRole.DisplayRole, sz)