equal
deleted
inserted
replaced
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')): |