equal
deleted
inserted
replaced
32 d = os.getcwd() |
32 d = os.getcwd() |
33 try: |
33 try: |
34 os.chdir(self.path) |
34 os.chdir(self.path) |
35 id = None |
35 id = None |
36 state = 0 |
36 state = 0 |
37 for l in os.popen("cvsps -A -u --cvs-direct -q"): |
37 for l in os.popen("cvsps -A -u --cvs-direct -q 2>&1"): |
38 if state == 0: # header |
38 if state == 0: # header |
39 if l.startswith("PatchSet"): |
39 if l.startswith("PatchSet"): |
40 id = l[9:-2] |
40 id = l[9:-2] |
41 elif l.startswith("Date"): |
41 elif l.startswith("Date"): |
42 date = util.parsedate(l[6:-1], ["%Y/%m/%d %H:%M:%S"]) |
42 date = util.parsedate(l[6:-1], ["%Y/%m/%d %H:%M:%S"]) |