]> khamidou — GitHub mirrors - arcanist.git/commit
[svn1.7] handle removed directories in svn in arc diff
authorNick Harper <nharper@nharper.org>
Wed, 14 Mar 2012 06:42:05 +0000 (23:42 -0700)
committerNick Harper <nharper@nharper.org>
Wed, 14 Mar 2012 06:45:37 +0000 (23:45 -0700)
commit7494a95c40e94559924d6943e02f6642c49b2073
tree79c2cdc291c4a9fa15710d24f2b58566090c96e6
parent6dd511d0ef0fe8e43c994e51018e43c05709e002
[svn1.7] handle removed directories in svn in arc diff

Summary:
`svn rm $directory` removes the directory and its contents in svn 1.7, whereas
svn 1.6 only removes the directory's contents, so arc diff needs to not try
to read the directory.

Test Plan:
ran arc diff in a svn working copy that had a directory removed (with both
svn 1.6 and svn 1.7) and confirmed that the command did not throw an exception,
and that the removed directory was marked as directory (not a file).

Reviewers: epriestley, jungejason

Reviewed By: epriestley

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1889
src/parser/diff/ArcanistDiffParser.php
src/repository/api/subversion/ArcanistSubversionAPI.php
src/workflow/base/ArcanistBaseWorkflow.php