cob: Rename default history type

Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
This commit is contained in:
Alexis Sellier 2022-11-26 17:52:31 +01:00
parent a79c95283b
commit 86e6fa22a1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ fn load_contents(
manifest: &store::Manifest,
) -> Result<entry::Contents, error::Load> {
Ok(match manifest.history_type {
HistoryType::Default | HistoryType::Automerge => {
HistoryType::Radicle | HistoryType::Automerge => {
let contents_tree_entry = tree
.get_name(CHANGE_BLOB_NAME)
.ok_or_else(|| error::Load::NoChange(tree.id().into()))?;

View File

@ -22,7 +22,7 @@ pub use entry::{Contents, Entry, EntryId};
#[serde(rename_all = "lowercase")]
pub enum HistoryType {
#[default]
Default,
Radicle,
Automerge,
}