Using mercurial to manage files in /etc on multiple systems

Chris Green cl at isbd.net
Fri Jun 14 08:05:59 UTC 2024


On Fri, Jun 14, 2024 at 12:17:10AM +0200, Dr. Arne Babenhauserheide via Mercurial wrote:
> 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)
> 
Thanks Arne, I'll read up about named branches and merge.

Can one push just a named branch to a remote repository?

-- 
Chris Green


More information about the Mercurial mailing list