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"], |