##// END OF EJS Templates
qinit -c: add ^\.hg and ^\.mq to .hgignore
Alexis S. L. Carvalho -
r6034:83633602 default
parent child Browse files
Show More
@@ -1512,6 +1512,8 b' def init(ui, repo, **opts):'
1512 1512 if r:
1513 1513 if not os.path.exists(r.wjoin('.hgignore')):
1514 1514 fp = r.wopener('.hgignore', 'w')
1515 fp.write('^\\.hg\n')
1516 fp.write('^\\.mq\n')
1515 1517 fp.write('syntax: glob\n')
1516 1518 fp.write('status\n')
1517 1519 fp.write('guards\n')
@@ -70,6 +70,8 b' A series'
70 70 A test.patch
71 71 % qinit; qinit -c
72 72 .hgignore:
73 ^\.hg
74 ^\.mq
73 75 syntax: glob
74 76 status
75 77 guards
General Comments 0
You need to be logged in to leave comments. Login now