1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/repository
epriestley ae045a9cf2 When doing partial subdirectory parses in Subversion, stub out foreign commit
references

Summary:
See T325. We tentatively support doing partial subdirectory parses in
Phabricator for Subversion, so you can elect to import only "trunk/local/" or
similar. We do this by importing only some of the commits (those commits which
affected that directory).

In Subversion, you can also "svn cp
svn+ssh://example.com/svnroot/trunk/foreign/example.c@13 local.c". This means
that commits which reference "trunk/local/" may themselves reference foreign
commits.

Currently, we break in this case and can't find the commit reference. Instead,
generate a foreign commit stub so we can at least point at some reasonable
object.

Test Plan: Successfully imported trunk/a/ of the test repo in T325 without
errors. Verified commit 3 in that repo is imported as a foreign stub.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: jungejason

CC: aran, jungejason, epriestley

Differential Revision: 892
2011-09-04 14:10:03 -07:00
..
constants/repositorytype Diffusion/phd/console improvements. 2011-03-15 13:38:14 -07:00
controller Fully update library map. 2011-08-18 09:52:36 -07:00
daemon Allow CommitTask daemon to recover from deleted repositories 2011-08-22 15:41:27 -07:00
parser Lint stragglers. 2011-04-03 23:38:02 -07:00
storage Improve display behavior of commit messages in Diffusion 2011-07-31 12:05:06 -07:00
worker When doing partial subdirectory parses in Subversion, stub out foreign commit 2011-09-04 14:10:03 -07:00