Example #1
0
func TestHistory(t *testing.T) {
	tfs, _ := bridge.OpenTfsRepository(`D:\Projects\Sungero\Icons\Kernel`)
	log.Println(tfs)
	//log.Println(tfs.GetHistoryAfter(100914, false))
	//gilog.Println(tfs.GetHistoryFrom(100914, true))
	//log.Println(tfs.GetHistory(50000, 100))
}
Example #2
0
func TestUpdate(t *testing.T) {
	tfs, _ := bridge.OpenTfsRepository(`D:\Projects\Sungero\Main\Common`)
	tfs.Update(95000)
	tfs.Update(0)
}