##// 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 if r:
1512 if r:
1513 if not os.path.exists(r.wjoin('.hgignore')):
1513 if not os.path.exists(r.wjoin('.hgignore')):
1514 fp = r.wopener('.hgignore', 'w')
1514 fp = r.wopener('.hgignore', 'w')
1515 fp.write('^\\.hg\n')
1516 fp.write('^\\.mq\n')
1515 fp.write('syntax: glob\n')
1517 fp.write('syntax: glob\n')
1516 fp.write('status\n')
1518 fp.write('status\n')
1517 fp.write('guards\n')
1519 fp.write('guards\n')
@@ -70,6 +70,8 b' A series'
70 A test.patch
70 A test.patch
71 % qinit; qinit -c
71 % qinit; qinit -c
72 .hgignore:
72 .hgignore:
73 ^\.hg
74 ^\.mq
73 syntax: glob
75 syntax: glob
74 status
76 status
75 guards
77 guards
General Comments 0
You need to be logged in to leave comments. Login now