Date: Wed, 23 Dec 2020 17:05:49 -0500 From: Charlie Li <ml+freebsd@vishwin.info> To: freebsd-current@freebsd.org, freebsd-git@freebsd.org Subject: Re: git tools for building in base? Message-ID: <59893166-d05a-89b5-798b-c89e3392756b@vishwin.info> In-Reply-To: <X%2BM96JQwp%2BQCIIWH@acme.spoerlein.net> References: <X714z7pMgNOFaTIc@rpi4.local> <20201125055425.01AA628417@elsa.codelab.cz> <10f7b800-b015-2a80-b741-4f7db03bf6eb@quip.cz> <X%2BM96JQwp%2BQCIIWH@acme.spoerlein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ITqAKabA1ofaueFaEpBppTBTtDVneuNLZ Content-Type: multipart/mixed; boundary="HkyMKpgcNgAmUmZuUFENAarhoTqE23PJz"; protected-headers="v1" From: Charlie Li <ml+freebsd@vishwin.info> To: freebsd-current@freebsd.org, freebsd-git@freebsd.org Cc: uqs@freebsd.org Message-ID: <59893166-d05a-89b5-798b-c89e3392756b@vishwin.info> Subject: Re: git tools for building in base? References: <X714z7pMgNOFaTIc@rpi4.local> <20201125055425.01AA628417@elsa.codelab.cz> <10f7b800-b015-2a80-b741-4f7db03bf6eb@quip.cz> <X+M96JQwp+QCIIWH@acme.spoerlein.net> In-Reply-To: <X+M96JQwp+QCIIWH@acme.spoerlein.net> --HkyMKpgcNgAmUmZuUFENAarhoTqE23PJz Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable Ulrich Sp=C3=B6rlein wrote: > I don't fully recall, but I think that the hg conversion was slow and > the disk space needed was quite a bit more than git. >=20 One of Mercurial's biggest design principles is immutable history (with history rewriting disabled by default), so increased disk space compared to git is reasonable. > So in summary, I guess it can be summed up as: > - there was no svn-all-fast-export for hg back then > - even bitbucket switched from hg to git Bitbucket dropping Mercurial support was more a business decision, although more ancillary tooling for git existing and developer appetite certainly played factors there. > - history rewriting is easier in git, see e.g. this file for the stuff = =C2=A0 > that's required to make the cvs2svn things a bit nicer: =C2=A0 > https://github.com/freebsd/git_conv/blob/master/fix_bogus_tags.sh >=20 > Granted, now that the heavy lifting is done, one could probably do a > git2hg transition, as the history is now pretty sane and should be > compatible to the hg model. >=20 Mercurial's branches are more similar to subversion than git. The hg analogue to git's branches are bookmarks, for which even they are optional since hg has its heads concept. > But lack of anyone (to my knowledge?) providing a hg copy of FreeBSD al= l > these years tells me that there's simply no demand for it. >=20 I use hg-beta for ports. Also used it for src up until git-beta came online. Not sure what I will do once ports is converted to git, however. My mercurial use stems from two sources: committers' need to preserve copy/move history (though this will probably go away with git) and horrendous performance with the ports tree in git. Horrendous as in, for example, takes about five minutes just to run git-status(1) on a ports tree stored on a hard drive with UFS (-uno doesn't help) whilst locking up the entire system I/O for the duration. The I/O lockups have since subsided but as of six months ago the slow enumeration has persisted. For some reason, mercurial is far more efficient in this regard. --=20 Charlie Li =E2=80=A6nope, still don't have an exit line. (This email address is for mailing list use; replace local-part with vishwin for off-list communication if possible) --HkyMKpgcNgAmUmZuUFENAarhoTqE23PJz-- --ITqAKabA1ofaueFaEpBppTBTtDVneuNLZ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEE/3/Cqr5a+41PbEb+jnB43vIDq2wFAl/jvz4FAwAAAAAACgkQjnB43vIDq2x8 QQ/9HpolrtYaQlLG095p3vX8YdukhQLFOF743/tzT2kFrA/SKUD8XGZ7Q7xGEYnbvUB7P0bnajU0 Nr8CX3Sq6udD3L5FXUxXt/h7MVbxmtp6xvjEffthzaS0zNNqDOblzZoAD7tPYMqAF+QgniMuutJv HAluWdiS8URryJ8EkZRmxcnJYQ385NmAzi+0T0XCJuVdXASjBWf/5Gg9hdLhSQY4jOFKfx0EFF9F UFG3Ap/nh4TL0uXe4+aopQ+i6UskpsMRsIbuJnjsC7CfH0s3MvIseX8epzBPxfQb4V9g/3qi4wSm xVveHzNeaHwFnRXmS73aqlKgGqlzg6Qtwu15Llh+PBCL7J6HxnP7t3WAVOKlcKKMrhP7jWsax5z9 w1PjWDPUw5Si6bK016yOmQyXXF1c2oDeKqBIIxtzwjYb5UUGKrQMl0VAy+Espx1qwo+GIkCHqDVs v+KHr+UsHSad2lZHZQa9+0VtCvy5wLfDjMmrTIvB35A38mf2e7SC7WrupYgHpL/qSgoZbYOjhCKx VJYVH/CKou4AwCXSGhRX1sp9RXuQ2dSwvExJHyg+rvNEBY/7bW/OK8xTAYEe66m9TlkMcrSEDwFv KLpcivzonqSS/u9ZhW4tY8DEL8GfmhGkPsriUzs9TeZoWNQFlTGILcQPSM/FIMNJ2JnEUr36+heh +xo= =TVbD -----END PGP SIGNATURE----- --ITqAKabA1ofaueFaEpBppTBTtDVneuNLZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59893166-d05a-89b5-798b-c89e3392756b>