JaversionJava 的 Subversion 写入库
Javersion 是一个 Java 用来将数据写入 Subversion 资料库的开发包,示例代码:
SvnStore svnStore = new SvnStore("file:///home/mike/repos/testrepo/"); w.write("test/str1", new String("blah blah blah")); w.write("date1", new Date()); String s = (String) r.read("test/str1", SvnRevision.HEAD); Date d = (Date) r.read("date1", SvnRevision.HEAD);
评论