Is freebsd-update braindamaged, or I'm using it wrong?
John Baldwin
jhb at freebsd.org
Tue Oct 22 20:28:13 UTC 2013
On Tuesday, October 01, 2013 5:38:15 am Alexander Yerenkow wrote:
> To make better tool (than current behaviour of mergemaster regarding
> configs/source files) which could make merge an easy task it *must* have
> such things:
>
> a) way to get Original configs/files from revision from you are upgrading
> ($Rev1)
> b) way to get Original configs/files from revision to you are upgrading
> ($Rev100)
> c) have ability to ignore differencies in comments
> d) have ability to treat special cases (as $FreeBSD$ - just took newer line)
>
> Then, your each new file will be $Rev100 + diff_changes(CURRENT, $Rev1) +
> diff_changes($Rev100, $Rev1).
> Note, that in case that your diffs are none diff_changes(CURRENT, $Rev1) =
> 0, then you can simply get new file.
> Same thing in case that only $FreeBSD$ changed.
>
> I have some PoC-es for this, but not in shell, maybe I'll come up someday
> with full tool.
Try etcupdate.
--
John Baldwin
More information about the freebsd-hackers
mailing list