Hi,

I have random OpenBSD CVS checkouts across different directories and
machines. I work on something, life interrupts, I come back to it
after longer period of time. In the meantime CVS repo moves forward and
my checkout is out of date.

How I can efficiently check for M's (modified) in the repo, without
actually updating the repo?

I'm looking for something a long the lines, if a file is outdated, but
NOT modified, no output is produced. However if the file is locally
modified, then path should be printed to stdout.

Do you guys know is there any tool available like that?

It's important for me that during that process, repo stays read-only and
no modifications are taking place to the checkout.

To simulate outut I'm looking for something like this:

$ cvs -q up -PAd
? sbin/ifconfig/ifconfig.c-combined
? sbin/ifconfig/obj
? sys/arch/amd64/compile/GENERIC.MP/obj
? usr.sbin/sysupgrade/sysupgrade.diff
? usr.sbin/sysupgrade/sysupgrade.patch
M sbin/ifconfig/ifconfig.8
M sbin/ifconfig/ifconfig.c
M sys/net/if_wg.c
M sys/net/if_wg.h

However above output does update, so modifies the repo, which I wouldn't
want to happen.

Please CC me in any replies.

-- 
Regards,
 Mikolaj

Reply via email to