comparison test/org/tmatesoft/hg/test/StatusOutputParser.java @ 75:e62f9638fb27

Modified test to check copied files
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 24 Jan 2011 04:18:22 +0100
parents 52dc3f4cfc76
children 61eedab3eb3e
comparison
equal deleted inserted replaced
74:6f1b88693d48 75:e62f9638fb27
85 if (copied == null) { 85 if (copied == null) {
86 copied = new TreeMap<String, String>(); 86 copied = new TreeMap<String, String>();
87 } 87 }
88 // last added is copy destination 88 // last added is copy destination
89 // to get or to remove it - depends on what StatusCollector does in this case 89 // to get or to remove it - depends on what StatusCollector does in this case
90 copied.put(fname, added.get(added.size() - 1)); 90 copied.put(added.get(added.size() - 1), fname);
91 break; 91 break;
92 } 92 }
93 } 93 }
94 } 94 }
95 } 95 }