如何确定文件是从 svn 补丁文件中添加、删除或修改的?
我的补丁看起来像这样:
我想知道test.js和PageCacheCommand.java,这两个文件是新的吗?修改的?删除?
### Eclipse Workspace Patch 1.0
#P feilong-sitemanager
Index: src/main/webapp/scripts/test.js
===================================================================
Index: src/main/java/com/jumbo/shop/web/command/PageCacheCommand.java
===================================================================
--- src/main/java/com/jumbo/shop/web/command/PageCacheCommand.java (revision 47766)
+++ src/main/java/com/jumbo/shop/web/command/PageCacheCommand.java (working copy)
@@ -1,34 +0,0 @@
-package com.jumbo.shop.web.command;
-
-import java.io.Serializable;
-import java.util.List;
-
-public class PageCacheCommand implements Serializable{
-
- private static final long serialVersionUID = 59168831084794622L;
-
- private List<Object[]> skus = null;
-
- public PageCacheCommand(List<Object[]> skus, Long count){
- this.skus = skus;
- this.count = count;
- }
-
- public List<Object[]> getPagination(){
- return this.skus;
- }
-
- private Long count = 0L;
-
- public Long getCount(){
- return count;
- }
-
- public void setCount(Long count){
- this.count = count;
- }
-
- public List<Object[]> getSkus(){
- return this.skus;
- }
-}