equal
deleted
inserted
replaced
48 > # create the notify file so caller knows we're running |
48 > # create the notify file so caller knows we're running |
49 > fpath = os.path.join('$d', 'notify') |
49 > fpath = os.path.join('$d', 'notify') |
50 > f = open(fpath, 'w') |
50 > f = open(fpath, 'w') |
51 > f.close() |
51 > f.close() |
52 > # wait for ack - caller should delete the notify file |
52 > # wait for ack - caller should delete the notify file |
53 > i = $maxwait |
53 > i = int("$maxwait") |
54 > while os.path.exists(fpath) and i > 0: |
54 > while os.path.exists(fpath) and i > 0: |
55 > time.sleep(1) |
55 > time.sleep(1) |
56 > i -= 1 |
56 > i -= 1 |
57 > return True # reject the changesets |
57 > return True # reject the changesets |
58 > EOF |
58 > EOF |