Mercurial > hg-stable
changeset 12352:5be733b20bd1 stable
mq: fix the deprecation comment for qsave & qrestore.
Changeset bcf90e712dc3 deprecated qsave and qrestore. In the
deprecating comment, users were referred to 'rebase --mq' which -- at
the time the message was written -- didn't exist. Currently, on the
default branch, rebase *does* take a '--mq' option, but it probably
doesn't do what Dirkjan expected it to do when he wrote the message.
In the original, deprecating commit, little context was provided as to
why this change was made. Based on my recollection, concensus at the
Paris Sprint in February 2010 was that one of the problems with MQ was
that it exposed far too many commands. Notable among these were qsave
& qrestore: very few core developers understood what they did and even
fewer (none, IIRC) actually used them. However, they couldn't be
removed; not only do the usual backwards compatibility reasons apply,
but the hg book refers to them.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Mon, 20 Sep 2010 13:31:02 +0200 |
parents | b6173aee4a47 |
children | 0c2c969e032b |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Mon Sep 20 21:46:56 2010 +0200 +++ b/hgext/mq.py Mon Sep 20 13:31:02 2010 +0200 @@ -2344,7 +2344,7 @@ def restore(ui, repo, rev, **opts): """restore the queue state saved by a revision (DEPRECATED) - This command is deprecated, use rebase --mq instead.""" + This command is deprecated, use :hg:`rebase` instead.""" rev = repo.lookup(rev) q = repo.mq q.restore(repo, rev, delete=opts['delete'], @@ -2355,7 +2355,7 @@ def save(ui, repo, **opts): """save current queue state (DEPRECATED) - This command is deprecated, use rebase --mq instead.""" + This command is deprecated, use :hg:`rebase` instead.""" q = repo.mq message = cmdutil.logmessage(opts) ret = q.save(repo, msg=message)