dolthub / dolthub/dolt

Add `--history` flag to `dolt dump`

Open
#6,896 2 comments 0 reactions 0 assignees View on GitHub
cli enhancement
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

`dolt dump` currently generates a SQL script to recreate the database as it exists at the current branch head.

We should accept a `--history` flag to generate the entire history of the database. This means that it should emit SQL that reproduces every commit of the database, on every branch, with the same data, authors, timestamps, etc. This can be accomplished by emitting `call dolt_checkout()`, `call dolt_commit()` at various stages in the export process.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.