Using mercurial to manage files in /etc on multiple systems

Dr. Arne Babenhauserheide arne_bab at web.de
Thu Jun 13 22:17:10 UTC 2024


Chris Green <cl at isbd.net> writes:

> Is there a way to manage the files which are the same across multiple
> systems and, at the same time, managing the special cases?

You can create named branches for the special cases and `merge` default
into these when you do general changes.

If you happen to do a change in the special system that you want in the
general systems, you can just commit the change on the special branch
and then `graft` it into the default branch.

(using graft avoids disturbing the flow of changes from the default
branch into the specialized branches)

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1125 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20240614/44c2c714/attachment.asc>


More information about the Mercurial mailing list