Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 1237
a6b7e93f649c
parent 1212
058fc9ffb0d9
child 1240
4d5fc346bd3b
equal deleted inserted replaced
1234:fc3545de8449 1237:a6b7e93f649c
1840 @return flag indicating success 1840 @return flag indicating success
1841 """ 1841 """
1842 status = False 1842 status = False
1843 ignorePatterns = [ 1843 ignorePatterns = [
1844 "glob:.eric5project", 1844 "glob:.eric5project",
1845 "glob:_eric5project",
1845 "glob:.ropeproject", 1846 "glob:.ropeproject",
1847 "glob:_ropeproject",
1846 "glob:.directory", 1848 "glob:.directory",
1847 "glob:**.pyc", 1849 "glob:**.pyc",
1850 "glob:**.pyo",
1848 "glob:**.orig", 1851 "glob:**.orig",
1849 "glob:**.bak", 1852 "glob:**.bak",
1853 "glob:**.rej",
1854 "glob:**~",
1855 "glob:__pycache__",
1850 ] 1856 ]
1851 1857
1852 ignoreName = os.path.join(name, ".hgignore") 1858 ignoreName = os.path.join(name, ".hgignore")
1853 if os.path.exists(ignoreName): 1859 if os.path.exists(ignoreName):
1854 res = E5MessageBox.yesNo(self.__ui, 1860 res = E5MessageBox.yesNo(self.__ui,

eric ide

mercurial