Skip to content

Remove Repo hack from model.py #210

@SeanBryan51

Description

@SeanBryan51

On this line:

if isinstance(repo, GitRepo):
self.src_dir = Path("src")

The Model class should not have to know whether repo is a GitRepo or an SVNRepo, we should only be working with the Repo interface. This should be addressed if we want to properly test the model and repo modules.

Originally posted by @SeanBryan51 in #208 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumMedium priority issues to become high priority issues after a release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions