开发者

CVS - Create Zip when comparing

When performing a compare of a CVS vs a local copy of my code, I am looking for a way to create a zip file of the difference.

Example

**CVS Files**
File1.java
File2.java

**Local Files**
File1.java
File2.java
File3.java

If I perform a compare of the CVS vs Local code, it will find that File3.java is new, and that File2.java has changed. File1.java is unchanged so does not show up when comparing. As a result of开发者_StackOverflow社区 this compare, I am looking for a way that CVS/Eclipse will create a zip file containing File3.java and File2.java. (ignoring File1.java as nothing has changed)

I didn't see anything while browsing the CVS man or the Eclipse plugin website.

This will mostly be used for code reviews as a simple way to package files to send.

Thanks


Wouldn't it be easier to attempt to package up the output of cvs diff from the command line? Not sure why you would need Eclipse to do this.

There are a number of code review tools that have plugins for Eclipse, like ReviewBoard, Code Collaborator, and Crucible - perhaps it'd be easier to use an existing tool.


found the quickest method was to perform a compare. Export the compare to a folder. Then zip the corresponding folder. Not the most efficient, but quicker then manually looking through the folders for my files.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜