74 msg = "" |
74 msg = "" |
75 if eventDict["action"] == pysvn.wc_notify_action.update_completed: |
75 if eventDict["action"] == pysvn.wc_notify_action.update_completed: |
76 msg = self.trUtf8("Revision {0}.\n").format( |
76 msg = self.trUtf8("Revision {0}.\n").format( |
77 eventDict["revision"].number) |
77 eventDict["revision"].number) |
78 elif eventDict["path"] != "" and \ |
78 elif eventDict["path"] != "" and \ |
79 eventDict["action"] in svnNotifyActionMap and \ |
79 eventDict["action"] in svnNotifyActionMap and \ |
80 svnNotifyActionMap[eventDict["action"]] is not None: |
80 svnNotifyActionMap[eventDict["action"]] is not None: |
81 mime = eventDict["mime_type"] == "application/octet-stream" and \ |
81 mime = eventDict["mime_type"] == "application/octet-stream" and \ |
82 self.trUtf8(" (binary)") or "" |
82 self.trUtf8(" (binary)") or "" |
83 msg = self.trUtf8("{0} {1}{2}\n")\ |
83 msg = self.trUtf8("{0} {1}{2}\n")\ |
84 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]), |
84 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]), |
85 eventDict["path"], |
85 eventDict["path"], |