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

Issue 1739021: Modify scm.GIT.GetUpstreamBranch to behave like git-cl. (Closed)

Created:
10 years, 7 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Modify scm.GIT.GetUpstreamBranch to behave like git-cl. It now defaults to origin/master when no branch is tracked. TEST=git-try on untracked branch now doesn't result in an empty diff BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45935

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -9 lines) Patch
M gclient_scm.py View 1 chunk +3 lines, -3 lines 0 comments Download
M scm.py View 4 chunks +12 lines, -3 lines 0 comments Download
M tests/scm_unittest.py View 1 chunk +2 lines, -1 line 0 comments Download
M tests/trychange_unittest.py View 2 chunks +4 lines, -2 lines 0 comments Download
M trychange.py View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
M-A Ruel
10 years, 7 months ago (2010-04-29 15:22:26 UTC) #1
Evan Martin
+sky who has been modifying this lately
10 years, 7 months ago (2010-04-29 15:34:54 UTC) #2
M-A Ruel
One side-effect I'm unhappy is that it will use the index changes and will silently ...
10 years, 7 months ago (2010-04-29 16:02:16 UTC) #3
sky
10 years, 7 months ago (2010-04-29 16:06:17 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698