https://bz.mercurial-scm.org/show_bug.cgi?id=6566

            Bug ID: 6566
           Summary: Purge without --confirm switch still asks for
                    confirmation
           Product: Mercurial
           Version: 5.8.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: purge
          Assignee: bugzi...@mercurial-scm.org
          Reporter: bugreporter5...@protonmail.com
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

hg help purge says "--confirm  ask before permanently deleting files" so I
assume using the purge command without the --confirm switch will permanently
delete files without asking. Running the command with and without the switch
both seem to do the same thing. Is this a bug?

C:\Download\Repository>hg purge
permanently delete 1 unkown files? (yN) n
abort: removal cancelled

C:\Download\Repository>hg purge --confirm
permanently delete 1 unkown files? (yN) n
abort: removal cancelled

C:\Download\Repository>hg --version
Mercurial Distributed SCM (version 5.8.1)
(see https://mercurial-scm.org for more information)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to