Plugins/VcsPlugins/vcsPySvn/SvnLogDialog.py

changeset 96
9624a110667d
parent 42
23b45a742e17
child 110
c9a969db1469
equal deleted inserted replaced
95:261bc03812fd 96:9624a110667d
6 """ 6 """
7 Module implementing a dialog to show the output of the svn log command process. 7 Module implementing a dialog to show the output of the svn log command process.
8 """ 8 """
9 9
10 import os 10 import os
11 import sys
12 11
13 import pysvn 12 import pysvn
14 13
15 from PyQt4.QtCore import * 14 from PyQt4.QtCore import *
16 from PyQt4.QtGui import * 15 from PyQt4.QtGui import *
94 93
95 locker = QMutexLocker(self.vcs.vcsExecutionMutex) 94 locker = QMutexLocker(self.vcs.vcsExecutionMutex)
96 cwd = os.getcwd() 95 cwd = os.getcwd()
97 os.chdir(dname) 96 os.chdir(dname)
98 try: 97 try:
98 nextRev = 0
99 fetched = 0 99 fetched = 0
100 logs = [] 100 logs = []
101 limit = noEntries or 9999999 101 limit = noEntries or 9999999
102 while fetched < limit: 102 while fetched < limit:
103 flimit = min(fetchLimit, limit - fetched) 103 flimit = min(fetchLimit, limit - fetched)

eric ide

mercurial