| 209 | } |
| 210 | |
| 211 | VcsJob* BazaarPlugin::push(const QUrl& localRepositoryLocation, const VcsLocation& localOrRepoLocationDst) |
| 212 | { |
| 213 | auto* job = new DVcsJob(BazaarUtils::workingCopy(localRepositoryLocation), this); |
| 214 | job->setType(VcsJob::JobType::Push); |
| 215 | *job << "bzr" << "push" << localOrRepoLocationDst.localUrl(); |
| 216 | // localUrl always makes sense. Even on remote repositories which are handled |
| 217 | // transparently. |
| 218 | return job; |
| 219 | } |
| 220 | |
| 221 | VcsJob* BazaarPlugin::remove(const QList<QUrl>& localLocations) |
| 222 | { |