eric6/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py

changeset 8259
2bbec88047dd
parent 8218
7c09585bd960
equal deleted inserted replaced
8258:82b608e352ec 8259:2bbec88047dd
84 self.activateWindow() 84 self.activateWindow()
85 85
86 if self.mode not in (self.INCOMING, self.OUTGOING): 86 if self.mode not in (self.INCOMING, self.OUTGOING):
87 raise ValueError("Bad value for mode") 87 raise ValueError("Bad value for mode")
88 88
89 if self.mode == self.INCOMING: 89 args = (
90 args = self.vcs.initCommand("incoming") 90 self.vcs.initCommand("incoming")
91 else: 91 if self.mode == self.INCOMING else
92 args = self.vcs.initCommand("outgoing") 92 self.vcs.initCommand("outgoing")
93 )
93 94
94 args.append('--bookmarks') 95 args.append('--bookmarks')
95 96
96 out, err = self.__hgClient.runcommand(args) 97 out, err = self.__hgClient.runcommand(args)
97 if err: 98 if err:

eric ide

mercurial