EnglishFrenchSpanish

Ad


OnWorks favicon

kdb-merge - Online in the Cloud

Run kdb-merge in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command kdb-merge that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


kdb-merge - Three-way merge of KeySets

SYNOPSIS


kdb merge [options] ourpath theirpath basepath resultpath

ourpath
Path to the keyset to serve as ours

theirpath
path to the keyset to serve as theirs

basepath
path to the base keyset

resultpath
path without keys where the merged keyset will be saved

DESCRIPTION


Does a three-way merge between keysets.
On success the resulting keyset will be saved to mergepath.
On unresolved conflicts nothing will be changed.

THREE-WAY MERGE


The kdb merge command uses a three-way merge by default.
A three-way merge is when three versions of a file (or in this case, KeySet) are compared
in order to automatically merge the changes made to the KeySet over time.
These three versions of the KeySet are:

base The base KeySet is the original version of the KeySet.

ours The ours KeySet represents the user´s current version of the KeySet.
This KeySet differs from base for every key you changed.

theirs The theirs KeySet usually represents the default version of a KeySet (usually the
package maintainer´s version).
This KeySet differs from base for every key someone has changed.

The three-way merge works by comparing the ours KeySet and the theirs KeySet to the base
KeySet. By looking for differences in these KeySets, a new KeySet called result is created
that represents a merge of these KeySets.

CONFLICTS


Conflicts occur when a Key has a different value in all three KeySets.
Conflicts in a merge can be resolved using a strategy with the -s option. To interactively
resolve conflicts, use the -i option.

OPTIONS


· -H, --help: Show the man page.

· -V, --version: Print version info.

· s, --strategy <name>: Specify which strategy should be used to resolve conflicts.

· -v, --verbose: Explain what is happening.

· -i, --interactive Interactively resolve the conflicts.

EXAMPLES


To complete a simple merge of three KeySets:
kdb merge user/ours user/theirs user/base user/result

To complete a merge whilst using the ours version of the KeySet to resolve conflicts:
kdb merge -s ours user/ours user/theirs user/base user/result

To complete a three-way merge and overwrite all current keys in the resultpath:
kdb merge -s cut user/ours user/theirs user/base user/result

Use kdb-merge online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • More »

Linux commands

Ad