On 12/04/2019 17:43, Bill Blough wrote:
Hi Gary,
On Fri, Apr 12, 2019 at 10:18:25AM -0400, Gary Gregory wrote:
We have two options IMO to convert the Xalan Subversion repo into the
following git repos.
One repo:
<snip>
Or one repo per top level folder:
My preference is for separate git repos.
Likewise.
Instead of checking out the entire Xalan project, I typically just
check out a subtree (such as xalan/c or xalan/c/trunk). This is trivial
with subversion, but it's not clear to me if the same thing is possible
with git.
It's not historically been possible, but git subtrees and sparse/shallow
checkouts might permit this. However, even if it's technically possible
with recent-ish git releases, it's a very atypical workflow and not one
I would want to rely upon, or require others to follow.
While using separate repos isn't an exact substitute for svn's subtree
checkouts, it's close enough for my workflow (and is what I'm generally
used to for git-hosted projects, anyway).
Plus, anyone who wanted the entire project in one tree could still get a
close approximation of that using git submodules.
Agreed on all these counts. Though given the separation between these
projects, I'm unsure there would be a convincing need for such
aggregation. While SVN allowed such aggregation with subtrees, it's
really an artefact of how SVN copied CVS and not something which I see a
great deal of value in perpetuating.
Regards,
Roger
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]