Re: in -current is svn still canonical?

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 17 Nov 2020 03:37:35 -0800
On Mon, Nov 16, 2020 at 10:32:38PM -0700, Warner Losh wrote:
> ...
> However, when you make the switch to git (either due to the flag day and
> tracking -current, or jumping from svn on a stable branch), there's no tool
> to convert the subversion checked out tree to a git tree. The needed
> information needed to create the git tree isn't easily available from the
> subversion checkout, so you'll need to do a git clone. If bandwidth is a
> problem, you can do a shallow clone that omits all the history and just
> grabs the branch of interest. Git is a bit more link efficient than
> subversion, which is helpful. Git also has ways to help you share one local
> repo across checked out versions, which can also help if you have to track
> multiple branches.
> ....

Folks in that position might want to consider making the switch (for a
given repo -- src; ports; doc) in two stages over a period of time: the
first, to get an initial copy, then (the first of a series of)
incremental updates.  The duration of the first need not be especially
critical.  Of course, this presumes adequate local storage space.

(I am currently testing my approach, using cgit-beta.freebsd.org for
each of the three repos; the approach I am using is described in
http://www.catwhisker.org/~david/FreeBSD/repo-sync.html, in case that's
of use.  Please note that I am actually using both svn & git, relying on
svn for now, as it is the Source of Truth.)

Peace,
david
-- 
David H. Wolfskill                              david_at_catwhisker.org
Trump's continuing malfeasance is costing lives -- and 72M voted for this??!?

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Tue Nov 17 2020 - 10:37:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC