105 @param date date info (integer) |
105 @param date date info (integer) |
106 @param nodekind node kind info (pysvn.node_kind) |
106 @param nodekind node kind info (pysvn.node_kind) |
107 @param url url of the entry (string) |
107 @param url url of the entry (string) |
108 @return reference to the generated item (QTreeWidgetItem) |
108 @return reference to the generated item (QTreeWidgetItem) |
109 """ |
109 """ |
110 if repopath == "/": |
110 path = url if repopath == "/" else url.split("/")[-1] |
111 path = url |
111 |
112 else: |
112 rev = revision.number if revision else "" |
113 path = url.split("/")[-1] |
113 dt = formatTime(date) if date else "" |
114 |
|
115 if revision == "": |
|
116 rev = "" |
|
117 else: |
|
118 rev = revision.number |
|
119 if date == "": |
|
120 dt = "" |
|
121 else: |
|
122 dt = formatTime(date) |
|
123 if author is None: |
114 if author is None: |
124 author = "" |
115 author = "" |
125 |
116 |
126 itm = QTreeWidgetItem(parent) |
117 itm = QTreeWidgetItem(parent) |
127 itm.setData(0, Qt.ItemDataRole.DisplayRole, path) |
118 itm.setData(0, Qt.ItemDataRole.DisplayRole, path) |