Plugins/VcsPlugins/vcsPySvn/SvnDialog.py

changeset 3037
a417a0670a36
parent 3009
bf5ae5d7477d
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3036:30c81c9e88b8 3037:a417a0670a36
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"],

eric ide

mercurial