Plugins/VcsPlugins/vcsPySvn/subversion.py

changeset 3108
30521d7d3101
parent 3051
f08c20c91de7
child 3128
2d4ccc459f7e
equal deleted inserted replaced
3107:5b496e690984 3108:30521d7d3101
2450 except pysvn.ClientError: 2450 except pysvn.ClientError:
2451 pass 2451 pass
2452 locker.unlock() 2452 locker.unlock()
2453 2453
2454 return changelists 2454 return changelists
2455
2456 def svnUpgrade(self, path):
2457 """
2458 Public method to upgrade the working copy format.
2459
2460 @param path directory name to show change lists for (string)
2461 """
2462 client = self.getClient()
2463 dlg = \
2464 SvnDialog(self.trUtf8('Upgrade'),
2465 "upgrade {0}".format(path),
2466 client)
2467 QApplication.processEvents()
2468 locker = QMutexLocker(self.vcsExecutionMutex)
2469 try:
2470 client.upgrade(path)
2471 except pysvn.ClientError as e:
2472 dlg.showError(e.args[0])
2473 locker.unlock()
2474 dlg.finish()
2475 dlg.exec_()
2455 2476
2456 ########################################################################### 2477 ###########################################################################
2457 ## Private Subversion specific methods are below. 2478 ## Private Subversion specific methods are below.
2458 ########################################################################### 2479 ###########################################################################
2459 2480

eric ide

mercurial