Added some more patterns to the .hgignore and .gitignore generator. eric7

Thu, 08 Sep 2022 16:57:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 08 Sep 2022 16:57:18 +0200
branch
eric7
changeset 9318
a47b5c46be3f
parent 9317
bf8135417cd3
child 9319
13fa876491bd

Added some more patterns to the .hgignore and .gitignore generator.

src/eric7/Plugins/VcsPlugins/vcsGit/git.py file | annotate | diff | comparison | revisions
src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/git.py	Thu Sep 08 16:41:15 2022 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/git.py	Thu Sep 08 16:57:18 2022 +0200
@@ -1457,6 +1457,11 @@
             "tmp/",
             "__pycache__/",
             "*.DS_Store",
+            ".pytest_cache/",
+            "venv/",
+            ".venv/",
+            "env/",
+            ".env/",
         ]
 
         ignoreName = os.path.join(name, Git.IgnoreFileName)
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Sep 08 16:41:15 2022 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Sep 08 16:57:18 2022 +0200
@@ -2095,6 +2095,11 @@
             "glob:tmp",
             "glob:__pycache__",
             "glob:**.DS_Store",
+            "glob:.pytest_cache",
+            "glob:venv",
+            "glob:.venv",
+            "glob:env",
+            "glob:.env",
         ]
 
         ignoreName = os.path.join(name, Hg.IgnoreFileName)

eric ide

mercurial