Mita
Mita

Reputation:

How to find the list of files added freshly to a cvs directory

How to find the list of files added freshly to a cvs directory

Upvotes: 1

Views: 1708

Answers (1)

Robbie
Robbie

Reputation: 902

Using the cvs history command you can get a lot of information, you can also limit the information you get if you know all the little arguments.

cvs history -a -x A

Will get you all the history for added files (-a for all users, -x A gives you information on only added files), you can limit that more if you add the -w flag for the local directory. It's hard to get the "freshly" requirement done, since there is no specific option for that. If you have the module tagged it's much easer to find the history back to the tag, just use the -t TAGNAME argument and you'll have all added files since that tag:

cvs history -a -x A -t TAGNAME

or you could get all the added files since a date by using the -D DATE argument instead:

cvs history -a -x A -D DATE

There is a bunch of other options too, look around in the full documentation if you need any more: history command documentation

Upvotes: 2

Related Questions