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

Issue 523166: git svn --version doesn't work when called outside a git checkout. (Closed)

Created:
10 years, 11 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Nasser Grainawi, chase
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

git svn --version doesn't work when called outside a git checkout. TEST=none BUG=none TBR=nasser

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M gclient View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 5 (0 generated)
M-A Ruel
10 years, 11 months ago (2010-01-08 18:06:34 UTC) #1
Nasser Grainawi
I guess that's why there was that test git clone in the original version. :) ...
10 years, 11 months ago (2010-01-08 18:09:57 UTC) #2
Nasser Grainawi
Sorry, didn't publish before. http://codereview.chromium.org/523166/diff/1/2 File gclient (right): http://codereview.chromium.org/523166/diff/1/2#newcode46 gclient:46: #test_git_svn what if we cd ...
10 years, 11 months ago (2010-01-08 18:10:30 UTC) #3
chase
> I guess that's why there was that test git clone in > the original ...
10 years, 11 months ago (2010-01-08 20:22:13 UTC) #4
Nasser Grainawi
10 years, 11 months ago (2010-01-08 20:26:29 UTC) #5
chase@chromium.org wrote:
>> I guess that's why there was that test git clone in
>> the original version. :)
> 
> If you're referring to create-chromium-git-src, yes, that's why
> the git clone of hello-world.git is necessary, but I could have
> probably just created an empty directory, run git init, etc
> instead of cloning.
> 
> On 2010/01/08 18:10:30, Nasser Grainawi wrote:
>> Sorry, didn't publish before.
> 
>> http://codereview.chromium.org/523166/diff/1/2
>> File gclient (right):
> 
>> http://codereview.chromium.org/523166/diff/1/2#newcode46
>> gclient:46: #test_git_svn
>> what if we cd to $base_dir first? Since we just verified that it has a 
>> .git,
> all
>> the commands should work.
> 
> Changing to the checkout directory as a fix makes the most sense to me.
> 

I agree, see http://codereview.chromium.org/530001

Powered by Google App Engine
This is Rietveld 408576698