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