CVS: List all files changed between tags (or dates)

前端 未结 7 812
自闭症患者
自闭症患者 2021-01-29 21:02

Is there any way to list all the files that have changed between two tags in CVS?

Every time we do a release we apply a tag to all the files in that release. I want to f

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-29 21:27

    I suppose this command would help:

    cvs diff -N -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs
    

    where RELEASE_1_0 and RELEASE_1_1 are the names of your tags.

    You can find a little more information on cvs diff command here

    plus it should be fairly simple to create a script to make report more suitbable for your needs, ex: number of files changed, created deleted etc. As far as I know the most common cvs GUI tools (wincvs and tortoise) do not provide something like this out of the box.

    Hope it helps ;)

提交回复
热议问题