-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove circular dependency by making _External stop doing tricky thin…
…gs with sourcetrees. Details: Replace _External.checkout_subexternals with Sourcetree.from_externals_file + checkout() (now called by SourceTree.checkout) Make _External constructor trivial: no longer create a repo object nor a sub-externals SourceTree; that’s done by the caller, SourceTree.__init__. Renames of _External members to clarify ‘externals’ (about current object) vs ‘subexternals’ (about externals underneath this _External). Similarly clarified ‘repo’ (current object) vs ‘parent repo’. Also centralized, in Sourcetree.from_externals_file, checking of whether an externals file exists or is magic value None/’none’ or whether there’s a git submodules file.
- Loading branch information
1 parent
82d3b24
commit 66be842
Showing
1 changed file
with
133 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters