Page MenuHomePhabricator

Importing an external repository (branches not identified)
Closed, WontfixPublic

Description

We have a repository that has a layout with multiple projects e.g:

src/Project1
src/Project2
src/Project2/branches
src/Project2/tags
src/Project2/trunk

When we did our import we specified the correct repository root and then did a partial import at the project level. This all worked mostly correctly with the exception of the fact that the branches/tags etc. are not identified on the import. It would be nice if they were properly identified so that we could make use of that information for Herald.

Event Timeline

jarrod raised the priority of this task from to Needs Triage.
jarrod updated the task description. (Show Details)
jarrod added a project: Diffusion.
jarrod added a subscriber: jarrod.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

Subversion does not have top-level branches or tags; these features are purely conventional.

You can use path-based rules to match branches and tags in subversion, since you're really just matching paths with certain names anyway.