Move noms-merge into noms commit
tool
#2535
Comments
@aboodman The above is the current, desired API, right? |
Hm, the idea of this creating its own commit seems in conflict with factoring out |
Ideas? @rafael-atticlabs ? |
I mean...it can still craft the merge Commit and emit the hash of that object. Then noms commit just needs to understand what to do if it sees that the hash is already a Commit? |
I mean what metadata will it put there? On Thu, Sep 8, 2016 at 1:26 PM, cmasone-attic notifications@github.com
|
hm. true. Open to ideas :-) |
Also it wont actually work with On Thu, Sep 8, 2016 at 1:32 PM, Aaron Boodman aa@attic.io wrote:
|
POR: |
noms commit
tool
Once we integrate noms-merge into the `noms commit` command, this function will allow us to stop requiring users to pass in the common ancestor to be used when merging. The code can just find it and merge away. Toward attic-labs#2535
Once we integrate noms-merge into the `noms commit` command, this function will allow us to stop requiring users to pass in the common ancestor to be used when merging. The code can just find it and merge away. Toward attic-labs#2535
Once we integrate noms-merge into the `noms commit` command, this function will allow us to stop requiring users to pass in the common ancestor to be used when merging. The code can just find it and merge away. Toward #2535
Add optional merging functionality to noms commit. noms commit --merge <database> <left-dataset-name> <right-dataset-name> The command above will look in the given Database for the two named Datasets and, if possible, merge their HeadValue()s and commit the result back to <right-dataset-name>. All the existing options to `noms commit` are supported, to allow users to add metadata to the Commit object that winds up in the Database. Users can optionally provide a third Dataset name to commit to instead. Fixes attic-labs#2535
Add optional merging functionality to noms commit. noms commit --merge <database> <left-dataset-name> <right-dataset-name> The command above will look in the given Database for the two named Datasets and, if possible, merge their HeadValue()s and commit the result back to <right-dataset-name>. All the existing options to `noms commit` are supported, to allow users to add metadata to the Commit object that winds up in the Database. Users can optionally provide a third Dataset name to commit to instead. Fixes attic-labs#2535
Add optional merging functionality to noms commit. noms commit --merge <database> <left-dataset-name> <right-dataset-name> The command above will look in the given Database for the two named Datasets and, if possible, merge their HeadValue()s and commit the result back to <right-dataset-name>. All the existing options to `noms commit` are supported, to allow users to add metadata to the Commit object that winds up in the Database. Users can optionally provide a third Dataset name to commit to instead. Fixes attic-labs#2535
Add optional merging functionality to noms commit. noms merge <database> <left-dataset-name> <right-dataset-name> <output-dataset-name> The command above will look in the given Database for the two named Datasets and, if possible, merge their HeadValue()s and commit the result back to <output-dataset-name>. Fixes #2535
The new interface will be:
The text was updated successfully, but these errors were encountered: