开发者

Is there a way to tell what changes are in a central CVS repo comparing to my local working copy?

开发者 https://www.devze.com 2023-01-12 10:23 出处:网络
I need a way to figure out what files were added/removed/modified in the CVS repository comparing to my local working copy, i.e. what will happen to my local copy if I run \"cvs update\". It is safe t

I need a way to figure out what files were added/removed/modified in the CVS repository comparing to my local working copy, i.e. what will happen to my local copy if I run "cvs update". It is safe to assume that I don't have any uncommitted changes in my local copy.

The output of "cvs update" marks added and modified files as:

U filename

which helps, but it doesn't tell what files are deleted.

Is there an easy way to get all changed f开发者_开发知识库iles and how they are changed? Any help would be appreciated.


i deleted the file b from another checkout of the project.

$ cvs status | grep Status
cvs status: Examining .
cvs status: `b' is no longer in the repository
File: a                 Status: Up-to-date
File: b                 Status: Entry Invalid
File: c                 Status: Up-to-date

you can see that file b is missing from the repository.

updating:

$ cvs up
cvs update: Updating .
cvs update: `b' is no longer in the repository

afterwards the file b was also gone in this checkout and the message about file b is never displayed again.


I remember I used

cvs update -nq

to get a quick overview of the status of my project.

cvs history is also a good source of information about what happened.

For details of changes there is cvs diff, but this is very verbose.

0

精彩评论

暂无评论...
验证码 换一张
取 消