D5164: commands: support passing depth to hg.clone()
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Oct 22 11:49:31 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5cb72229f0e9: commands: support passing depth to hg.clone() (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5164?vs=12270&id=12300
REVISION DETAIL
https://phab.mercurial-scm.org/D5164
AFFECTED FILES
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1553,7 +1553,8 @@
branch=opts.get('branch'),
shareopts=opts.get('shareopts'),
storeincludepats=includepats,
- storeexcludepats=excludepats)
+ storeexcludepats=excludepats,
+ depth=opts.get('depth') or None)
return r is None
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list