]> khamidou — GitHub mirrors - arcanist.git/commit
Make arcanist more flexible about SVN base revisions
authorepriestley <epriestley@javelinjs.com>
Wed, 23 Feb 2011 20:06:22 +0000 (12:06 -0800)
committerepriestley <epriestley@javelinjs.com>
Wed, 23 Feb 2011 20:06:22 +0000 (12:06 -0800)
commit309609169dd94ecd120de2aabeb639fc9f883c9f
tree4318f89d422345741404ad8da76da13a052023f8
parented53f98e9e507c2eae28b0ae2ab4de482ff0ccbb
Make arcanist more flexible about SVN base revisions

Summary: When running "arc diff" in a mixed-base-revision working copy, we
prevent the operation. Relax this restriction so that having a different root
revision is okay, so long as all affected files share the same revision. This
facilitates multiple similar edits without updates.

Test Plan: Reverted a file to an older revision in an SVN working copy, ran
"arc diff", was rejected. Applied patch, ran "arc diff", diff went through and
was recorded with the right SVN base revision in the database.

Reviewers:

CC:
src/repository/api/subversion/ArcanistSubversionAPI.php
src/workflow/diff/ArcanistDiffWorkflow.php