]> khamidou — GitHub mirrors - arcanist.git/commit
Add an experimental "--create" flag to "arc diff"
authorepriestley <git@epriestley.com>
Fri, 2 Dec 2011 23:50:36 +0000 (15:50 -0800)
committerepriestley <git@epriestley.com>
Sat, 3 Dec 2011 17:57:09 +0000 (09:57 -0800)
commit331afdce87c88027a789ee1772eb1d5633a7864f
tree93b9b8d1a8ed862db32128690a91dee99ccfbda7
parent79da3a6ff9a97bf077b47eeef9131f97a81904f3
Add an experimental "--create" flag to "arc diff"

Summary:
See T614. This adds a "--create" flag which I think works properly, but doesn't
make it the default.

Once I add "--update" and am confident the flags actually work, I'll work on
some heuristics to make "arc diff" automatically choose "--udpate" or "--create"
as per T614.

Test Plan:
This revision was created with "--create" and a bogus commit message ("derp").
I intentionally goofed the message at first to test the fail + file workflow.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley, btrahan
Differential Revision: 1162
src/workflow/diff/ArcanistDiffWorkflow.php
src/workflow/diff/__init__.php