Changeset View
Changeset View
Standalone View
Standalone View
plugins/subversion/kdevsvncpp/client_status.cpp
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 47 | { | |||
---|---|---|---|---|---|
193 | } | 193 | } | ||
194 | 194 | | |||
195 | StatusEntries | 195 | StatusEntries | ||
196 | Client::status(const char * path, | 196 | Client::status(const char * path, | ||
197 | const bool descend, | 197 | const bool descend, | ||
198 | const bool get_all, | 198 | const bool get_all, | ||
199 | const bool update, | 199 | const bool update, | ||
200 | const bool no_ignore, | 200 | const bool no_ignore, | ||
201 | const bool ignore_externals) throw(ClientException) | 201 | const bool ignore_externals) | ||
202 | { | 202 | { | ||
203 | if (Url::isValid(path)) | 203 | if (Url::isValid(path)) | ||
204 | { | 204 | { | ||
205 | StatusEntries entries; | 205 | StatusEntries entries; | ||
206 | remoteStatus(this, path, descend, entries, m_context); | 206 | remoteStatus(this, path, descend, entries, m_context); | ||
207 | return entries; | 207 | return entries; | ||
208 | } | 208 | } | ||
209 | else | 209 | else | ||
▲ Show 20 Lines • Show All 99 Lines • ▼ Show 20 Line(s) | 218 | public: | |||
309 | } | 309 | } | ||
310 | 310 | | |||
311 | 311 | | |||
312 | svn_revnum_t | 312 | svn_revnum_t | ||
313 | Client::status(const char * path, | 313 | Client::status(const char * path, | ||
314 | const StatusFilter & filter, | 314 | const StatusFilter & filter, | ||
315 | const bool descend, | 315 | const bool descend, | ||
316 | const bool update, | 316 | const bool update, | ||
317 | StatusEntries & entries) throw(ClientException) | 317 | StatusEntries & entries) | ||
318 | { | 318 | { | ||
319 | entries.clear(); | 319 | entries.clear(); | ||
320 | 320 | | |||
321 | if (Url::isValid(path)) | 321 | if (Url::isValid(path)) | ||
322 | return remoteStatus(this, path, descend, | 322 | return remoteStatus(this, path, descend, | ||
323 | entries, m_context); | 323 | entries, m_context); | ||
324 | else | 324 | else | ||
325 | { | 325 | { | ||
326 | // remote URLs only need a subset of the filters: | 326 | // remote URLs only need a subset of the filters: | ||
327 | // we dont expect any modified, conflicting, unknown, | 327 | // we dont expect any modified, conflicting, unknown, | ||
328 | // ignored entries. And externals arent visible there anyhow | 328 | // ignored entries. And externals arent visible there anyhow | ||
329 | return localFilteredStatus( | 329 | return localFilteredStatus( | ||
330 | path, filter, descend, update, entries, m_context); | 330 | path, filter, descend, update, entries, m_context); | ||
331 | } | 331 | } | ||
332 | } | 332 | } | ||
333 | 333 | | |||
334 | 334 | | |||
335 | 335 | | |||
336 | const LogEntries * | 336 | const LogEntries * | ||
337 | Client::log(const char * path, const Revision & revisionStart, | 337 | Client::log(const char * path, const Revision & revisionStart, | ||
338 | const Revision & revisionEnd, bool discoverChangedPaths, | 338 | const Revision & revisionEnd, bool discoverChangedPaths, | ||
339 | bool strictNodeHistory) throw(ClientException) | 339 | bool strictNodeHistory) | ||
340 | { | 340 | { | ||
341 | Pool pool; | 341 | Pool pool; | ||
342 | Targets target(path); | 342 | Targets target(path); | ||
343 | LogEntries * entries = new LogEntries(); | 343 | LogEntries * entries = new LogEntries(); | ||
344 | svn_error_t *error; | 344 | svn_error_t *error; | ||
345 | int limit = 0; | 345 | int limit = 0; | ||
346 | 346 | | |||
347 | error = svn_client_log2( | 347 | error = svn_client_log2( | ||
Show All 35 Lines | 378 | { | |||
383 | return nullptr; | 383 | return nullptr; | ||
384 | } | 384 | } | ||
385 | 385 | | |||
386 | 386 | | |||
387 | InfoVector | 387 | InfoVector | ||
388 | Client::info(const Path & pathOrUrl, | 388 | Client::info(const Path & pathOrUrl, | ||
389 | bool recurse, | 389 | bool recurse, | ||
390 | const Revision & revision, | 390 | const Revision & revision, | ||
391 | const Revision & pegRevision) throw(ClientException) | 391 | const Revision & pegRevision) | ||
392 | { | 392 | { | ||
393 | Pool pool; | 393 | Pool pool; | ||
394 | InfoVector infoVector; | 394 | InfoVector infoVector; | ||
395 | 395 | | |||
396 | svn_error_t * error = | 396 | svn_error_t * error = | ||
397 | svn_client_info(pathOrUrl.c_str(), | 397 | svn_client_info(pathOrUrl.c_str(), | ||
398 | pegRevision.revision(), | 398 | pegRevision.revision(), | ||
399 | revision.revision(), | 399 | revision.revision(), | ||
Show All 19 Lines |