=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/getlog.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- src/usr.bin/cvs/getlog.c 2008/01/12 22:39:32 1.80 +++ src/usr.bin/cvs/getlog.c 2008/01/31 10:15:05 1.81 @@ -1,4 +1,4 @@ -/* $OpenBSD: getlog.c,v 1.80 2008/01/12 22:39:32 tobias Exp $ */ +/* $OpenBSD: getlog.c,v 1.81 2008/01/31 10:15:05 tobias Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria * Copyright (c) 2006 Joris Vink @@ -40,7 +40,7 @@ char *wlist = NULL; struct cvs_cmd cvs_cmd_log = { - CVS_OP_LOG, 0, "log", + CVS_OP_LOG, CVS_USE_WDIR, "log", { "lo" }, "Print out history information for files", "[-bhlNRt] [-d dates] [-r revisions] [-s states] [-w logins]", @@ -106,6 +106,8 @@ argv += optind; if (cvs_cmdop == CVS_OP_RLOG) { + flags |= CR_REPO; + if (argc == 0) return 0;