]> khamidou — GitHub mirrors - arcanist.git/commit
Use phutil_console_confirm() correctly, not vestigal $this->confirm().
authorepriestley <epriestley@javelinjs.com>
Sat, 19 Mar 2011 19:15:28 +0000 (12:15 -0700)
committerepriestley <epriestley@javelinjs.com>
Sat, 19 Mar 2011 19:16:47 +0000 (12:16 -0700)
commitefcd70c2d715c1ac63a45026fc4278980a48316a
tree8a0c94228b724b28f567993c82fa231cb65e1513
parentb7be6dbf324c23c9df0920c6670dc732d3cdc630
Use phutil_console_confirm() correctly, not vestigal $this->confirm().

Summary:

Test Plan:
$ arc patch --diff 553961

    Patch deletes file 'html/miniprofile.php', but the file does not exist in
    the working copy. Continue anyway? [y/N] y

    Patch deletes file 'html/index.php', but the file does not exist in the
    working copy. Continue anyway? [y/N] y

 OKAY  Successfully applied patch to the working copy.

Reviewers:

CC:
src/workflow/patch/ArcanistPatchWorkflow.php
src/workflow/patch/__init__.php