-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: Add 'svn.sourceControl.ignore' option #1116
Conversation
I found that this pull request has no intention to be merged. Is there any problem? |
No problem, just lack of time currently. Will try to have a look this week. |
@@ -26,7 +26,7 @@ export class Revert extends Command { | |||
return; | |||
} | |||
|
|||
const paths = resources.map(resource => resource.fsPath); | |||
const paths = resources.map(resource => resource.fsPath).reverse(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
@@ -26,7 +26,7 @@ export class RevertAll extends Command { | |||
return; | |||
} | |||
|
|||
const paths = resources.map(resource => resource.fsPath); | |||
const paths = resources.map(resource => resource.fsPath).reverse(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thanks. |
# [2.13.0](v2.12.4...v2.13.0) (2020-11-08) ### Features * Add 'svn.sourceControl.ignore' option ([#1116](#1116)) ([7b4241b](7b4241b))
🎉 This PR is included in version 2.13.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Link #1113
Add
svn.sourceControl.ignore
option, It can ignore unversioned files like .gitignore. At the same time, configuring this option will overlook the default svn ignore rule, but if you do not configure this option, nothing will change.In addition, I found that when revert multiple added files, if the files are of parent-child structure, the plugin will report an error. To solve this problem just need to reverse the order of the file list.