Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/RepoUtils.java @ 654:12a4f60ea972
1) Console push tool. 2) Pass class to blame into FileUtils
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 03 Jul 2013 15:11:40 +0200 |
parents | 629a7370554c |
children | 4fd317a2fecf |
comparison
equal
deleted
inserted
replaced
653:629a7370554c | 654:12a4f60ea972 |
---|---|
113 } | 113 } |
114 public void remove() { | 114 public void remove() { |
115 throw new UnsupportedOperationException(); | 115 throw new UnsupportedOperationException(); |
116 } | 116 } |
117 }; | 117 }; |
118 FileUtils fu = new FileUtils(new StreamLogFacility(Debug, true, System.err)); | 118 FileUtils fu = new FileUtils(new StreamLogFacility(Debug, true, System.err), RepoUtils.class); |
119 String srcPrefix = srcDir.getAbsolutePath(); | 119 String srcPrefix = srcDir.getAbsolutePath(); |
120 while (it.hasNext()) { | 120 while (it.hasNext()) { |
121 File next = it.next(); | 121 File next = it.next(); |
122 assert next.getAbsolutePath().startsWith(srcPrefix); | 122 assert next.getAbsolutePath().startsWith(srcPrefix); |
123 String relPath = next.getAbsolutePath().substring(srcPrefix.length()); | 123 String relPath = next.getAbsolutePath().substring(srcPrefix.length()); |