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
F22786305: D10772.id25857.diff
Tue, Oct 6, 12:35 PM
Unknown Object (File)
Aug 18 2026, 5:51 PM
Unknown Object (File)
Jul 1 2026, 11:58 AM
Unknown Object (File)
Jan 9 2026, 9:03 AM
Unknown Object (File)
Nov 29 2025, 10:09 AM
Unknown Object (File)
Nov 28 2025, 6:11 PM
Unknown Object (File)
Oct 27 2025, 6:26 PM
Unknown Object (File)
Oct 24 2025, 12:39 AM
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.