MCPcopy Create free account
hub / github.com/KDE/kdevelop / commit

Method commit

plugins/bazaar/bazaarplugin.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81VcsJob* BazaarPlugin::commit(const QString& message, const QList<QUrl>& localLocations, IBasicVersionControl::RecursionMode recursion)
82{
83 if (localLocations.empty()) {
84 return makeVcsErrorJob(i18n("No files selected to commit"), this);
85 }
86
87 QDir dir = BazaarUtils::workingCopy(localLocations[0]);
88 auto* job = new DVcsJob(dir, this);
89 job->setType(VcsJob::Commit);
90
91 *job << "bzr" << "commit" << BazaarUtils::handleRecursion(localLocations, recursion) << "-m" << message;
92 return job;
93}
94
95VcsJob* BazaarPlugin::copy(const QUrl& localLocationSrc, const QUrl& localLocationDstn)
96{

Callers 3

commitFilesMethod · 0.45
testAnnotationMethod · 0.45

Calls 2

emptyMethod · 0.80
setTypeMethod · 0.45

Tested by 3

commitFilesMethod · 0.36
testAnnotationMethod · 0.36