From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Config file updates and using diff.
Date: Fri, 28 Jun 2024 01:11:12 -0500 [thread overview]
Message-ID: <70697344-a49f-2ae4-1f5e-a75b364de687@gmail.com> (raw)
In-Reply-To: <v5kpdk$bol$1@ciao.gmane.io>
Grant Edwards wrote:
> On 2024-06-27, Dale <rdalek1967@gmail.com> wrote:
>> Howdy,
>>
>> I just finished a large update on my main rig. I have a lot of config
>> files to update and some have new entries that are needed but I don't
>> want to lose the ones I've already set. Usually, I just pick the new
>> one and have a saved copy of the old config to put back my settings.
>> This is a lot of config files tho. I been using dispatch-conf for this
>> but I've never figured out how to use the diff feature and tell it which
>> parts I want to keep and what I want to update.
>>
>> First, I've looked on the wiki and can't find a howto on using the diff
>> tool. Is there a guide on there I can't find? Second, is there a
>> better way to do this, a very easy way if you will? Like maybe a GUI
>> thing where I use the mouse to select. It would be nice if it is
>> something I can easily remember how to do given how rare it is I need to
>> do a diff of the files.
> I used the "meld" utility for doing visual side-by side diffs and
> resolving merges. At one point, I had figured out how to get
> etc-udpate to invoke meld for me, but I've lost that setting somehow.
>
> I usually just use etc-udpate, and then individually invoke meld with
> the two file paths shown by etc-udpate. I merge the relevent bits of
> the new default config file into my existing one using meld, then I
> tell etc-udpate to "discard the new file" (or whatever that option
> is).
>
I tried several different things, even those outside of emerge like
kdiff3. I couldn't figure out how to use any of them. Eventually, I
just hit 'use new' on them all. Now I'm trying to fix everything it
messed up. Most everything works except for the bashrc.d stuff. It
seems things started moving from a single file to a directory with
different files for different things. I kinda like the idea myself. I
just wish I could get it to work right. LOL
Thanks for the suggestion.
Dale
:-) :-)
prev parent reply other threads:[~2024-06-28 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 21:26 [gentoo-user] Config file updates and using diff Dale
2024-06-27 22:34 ` [gentoo-user] " Grant Edwards
2024-06-28 6:11 ` Dale [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=70697344-a49f-2ae4-1f5e-a75b364de687@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox