Plugins/VcsPlugins/vcsPySvn/SvnDialog.py

branch
5_2_x
changeset 1577
f41d8406c219
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
1575:3d8ba641a83d 1577:f41d8406c219
73 """ 73 """
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(eventDict["revision"].number) 76 msg = self.trUtf8("Revision {0}.\n").format(eventDict["revision"].number)
77 elif eventDict["path"] != "" and \ 77 elif eventDict["path"] != "" and \
78 eventDict["action"] in svnNotifyActionMap and \
78 svnNotifyActionMap[eventDict["action"]] is not None: 79 svnNotifyActionMap[eventDict["action"]] is not None:
79 mime = eventDict["mime_type"] == "application/octet-stream" and \ 80 mime = eventDict["mime_type"] == "application/octet-stream" and \
80 self.trUtf8(" (binary)") or "" 81 self.trUtf8(" (binary)") or ""
81 msg = self.trUtf8("{0} {1}{2}\n")\ 82 msg = self.trUtf8("{0} {1}{2}\n")\
82 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]), 83 .format(self.trUtf8(svnNotifyActionMap[eventDict["action"]]),

eric ide

mercurial