Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/bookmarks.py

changeset 1253
4a994190cf8b
parent 1251
d40491ba96ce
child 1318
6fa303bd65d6
equal deleted inserted replaced
1252:ef9b2f7f1dd5 1253:4a994190cf8b
69 """ 69 """
70 args = [] 70 args = []
71 args.append('bookmarks') 71 args.append('bookmarks')
72 72
73 client = self.vcs.getClient() 73 client = self.vcs.getClient()
74 output = ""
74 if client: 75 if client:
75 output = client.runcommand(args)[0] 76 output = client.runcommand(args)[0]
76 else: 77 else:
77 ioEncoding = Preferences.getSystem("IOEncoding") 78 ioEncoding = Preferences.getSystem("IOEncoding")
78 process = QProcess() 79 process = QProcess()
259 else: 260 else:
260 args.append('outgoing') 261 args.append('outgoing')
261 args.append('--bookmarks') 262 args.append('--bookmarks')
262 263
263 client = self.vcs.getClient() 264 client = self.vcs.getClient()
265 output = ""
264 if client: 266 if client:
265 output = client.runcommand(args)[0] 267 output = client.runcommand(args)[0]
266 else: 268 else:
267 ioEncoding = Preferences.getSystem("IOEncoding") 269 ioEncoding = Preferences.getSystem("IOEncoding")
268 process = QProcess() 270 process = QProcess()

eric ide

mercurial