这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kalefranz
Copy link
Contributor

@kalefranz kalefranz commented Sep 4, 2018

fix #7706

Signed-off-by: Kale Franz <kfranz@continuum.io>
@kalefranz kalefranz requested a review from a team as a code owner September 4, 2018 19:56
@kalefranz kalefranz added this to the 4.6.0 milestone Sep 4, 2018
Signed-off-by: Kale Franz <kfranz@continuum.io>

add test_add_prefix_to_path_cmdexe

Signed-off-by: Kale Franz <kfranz@continuum.io>

add test_add_prefix_to_path_cmdexe

Signed-off-by: Kale Franz <kfranz@continuum.io>
@kalefranz kalefranz merged commit babac5b into conda:master Sep 5, 2018
@kalefranz kalefranz deleted the fix-7706 branch September 5, 2018 14:47
raise NotImplementedError()

def _add_prefix_to_path(self, prefix, starting_path_dirs=None):
# If this is the first time we're activating an environment, we need to ensure that
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really only the first time?
If you'd do

conda activate base
conda activate some-other-env
conda activate base
conda activate some-other-env

wouldn't conda.exe precede condacmd/conda.bat on PATH after the second conda activate base so that the last conda activate some-other-env fails?
I'm not really sure on this though and can't check that right now. Maybe create a test case for that?

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This pull request has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue or pull request if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 31, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked [bot] locked due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new shell activation seems to break conda-build env activation

2 participants