Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Issue 49323006: svndiff for the windows (Closed)

Created:
7 years, 1 month ago by bsalomon
Modified:
7 years, 1 month ago
Reviewers:
bungeman, epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Elliot's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M tools/svndiff.py View 1 3 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
bsalomon
https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py File tools/svndiff.py (right): https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py#newcode91 tools/svndiff.py:91: extension = "" is it really dumb to init ...
7 years, 1 month ago (2013-10-28 21:07:21 UTC) #1
epoger
LGTM with our without these nits picked https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py File tools/svndiff.py (right): https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py#newcode91 tools/svndiff.py:91: extension = ...
7 years, 1 month ago (2013-10-28 21:14:40 UTC) #2
bsalomon
Committed patchset #2 manually as r11995 (presubmit successful).
7 years, 1 month ago (2013-10-29 13:55:47 UTC) #3
bsalomon
7 years, 1 month ago (2013-10-29 14:23:42 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py
File tools/svndiff.py (right):

https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py#newcode91
tools/svndiff.py:91: extension = ""
On 2013/10/28 21:14:41, epoger wrote:
> On 2013/10/28 21:07:22, bsalomon wrote:
> > is it really dumb to init to an empty string? I don't know python.
> 
> Probably a "real" Python programmer would scoff at it, but I like it.
> 
> Note, however, that our style guide calls for single-quoted strings in Python
> code.

Done.

https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py#newcode95
tools/svndiff.py:95: possible_paths = [os.path.join(trunk_path, 'out',
'Release', 'skdiff' + extension),
On 2013/10/28 21:14:41, epoger wrote:
> wrap at 80 chars please (I love enforcing rules that even I don't like)

Done.

https://codereview.chromium.org/49323006/diff/1/tools/svndiff.py#newcode210
tools/svndiff.py:210: args = ['git', 'show', 'HEAD:./' + file_within_repo]
On 2013/10/28 21:14:41, epoger wrote:
> On 2013/10/28 21:07:22, bsalomon wrote:
> > we're passing a path from a path that was extracted from git output to
another
> > git command. git wants to see / not \.
> 
> Makes sense.  Please add your explanation to the comment block, though, so
> future travelers can see it.
> 
> P.S. You also have the option of calling posixpath.join() to do this.  Either
> one is fine with me.

Done.

Powered by Google App Engine
This is Rietveld 408576698