Plugins/VcsPlugins/vcsPySvn/SvnDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3037
a417a0670a36
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
76 msg = "" 76 msg = ""
77 if eventDict["action"] == pysvn.wc_notify_action.update_completed: 77 if eventDict["action"] == pysvn.wc_notify_action.update_completed:
78 msg = self.trUtf8("Revision {0}.\n").format( 78 msg = self.trUtf8("Revision {0}.\n").format(
79 eventDict["revision"].number) 79 eventDict["revision"].number)
80 elif eventDict["path"] != "" and \ 80 elif eventDict["path"] != "" and \
81 eventDict["action"] in svnNotifyActionMap and \ 81 eventDict["action"] in svnNotifyActionMap and \
82 svnNotifyActionMap[eventDict["action"]] is not None: 82 svnNotifyActionMap[eventDict["action"]] is not None:
83 mime = eventDict["mime_type"] == "application/octet-stream" and \ 83 mime = eventDict["mime_type"] == "application/octet-stream" and \
84 self.trUtf8(" (binary)") or "" 84 self.trUtf8(" (binary)") or ""
85 msg = self.trUtf8("{0} {1}{2}\n")\ 85 msg = self.trUtf8("{0} {1}{2}\n")\
86 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]), 86 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]),
87 eventDict["path"], 87 eventDict["path"],

eric ide

mercurial