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

Method createWorkingCopy

plugins/bazaar/bazaarplugin.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105VcsJob* BazaarPlugin::createWorkingCopy(const VcsLocation& sourceRepository, const QUrl& destinationDirectory, IBasicVersionControl::RecursionMode recursion)
106{
107 Q_UNUSED(recursion);
108 // What is the purpose of recursion parameter?
109 auto* job = new DVcsJob(BazaarUtils::toQDir(sourceRepository.localUrl()), this);
110 job->setType(VcsJob::Import);
111 *job << "bzr" << "branch" << sourceRepository.localUrl().url() << destinationDirectory;
112 return job;
113}
114
115VcsJob* BazaarPlugin::diff(const QUrl& fileOrDirectory, const VcsRevision& srcRevision, const VcsRevision& dstRevision, IBasicVersionControl::RecursionMode recursion)
116{

Callers

nothing calls this directly

Calls 3

localUrlMethod · 0.80
setTypeMethod · 0.45
urlMethod · 0.45

Tested by

no test coverage detected