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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to