~welt/murse

e9db565789647e7c34f493902fa7a377ed5443ce — welt 3 months ago 7830449
Don't delete the .revision file (Thanks Jan for pointing this out.)
1 files changed, 0 insertions(+), 5 deletions(-)

M upgrade.go
M upgrade.go => upgrade.go +0 -5
@@ 48,11 48,6 @@ func upgradeMain(dir string, url string, threads int, http2 bool) int {

	changes := replayChanges(revisions)
	writes, mkdirs, dels := splitChanges(changes)
	err = os.RemoveAll(filepath.Join(dir, ".revision"))
	if err != nil {
		errPrintln(err)
		return 1
	}

	for _, v := range dels {
		fmt.Println("DEL", v.Path)