Page MenuHomePhabricator

Support files in "svn:externals" property in SVN 1.6+ working copies
Needs ReviewPublic

Authored by aik099 on Nov 1 2014, 9:18 PM.
Tags
None
Referenced Files
F13146799: D10772.diff
Fri, May 3, 10:33 AM
Unknown Object (File)
Thu, Apr 25, 3:54 AM
Unknown Object (File)
Mar 15 2024, 8:29 PM
Unknown Object (File)
Dec 26 2023, 8:12 PM
Unknown Object (File)
Dec 23 2023, 9:51 PM
Unknown Object (File)
Nov 30 2023, 12:38 AM
Unknown Object (File)
Nov 15 2023, 8:43 AM
Unknown Object (File)
Sep 18 2023, 10:58 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T6447: SVN file externals aren't properly detected
Summary

These changes allow detection of files, that come from folder's "svn:externals" property. Before only folders were properly detected.

Fixes T6447

Test Plan
  1. create 2 svn repositories (internally these can be 2 folders on same SVN server of course)
  2. configure 2nd folder to include one folder and one file (try binary file, like "favicon.ico") via "svn:externals" property
  3. checkout 2nd folder
  4. try running arc diff

Before this would result in UTF-8 encoding error on binary file that came from "svn:externals". Now file will be properly skipped.

Diff Detail

Repository
rARC Arcanist
Branch
T6447
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsrc/repository/api/ArcanistSubversionAPI.php:97TXT3Line Too Long
Unit
Test Failures
Build Status
Buildable 2930
Build 2934: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
0 mstestHgStateParsing
0 mstestGitStateParsing
0 mstestSVNFileEscapes
0 mstestSvnStateParsing

Event Timeline

aik099 retitled this revision from to Support files in "svn:externals" property in SVN 1.6+ working copies.
aik099 updated this object.
aik099 edited the test plan for this revision. (Show Details)

I've updated Mercurial installation to 3.1.2 and tests passed. I'm not sure how can I make arc to update unit test results for existing differential revision without changing any files in it.