343 |
343 |
344 # step 2: determine status of files |
344 # step 2: determine status of files |
345 allFiles = self.client.status( |
345 allFiles = self.client.status( |
346 name, recurse=recurse, get_all=verbose, |
346 name, recurse=recurse, get_all=verbose, |
347 ignore=True, update=update) |
347 ignore=True, update=update) |
348 counter = 0 |
348 for counter, file in enumerate(allFiles): |
349 for file in allFiles: |
|
350 uptodate = True |
349 uptodate = True |
351 if ( |
350 if ( |
352 file.repos_text_status != |
351 file.repos_text_status != |
353 pysvn.wc_status_kind.none |
352 pysvn.wc_status_kind.none |
354 ): |
353 ): |
438 file.entry.commit_revision.number |
437 file.entry.commit_revision.number |
439 if file.entry else "", |
438 if file.entry else "", |
440 file.entry.commit_author if file.entry else "", |
439 file.entry.commit_author if file.entry else "", |
441 file.path |
440 file.path |
442 ) |
441 ) |
443 counter += 1 |
442 if counter % 30 == 0: |
444 if counter == 30: |
|
445 # check for cancel every 30 items |
443 # check for cancel every 30 items |
446 counter = 0 |
|
447 if self._clientCancelCallback(): |
444 if self._clientCancelCallback(): |
448 break |
445 break |
449 if self._clientCancelCallback(): |
446 if self._clientCancelCallback(): |
450 break |
447 break |
451 except pysvn.ClientError as e: |
448 except pysvn.ClientError as e: |