170 args.append("parents") |
170 args.append("parents") |
171 if self.mode == "incoming": |
171 if self.mode == "incoming": |
172 if self.bundle: |
172 if self.bundle: |
173 args.append("--repository") |
173 args.append("--repository") |
174 args.append(self.bundle) |
174 args.append(self.bundle) |
175 elif self.vcs.bundleFile: |
175 elif self.vcs.bundleFile and os.path.exists(self.vcs.bundleFile): |
176 args.append("--repository") |
176 args.append("--repository") |
177 args.append(self.vcs.bundleFile) |
177 args.append(self.vcs.bundleFile) |
178 args.append("--template") |
178 args.append("--template") |
179 args.append("{rev}:{node|short}\n") |
179 args.append("{rev}:{node|short}\n") |
180 args.append("-r") |
180 args.append("-r") |