Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(615)

Issue 13084049: code review 13084049: cmd/api: be more robust against OS deleting temp files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by bradfitz
Modified:
11 years, 9 months ago
Reviewers:
r
CC:
golang-dev, r
Visibility:
Public.

Description

cmd/api: be more robust against OS deleting temp files OS X in particular deletes tmp files (but not directories) pretty reliably. Ask hg whether the go.tools directory in tmp is good before using it. Fixes issue Rob and others were reporting, which I just hit myself now.

Patch Set 1 #

Patch Set 2 : diff -r d85aa04112a1 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r d85aa04112a1 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r d85aa04112a1 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M src/cmd/api/run.go View 1 2 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 3
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 9 months ago (2013-08-24 15:07:43 UTC) #1
r
LGTM
11 years, 9 months ago (2013-08-24 21:46:52 UTC) #2
bradfitz
11 years, 9 months ago (2013-08-24 21:55:03 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=15128109f9ed ***

cmd/api: be more robust against OS deleting temp files

OS X in particular deletes tmp files (but not directories)
pretty reliably.

Ask hg whether the go.tools directory in tmp is good before
using it.

Fixes issue Rob and others were reporting, which I just hit
myself now.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/13084049
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b