Plugins/VcsPlugins/vcsMercurial/hg.py

branch
5_1_x
changeset 1236
7a58aba00647
parent 1069
d1334d6abefa
child 1285
544520790fdd
equal deleted inserted replaced
1235:49636265fb45 1236:7a58aba00647
1665 @param autoAdd flag indicating to add it automatically (boolean) 1665 @param autoAdd flag indicating to add it automatically (boolean)
1666 @return flag indicating success 1666 @return flag indicating success
1667 """ 1667 """
1668 status = False 1668 status = False
1669 ignorePatterns = [ 1669 ignorePatterns = [
1670 "glob:.eric5project", 1670 "glob:.eric5project",
1671 "glob:.ropeproject", 1671 "glob:_eric5project",
1672 "glob:.directory", 1672 "glob:.ropeproject",
1673 "glob:**.pyc", 1673 "glob:_ropeproject",
1674 "glob:**.orig", 1674 "glob:.directory",
1675 "glob:**.bak", 1675 "glob:**.pyc",
1676 "glob:**.pyo",
1677 "glob:**.orig",
1678 "glob:**.bak",
1679 "glob:**.rej",
1680 "glob:**~",
1681 "glob:__pycache__",
1676 ] 1682 ]
1677 1683
1678 ignoreName = os.path.join(name, ".hgignore") 1684 ignoreName = os.path.join(name, ".hgignore")
1679 if os.path.exists(ignoreName): 1685 if os.path.exists(ignoreName):
1680 res = E5MessageBox.yesNo(self.__ui, 1686 res = E5MessageBox.yesNo(self.__ui,

eric ide

mercurial