Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

changeset 564
b3d966393ba9
parent 536
6d8d39753c82
child 791
9ec2ac20e54e
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
60 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0): 60 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0):
61 self.statusList.header().hideSection(self.__changelistColumn) 61 self.statusList.header().hideSection(self.__changelistColumn)
62 62
63 self.menuactions = [] 63 self.menuactions = []
64 self.menu = QMenu() 64 self.menu = QMenu()
65 self.menuactions.append(self.menu.addAction(\ 65 self.menuactions.append(self.menu.addAction(
66 self.trUtf8("Commit changes to repository..."), self.__commit)) 66 self.trUtf8("Commit changes to repository..."), self.__commit))
67 self.menu.addSeparator() 67 self.menu.addSeparator()
68 self.menuactions.append(self.menu.addAction(\ 68 self.menuactions.append(self.menu.addAction(
69 self.trUtf8("Add to repository"), self.__add)) 69 self.trUtf8("Add to repository"), self.__add))
70 self.menuactions.append(self.menu.addAction(\ 70 self.menuactions.append(self.menu.addAction(
71 self.trUtf8("Revert changes"), self.__revert)) 71 self.trUtf8("Revert changes"), self.__revert))
72 if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0): 72 if pysvn.svn_version >= (1, 5, 0) and pysvn.version >= (1, 6, 0):
73 self.menu.addSeparator() 73 self.menu.addSeparator()
74 self.menuactions.append(self.menu.addAction( 74 self.menuactions.append(self.menu.addAction(
75 self.trUtf8("Add to Changelist"), self.__addToChangelist)) 75 self.trUtf8("Add to Changelist"), self.__addToChangelist))
276 if file.path in changelistsDict: 276 if file.path in changelistsDict:
277 changelist = changelistsDict[file.path] 277 changelist = changelistsDict[file.path]
278 else: 278 else:
279 changelist = "" 279 changelist = ""
280 280
281 self.__generateItem(\ 281 self.__generateItem(
282 changelist, 282 changelist,
283 file.text_status, 283 file.text_status,
284 file.prop_status, 284 file.prop_status,
285 file.is_locked, 285 file.is_locked,
286 file.is_copied, 286 file.is_copied,

eric ide

mercurial