2144 res = EricMessageBox.yesNo( |
2144 res = EricMessageBox.yesNo( |
2145 self.__ui, |
2145 self.__ui, |
2146 self.tr("Create changegroup"), |
2146 self.tr("Create changegroup"), |
2147 self.tr("<p>The Mercurial changegroup file <b>{0}</b> " |
2147 self.tr("<p>The Mercurial changegroup file <b>{0}</b> " |
2148 "already exists. Overwrite it?</p>") |
2148 "already exists. Overwrite it?</p>") |
2149 .format(str(fpath)), |
2149 .format(fpath), |
2150 icon=EricMessageBox.Warning) |
2150 icon=EricMessageBox.Warning) |
2151 if not res: |
2151 if not res: |
2152 return |
2152 return |
2153 |
2153 |
2154 self.__lastChangeGroupPath = fpath.parent |
2154 self.__lastChangeGroupPath = str(fpath.parent) |
2155 |
2155 |
2156 args = self.initCommand("bundle") |
2156 args = self.initCommand("bundle") |
2157 if bundleAll: |
2157 if bundleAll: |
2158 args.append("--all") |
2158 args.append("--all") |
2159 for rev in revs: |
2159 for rev in revs: |