comparison contrib/convert-repo @ 4109:59de487f43d7

Change a bit cvsps arguments - Force updating the cache - Use internal cvs implementation, reducing overhead - Use quiet mode
author Edouard Gomez <ed.gomez@free.fr>
date Wed, 21 Feb 2007 00:38:06 +0100
parents 6b2909e84203
children b53c6f7dbb1f
comparison
equal deleted inserted replaced
4108:20af6a2f0b0e 4109:59de487f43d7
83 d = os.getcwd() 83 d = os.getcwd()
84 try: 84 try:
85 os.chdir(self.path) 85 os.chdir(self.path)
86 id = None 86 id = None
87 state = 0 87 state = 0
88 for l in os.popen("cvsps -A"): 88 for l in os.popen("cvsps -A -u --cvs-direct -q"):
89 if state == 0: # header 89 if state == 0: # header
90 if l.startswith("PatchSet"): 90 if l.startswith("PatchSet"):
91 id = l[9:-2] 91 id = l[9:-2]
92 elif l.startswith("Date"): 92 elif l.startswith("Date"):
93 date = util.parsedate(l[6:-1], ["%Y/%m/%d %H:%M:%S"]) 93 date = util.parsedate(l[6:-1], ["%Y/%m/%d %H:%M:%S"])