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

Side by Side Diff: bootstrap/virtualenv/virtualenv_embedded/activate.bat

Issue 2043213002: Roll virtualenv 12.0->15.0.2 (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: vendor virtualenv and exclude from gender check Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 @echo off
2 set "VIRTUAL_ENV=__VIRTUAL_ENV__"
3
4 if defined _OLD_VIRTUAL_PROMPT (
5 set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
6 ) else (
7 if not defined PROMPT (
8 set "PROMPT=$P$G"
9 )
10 set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
11 )
12 set "PROMPT=__VIRTUAL_WINPROMPT__ %PROMPT%"
13
14 REM Don't use () to avoid problems with them in %PATH%
15 if defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME
16 set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
17 :ENDIFVHOME
18
19 set PYTHONHOME=
20
21 REM if defined _OLD_VIRTUAL_PATH (
22 if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1
23 set "PATH=%_OLD_VIRTUAL_PATH%"
24 :ENDIFVPATH1
25 REM ) else (
26 if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
27 set "_OLD_VIRTUAL_PATH=%PATH%"
28 :ENDIFVPATH2
29
30 set "PATH=%VIRTUAL_ENV%\__BIN_NAME__;%PATH%"
OLDNEW
« no previous file with comments | « bootstrap/virtualenv/virtualenv.py ('k') | bootstrap/virtualenv/virtualenv_embedded/activate.csh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698