##// END OF EJS Templates
mq: deprecate qinit and qcommit
Dirkjan Ochtman -
r10361:49cd2e7f default
parent child Browse files
Show More
@@ -1826,13 +1826,16 b' def qimport(ui, repo, *filename, **opts)'
1826 return 0
1826 return 0
1827
1827
1828 def init(ui, repo, **opts):
1828 def init(ui, repo, **opts):
1829 """init a new queue repository
1829 """init a new queue repository (DEPRECATED)
1830
1830
1831 The queue repository is unversioned by default. If
1831 The queue repository is unversioned by default. If
1832 -c/--create-repo is specified, qinit will create a separate nested
1832 -c/--create-repo is specified, qinit will create a separate nested
1833 repository for patches (qinit -c may also be run later to convert
1833 repository for patches (qinit -c may also be run later to convert
1834 an unversioned patch repository into a versioned one). You can use
1834 an unversioned patch repository into a versioned one). You can use
1835 qcommit to commit changes to this queue repository."""
1835 qcommit to commit changes to this queue repository.
1836
1837 This command is depreacted. Without -c, it's implied by other relevant
1838 commands. With -c, use hg -Q init instead."""
1836 q = repo.mq
1839 q = repo.mq
1837 r = q.init(repo, create=opts['create_repo'])
1840 r = q.init(repo, create=opts['create_repo'])
1838 q.save_dirty()
1841 q.save_dirty()
@@ -1916,7 +1919,9 b' def clone(ui, source, dest=None, **opts)'
1916 hg.update(dr, dr.changelog.tip())
1919 hg.update(dr, dr.changelog.tip())
1917
1920
1918 def commit(ui, repo, *pats, **opts):
1921 def commit(ui, repo, *pats, **opts):
1919 """commit changes in the queue repository"""
1922 """commit changes in the queue repository (DEPRECATED)
1923
1924 This command is deprecated; use hg -Q commit instead."""
1920 q = repo.mq
1925 q = repo.mq
1921 r = q.qrepo()
1926 r = q.qrepo()
1922 if not r:
1927 if not r:
@@ -37,7 +37,6 b' list of commands:'
37
37
38 qapplied print the patches already applied
38 qapplied print the patches already applied
39 qclone clone main and patch repository at same time
39 qclone clone main and patch repository at same time
40 qcommit commit changes in the queue repository
41 qdelete remove patches from queue
40 qdelete remove patches from queue
42 qdiff diff of the current patch and subsequent modifications
41 qdiff diff of the current patch and subsequent modifications
43 qfinish move applied patches into repository history
42 qfinish move applied patches into repository history
@@ -46,7 +45,6 b' list of commands:'
46 qguard set or print guards for a patch
45 qguard set or print guards for a patch
47 qheader print the header of the topmost or specified patch
46 qheader print the header of the topmost or specified patch
48 qimport import a patch
47 qimport import a patch
49 qinit init a new queue repository
50 qnew create a new patch
48 qnew create a new patch
51 qnext print the name of the next patch
49 qnext print the name of the next patch
52 qpop pop the current patch off the stack
50 qpop pop the current patch off the stack
General Comments 0
You need to be logged in to leave comments. Login now