mercurial/commands.py
changeset 44555 bd7b2c8d06cc
parent 44470 9d2b2df2c2ba
child 44602 47c1226463a1
--- a/mercurial/commands.py	Sat Feb 29 12:58:13 2020 +0530
+++ b/mercurial/commands.py	Sat Feb 29 12:58:38 2020 +0530
@@ -5344,6 +5344,7 @@
             None,
             _(b'run even when remote repository is unrelated'),
         ),
+        (b'', b'confirm', None, _(b'confirm pull before applying changes'),),
         (
             b'r',
             b'rev',
@@ -5460,6 +5461,7 @@
                 force=opts.get(b'force'),
                 bookmarks=opts.get(b'bookmark', ()),
                 opargs=pullopargs,
+                confirm=opts.get(b'confirm'),
             ).cgresult
 
             # brev is a name, which might be a bookmark to be activated at