1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/src
epriestley ed5c46681d Allow SVN repositories to import subdirectories instead of the entire repository
Summary:
See T325. While this is a touch hacky it ends up being fairly clean, and we can
now do initial imports much more quickly and this actually cleaned up some of
the code. I also made the repository edit interface a little less foreboding.

@tuomaspelkonen, did you get anywhere with that bug you were chasing down a
couple days ago? We can hold this if it throws a wrench into stuff you're
working on.

Test Plan:
  - Imported a subdirectory of a midsized SVN project (jQuery UI).
  - Commit discovery for ~3500/4500 commits took just a few seconds.
  - Commit discovery correctly ignored commits which didn't affect this
directory.
  - Commit discovery correctly stopped at commit 13.
  - Browse interface shows an incomplete listing, but that's fine, and
everything is otherwise functionally correct. We can add a note or something
later ("this is a view of commits affecting a subdirectory, some paths aren't
available"), but this behavior probably won't be too startling to users.
  - Edited Git and SVN repositories to test form logic.

Reviewed By: jungejason
Reviewers: tuomaspelkonen, jungejason, aran, Girish
Commenters: tuomaspelkonen
CC: jcleveley, aran, jungejason, tuomaspelkonen
Differential Revision: 696
2011-07-20 10:56:02 -07:00
..
aphront Show change diffs in Phriction 2011-07-18 08:46:45 -07:00
applications Allow SVN repositories to import subdirectories instead of the entire repository 2011-07-20 10:56:02 -07:00
docs Require double brackets for Phriction links 2011-07-18 09:18:42 -07:00
infrastructure Require double brackets for Phriction links 2011-07-18 09:18:42 -07:00
storage Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00
view Fix conservative CSRF token cycling limit 2011-07-14 08:09:40 -07:00
__celerity_resource_map__.php Show change diffs in Phriction 2011-07-18 08:46:45 -07:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Show change diffs in Phriction 2011-07-18 08:46:45 -07:00