Blame SOURCES/rcs-5.9-rlog_fix_locks.patch

c5239e
diff -up rcs-5.9.0/src/rlog.c.fix_locks rcs-5.9.0/src/rlog.c
c5239e
--- rcs-5.9.0/src/rlog.c.fix_locks	2019-04-24 18:24:50.631189377 +0200
c5239e
+++ rcs-5.9.0/src/rlog.c	2019-04-24 18:25:03.060364074 +0200
c5239e
@@ -894,7 +894,6 @@ rlog_main (const char *cmd, int argc, ch
c5239e
         repo_filename = REPO (filename);
c5239e
         tip = REPO (tip);
c5239e
         defbr = GROK (branch);
c5239e
-        locks = GROK (locks);
c5239e
         strictly_locking = BE (strictly_locking);
c5239e
         kws = BE (kws);
c5239e
 
c5239e
@@ -902,6 +901,8 @@ rlog_main (const char *cmd, int argc, ch
c5239e
         if (lockflag)
c5239e
           trunclocks (&criteria);
c5239e
 
c5239e
+        locks = GROK (locks);
c5239e
+
c5239e
         /* Do nothing if ā€˜-Lā€™ is given and there are no locks.  */
c5239e
         if (onlylockflag && !locks)
c5239e
           continue;