[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Files changed on a specific branch
From: |
David Taylor |
Subject: |
Re: Files changed on a specific branch |
Date: |
Thu, 21 Jun 2001 14:02:13 -0700 |
Hello -
cvs -q rdiff -s -r BRANCH_TAG MODULE
produces output that looks like:
File foo/bar.c changed from revision 1.6.2.1 to 1.7
When I want just the list of filenames, I pipe the command into awk '{print
$2}'
But this includes files that are on the branch but may not be different (e.g.,
if the owner manually copied changes to the trunk). To get only files on the
branch that are different, I use:
cvs -q rdiff -r BRANCH_TAG MODULE
which produces output that looks like:
Index: foo/bar.c
diff -c foo.bar.c:1.6.2.1 foo/bar.c:1.7
<diff output>
only for files whose branch and trunk revisions differ. To get just the
filenames, I pipe the command into:
awk '/^Index:/ {print $2}'
address@hidden
Mark Brown wrote:
> I am interested in generating a report of all files that have changed since
> a certain date or since a tag was created, but would like to limit the
> report to only those files changed on a specific branch. How would such a
> report be generated? I can generate a report of all files changed on all
> branches, but how to only show files on one branch? Thank you for your
> help.
>
> Mark
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs