Skip to content

Revert change to have SetLocation() treat wildcarded path as literal if it exists - #7101

Merged
Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:revert-setlocation
Jun 27, 2018
Merged

Ilya (iSazonov) merged 1 commit into
PowerShell:masterfrom
SteveL-MSFT:revert-setlocation

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Jun 18, 2018 •

Copy link
Copy Markdown
Member

PR Summary

This reverts commit 7459b54.
Left the added tests as Pending.

Fix #6927

PR Checklist

@iSazonov

Copy link
Copy Markdown
Collaborator

I wonder that Travis CI failed.

@anmenaga

Copy link
Copy Markdown

Historically, any change in 'namespaces' code has a high-risk of regressions in this high-traffic code path.
It is probably a good idea to have a green [feature] test pass on any such changes.

@SteveL-MSFT
Steve Lee (SteveL-MSFT) force-pushed the revert-setlocation branch 2 times, most recently from 87ee2bb to 133e7ad Compare June 18, 2018 23:19
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

The test failure appears to be a symptom of #7032

@iSazonov

Copy link
Copy Markdown
Collaborator

Steve Lee (@SteveL-MSFT) We have a fix #7033

Revert "Set-Location should use path with wildcard characters if it exists instead of globbing (PowerShell#5839)"

This reverts commit 7459b54.
@SteveL-MSFT

Copy link
Copy Markdown
Member Author

Ilya (@iSazonov) picked up #7033 fix, build is passing, can you review?

@iSazonov Ilya (iSazonov) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Leave a comment

@BrucePay Bruce Payette (BrucePay) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@iSazonov
Ilya (iSazonov) merged commit 8829c01 into PowerShell:master Jun 27, 2018
@TravisEz13

Copy link
Copy Markdown
Member

Ilya (@iSazonov) merged commit didn't have a description.

@iSazonov

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13) The commit has a description but multi-line - sorry that I missed it.

@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the revert-setlocation branch October 26, 2018 21:35
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Revert "Set-Location should use path with wildcard characters if it exists instead of globbing (PowerShell#5839)"

This reverts commit a0ca2dc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changes in wildcard expansion logic

6 participants