lib/checkout: Rename disjoint union, change to merge identical files
It turns out that librpm automatically merges identical files between distinct packages, and this occurs in practice with Fedora today between `chkconfig` and `initscripts` for exmaple. Since we added this for rpm-ostree, we basically want to do what librpm does, let's change the semantics to do a merge. While we're here rename to `UNION_IDENTICAL`. Closes: #1156 Approved by: jlebon
This commit is contained in:
1 parent
8d3752a0d6
commit
051cdf396c
6 files changed
+208
-86
No files matched your search
@@ -98,11 +98,12 @@ Boston, MA 02111-1307, USA.
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--disjoint-union</option></term>
|
||||
<term><option>--union-identical</option></term>
|
||||
|
||||
<listitem><para>
|
||||
When layering checkouts, error out if a file would be replaced, but add new files and directories
|
||||
</para></listitem>
|
||||
<listitem><para>Like <literal>--union</literal>, but error out
|
||||
if a file would be replaced with a different file. Add new files
|
||||
and directories, ignore identical files, and keep existing
|
||||
directories. Requires <literal>-H</literal>.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
|
||||
Reference in new issue
Block a user