Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate .hgignore with syntax:glob #4158

Merged
merged 1 commit into from
Jun 14, 2017
Merged

Conversation

stepancheg
Copy link
Contributor

Fixes #4005

@rust-highfive
Copy link

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Jun 13, 2017

📌 Commit 1ec8936 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Jun 13, 2017

⌛ Testing commit 1ec8936 with merge 727a7b9...

@bors
Copy link
Collaborator

bors commented Jun 13, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Collaborator

bors commented Jun 14, 2017

⌛ Testing commit 1ec8936 with merge 3ca6a20...

bors added a commit that referenced this pull request Jun 14, 2017
Generate .hgignore with syntax:glob

Fixes #4005
@bors
Copy link
Collaborator

bors commented Jun 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 3ca6a20 to master...

@bors bors merged commit 1ec8936 into rust-lang:master Jun 14, 2017
sunshowers added a commit to sunshowers/cargo that referenced this pull request Jul 31, 2017
There was an attempt to fix hgignore in rust-lang#4158, but unfortunately the fix
was incorrect -- hgignore glob syntax is not in fact identical to
gitignore syntax.

To get rooted ignores in Mercurial we must use the regex-based syntax,
so we have no choice but to define a separate set of ignores.
bors added a commit that referenced this pull request Jul 31, 2017
new: fix hgignore for real

There was an attempt to fix hgignore in #4158, but unfortunately the fix
was incorrect -- hgignore glob syntax is not in fact identical to
gitignore syntax.

To get rooted ignores in Mercurial we must use the regex-based syntax,
so we have no choice but to define a separate set of ignores.
@ehuss ehuss added this to the 1.20.0 milestone Feb 6, 2022
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.

'cargo new --vcs hg' generates an invalid .hgignore file
5 participants