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

Issue 13694047: sync tools ignores legacy (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by wallyworld
Modified:
10 years, 7 months ago
Reviewers:
mp+186705, thumper
Visibility:
Public.

Description

sync tools ignores legacy sync tools ignores any legacy tools when it does the syncing. https://code.launchpad.net/~wallyworld/juju-core/synctools-use-new-location/+merge/186705 Requires: https://code.launchpad.net/~wallyworld/juju-core/builtin-hpcloud-support/+merge/186700 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/sync/sync.go View 1 chunk +2 lines, -0 lines 2 comments Download
M environs/sync/sync_test.go View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 3
wallyworld
Please take a look.
10 years, 7 months ago (2013-09-20 03:24:19 UTC) #1
thumper
LGTM with a comment. https://codereview.appspot.com/13694047/diff/1/environs/sync/sync.go File environs/sync/sync.go (right): https://codereview.appspot.com/13694047/diff/1/environs/sync/sync.go#newcode99 environs/sync/sync.go:99: restore := envtools.SetToolPrefix(envtools.NewToolPrefix) holy crap ...
10 years, 7 months ago (2013-09-20 04:50:06 UTC) #2
wallyworld
10 years, 7 months ago (2013-09-20 04:55:37 UTC) #3
https://codereview.appspot.com/13694047/diff/1/environs/sync/sync.go
File environs/sync/sync.go (right):

https://codereview.appspot.com/13694047/diff/1/environs/sync/sync.go#newcode99
environs/sync/sync.go:99: restore :=
envtools.SetToolPrefix(envtools.NewToolPrefix)
On 2013/09/20 04:50:06, thumper wrote:
> holy crap this method is 80 lines long.
> 
> Can you please add a comment as to why the tools prefix is being changed, and
> why it is being put back again.  It certainly isn't obvious by looking at
these
> few lines of code.

Done.
Sign in to reply to this message.

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