Is there any simple way to show only the files in my repository that have been locally added, removed, or modified? I know that I can type "cvs stat" and look through the list of files, but that is tedious and error-prone. I am wondering if there is an easier way. I am using CVS 1.11.17, in case that matters.
+2
A:
You can get a short listing of differences using the cvs diff
command:
cvs -q diff --brief
martin clayton
2010-01-16 00:28:09
+4
A:
A 'dummy' update will give you this information.
cvs -qn update
Charles Bailey
2010-01-16 00:32:16
I tried that, and I didn't really like it. I would like to see the path for the changed files, and not just the filenames. I tried cvs stat 2>/dev/null |grep Local -B1 -A4 |grep -vE "^$" and it was a little better, but kind of messy and quirky.
mikez302
2010-01-16 00:35:39
A:
Here is nmake-perl script list modified files, it is based on aforesaid cvs update -qn:
DIRS=\
c:\project1\
c:\project2
all: $(DIRS)
!cd $? & cvs -qn update | perl -ne "s!\/!\\!g;print '$?\\'.qq($$1) if /^M (.*)/s;"
vtrz
2010-10-20 21:51:17