mercurial/commands.py
changeset 40388 5cb72229f0e9
parent 40366 b14fdf1fb615
child 40394 1feb4b2c8e40
--- a/mercurial/commands.py	Wed Oct 03 14:57:29 2018 -0700
+++ b/mercurial/commands.py	Fri Oct 19 13:44:25 2018 +0200
@@ -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