Re: Using mercurial to manage files in /etc on multiple systems

2024-06-14 Thread Dr Rainer Woitok
Chris, On Thu, 13 Jun 2024 22:05:39 +0100 you wrote: > ... > I use mercurial to manage files such as postfix's main.cf and > /etc/dnsmasq.conf across these systems, some systems will have > identical versions of these files, other systems have their own > special version of the file. > > Is ther

Re: Is there a way to use mercurial to manage file names rather than content?

2024-06-14 Thread Chris Green
On Fri, Jun 14, 2024 at 12:29:33PM +0200, Dr. Arne Babenhauserheide via Mercurial wrote: > Chris Green writes: > > > Is there a way to record the file *names* in a directory hierarchy > > rather than their contents? > > Do you mean something like the lfs extension? > https://www.mercurial-scm.

Re: Using mercurial to manage files in /etc on multiple systems

2024-06-14 Thread Dr. Arne Babenhauserheide via Mercurial
Chris Green writes: > On Fri, Jun 14, 2024 at 09:05:59AM +0100, Chris Green wrote: >> On Fri, Jun 14, 2024 at 12:17:10AM +0200, Dr. Arne Babenhauserheide via >> Mercurial wrote: >> > Chris Green writes: >> > >> > > Is there a way to manage the files which are the same across multiple >> > > sy

Re: Is there a way to use mercurial to manage file names rather than content?

2024-06-14 Thread Dr. Arne Babenhauserheide via Mercurial
Chris Green writes: > Is there a way to record the file *names* in a directory hierarchy > rather than their contents? Do you mean something like the lfs extension? https://www.mercurial-scm.org/doc/hg.1.html#lfs Depending on the setting, this then tracks the filenames and can store the conten

Is there a way to use mercurial to manage file names rather than content?

2024-06-14 Thread Chris Green
Is there a way to record the file *names* in a directory hierarchy rather than their contents? In particular I'd like to record the versions (indicated in the file name) of things like Digikam and Drawio which are large appimage files. I suppose one could create a 'source' file with something lik

Re: Using mercurial to manage files in /etc on multiple systems

2024-06-14 Thread Chris Green
On Fri, Jun 14, 2024 at 09:05:59AM +0100, Chris Green wrote: > On Fri, Jun 14, 2024 at 12:17:10AM +0200, Dr. Arne Babenhauserheide via > Mercurial wrote: > > Chris Green writes: > > > > > Is there a way to manage the files which are the same across multiple > > > systems and, at the same time, m

Re: Using mercurial to manage files in /etc on multiple systems

2024-06-14 Thread Chris Green
On Fri, Jun 14, 2024 at 12:17:10AM +0200, Dr. Arne Babenhauserheide via Mercurial wrote: > Chris Green 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 spe