Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 37262:54435fd09f1d
clone: rename "rev" to "revs" since there can be many
It was a little tricky in hg.clone(), since there was a local "revs"
variable defined there, but "rev" was never used after "revs", so I
just overwrote it.
Note that clonewithshare() should also have its "rev" argument renamed
to "revs", but I'll leave that to someone else.
Differential Revision: https://phab.mercurial-scm.org/D3016
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 02 Apr 2018 08:46:07 -0700 |
parents | f0b6fbea00cf |
children | 76823340a899 |
line wrap: on
line diff
--- a/hgext/mq.py Sun Apr 01 15:41:16 2018 -0700 +++ b/hgext/mq.py Mon Apr 02 08:46:07 2018 -0700 @@ -2505,7 +2505,7 @@ ui.note(_('cloning main repository\n')) sr, dr = hg.clone(ui, opts, sr.url(), dest, pull=opts.get('pull'), - rev=destrev, + revs=destrev, update=False, stream=opts.get('uncompressed'))