hgext/mq.py
changeset 6034 83633602e2c5
parent 6027 cee68264ed92
child 6048 cfb4a51da7d5
equal deleted inserted replaced
6033:a1ebd5cd7e55 6034:83633602e2c5
  1510     r = q.init(repo, create=opts['create_repo'])
  1510     r = q.init(repo, create=opts['create_repo'])
  1511     q.save_dirty()
  1511     q.save_dirty()
  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')
  1518             fp.close()
  1520             fp.close()
  1519         if not os.path.exists(r.wjoin('series')):
  1521         if not os.path.exists(r.wjoin('series')):