Re: Hg vs Git

Russel Winder <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
On Sun, 2016-11-27 at 14:11 -0500, Jonathon Reinhart wrote:
> > The point here is that someone can mutate a branch locally and then
> 
> force it to the mainline.
> 
> No, that is specifically what protected branches prevent. If "master"
> is
> protected, then no one, not even an admin, can re-write history and
> force
> push to it.

So if BitBucket supports this, the admins for the mainline SCons and
SCons-Contrib repositories should mark all the branches as protected?

> Personally, I find the rewriting extremely powerful for my local
> development - I can re-arrange, split, and join commits in my feature
> branch before it is merged into master. Very few people are
> interested in
> rewriting history of a published tree.

I have never been a user of history rewriting as I tend to publish all
my repositories all the time. Maybe my workfow and approach is wrong,
and that I should keep all work private and so rebasable and squashable
in both Hg and Git until the point of publishing for the pull request?

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlg7++kACgkQ1L3V0s7N
p7iBOhAAlYeaVB3Mlvw3bcF82w8pfSCMRsjJSA+9ZkFx9pIUavt59Ky6LuIN5Zvv
ROErhFxAhElefnD386uym//Yv5Lhakj0j+TPjN96XFOgrfAeXWM/iz+TLsIfr5o0
cSa7o1F8jPXPtWcr9AYr2gL2Sk7i8zQlP0G4jxURgJzX5tWP0u20gtESjfquEDvn
uIZhMQ9l62+lA3bbT3aTpprQ+hCDM3YDq1oi5kYlZvlSpYfJP1/PBvV4Tq5nMXo5
mCjqMIWXATSUrOh2CD7u0asvC+gnKTcIGFvupycyYNXbuknSeIVeDjliJ/CJkBDl
IlY0/U4DSWVgV3a74deRDE4Zf73p1SSyQ0qNCLmXaHwKcDrwLiRKA+UGIox2x/yo
bosRHyhf+CMn6DL/kPV0p4EYPUAom2DXcjljfHdHsPOzsXK4soBd+Z/sI3mxZVJM
I4fabAGSTaOYBmfGpCMtbL1Yyy58EIKUQn0oDcGNFSSQTVUMblfGntNWg6VcovOX
7+Ty8m4J77xOiEC6PLR9tai7o6gWliFeXtcf5QzsCPkLG63Y3IUkgV5S8ySDYdUT
vR0zIuSs5lmtNxMMg7n06zYRRXvMbH7Mbu/HIdwwknLk9rEDp/ZCMLjAHHuK/EcG
MLSTrcbaVMYEoQDtqzFKIGbnwMJwjtPLZVHn5+pKT8om/3kMeGo=
=WJMR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.