From 1949100d98359ec5456cfba99be5ea7a8d106429 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 13 Jul 2007 13:46:40 +0000 Subject: [PATCH] :Dm: is a 1-origin month. --- sccs2rcs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sccs2rcs b/sccs2rcs index 4479f58..1289bec 100755 --- a/sccs2rcs +++ b/sccs2rcs @@ -242,7 +242,7 @@ if __name__ == '__main__': 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)) @@ -282,6 +282,9 @@ if __name__ == '__main__': 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: -- 2.43.0