Mercurial > hg
comparison hgext/mq.py @ 4711:c71bf1d251ad
mq: document that qinit -c may be run later
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 25 Jun 2007 09:49:40 -0700 |
parents | 3a645af7fb76 |
children | f49fcbb325bc |
comparison
equal
deleted
inserted
replaced
4699:a6b62584d0b2 | 4711:c71bf1d251ad |
---|---|
1549 def init(ui, repo, **opts): | 1549 def init(ui, repo, **opts): |
1550 """init a new queue repository | 1550 """init a new queue repository |
1551 | 1551 |
1552 The queue repository is unversioned by default. If -c is | 1552 The queue repository is unversioned by default. If -c is |
1553 specified, qinit will create a separate nested repository | 1553 specified, qinit will create a separate nested repository |
1554 for patches. Use qcommit to commit changes to this queue | 1554 for patches (qinit -c may also be run later to convert |
1555 repository.""" | 1555 an unversioned patch repository into a versioned one). |
1556 You can use qcommit to commit changes to this queue repository.""" | |
1556 q = repo.mq | 1557 q = repo.mq |
1557 r = q.init(repo, create=opts['create_repo']) | 1558 r = q.init(repo, create=opts['create_repo']) |
1558 q.save_dirty() | 1559 q.save_dirty() |
1559 if r: | 1560 if r: |
1560 if not os.path.exists(r.wjoin('.hgignore')): | 1561 if not os.path.exists(r.wjoin('.hgignore')): |