else:
year = "19" + year
- rcsdate = day + " " + months[int(month)] + " " + year + " " + tod
+ rcsdate = day + " " + months[int(month)-1] + " " + year + " " + tod
progress("==> file %s, rev=%s, date=%s, author=%s" \
% (stem, rev, rcsdate, author))
get_output_or_die("get -e -r%s SCCS/s.%s" % (rev, stem))
lckrev = ".".join(revparts[:-1])
if re.match(r"[0-9]+\."):
# need to lock the branch -- it is OK if the lock fails
+ # Above comment was from Brian Berliner's csh version,
+ # but it's not at all clear why this lock can be allowed
+ # to fail while the trunk one must succeed.
get_output("rcs -l%s %s" % (lckrev, stem))
progress("got branch lock")
else: