hgext/mq.py
changeset 6048 cfb4a51da7d5
parent 6043 6283316bcfd4
parent 6034 83633602e2c5
child 6120 f89878df40fe
--- a/hgext/mq.py	Fri Feb 08 13:16:49 2008 -0200
+++ b/hgext/mq.py	Fri Feb 08 18:31:55 2008 -0200
@@ -1554,6 +1554,8 @@
     if r:
         if not os.path.exists(r.wjoin('.hgignore')):
             fp = r.wopener('.hgignore', 'w')
+            fp.write('^\\.hg\n')
+            fp.write('^\\.mq\n')
             fp.write('syntax: glob\n')
             fp.write('status\n')
             fp.write('guards\n')