cob: Add ability to add more parents to change
modified radicle-cob/src/backend/git/change.rs
@@ -86,12 +86,13 @@ impl change::Storage for git2::Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -124,6 +125,7 @@ impl change::Storage for git2::Repository {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -134,6 +136,11 @@ impl change::Storage for git2::Repository {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -153,6 +160,7 @@ impl change::Storage for git2::Repository {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cob/src/change/store.rs
@@ -19,17 +19,18 @@ pub trait Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -38,7 +39,7 @@ pub trait Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -62,6 +63,8 @@ pub struct Change<Resource, Id, Signature> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle-cob/src/change_graph.rs
@@ -31,7 +31,7 @@ impl ChangeGraph {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/lib.rs
@@ -128,7 +128,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/collaboration/create.rs
@@ -64,7 +64,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/object/collaboration/update.rs
@@ -42,9 +42,10 @@ pub struct Update {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -55,6 +56,7 @@ pub fn update<S, G>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -80,6 +82,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cob/src/test/storage.rs
@@ -63,29 +63,30 @@ impl change::Storage for Storage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cob/src/tests.rs
@@ -126,6 +126,7 @@ fn update_cob() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -188,6 +189,7 @@ fn traverse_cobs() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/cob/identity.rs
@@ -13,7 +13,7 @@ use crate::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -68,6 +68,8 @@ pub enum Action {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/cob/issue.rs
@@ -10,8 +10,8 @@ use radicle_crdt::{LWWReg, LWWSet, Max, Semilattice};
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -534,6 +534,8 @@ pub enum Action {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/cob/patch.rs
@@ -15,8 +15,8 @@ use radicle_crdt::{GMap, GSet, LWWReg, LWWSet, Lamport, Max, Redactable, Semilat
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -119,6 +119,8 @@ pub enum Action {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/cob/store.rs
@@ -18,11 +18,19 @@ use crate::{cob, identity};
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,7 +109,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -119,7 +127,7 @@ impl<'a, T> Store<'a, T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -137,11 +145,14 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -168,7 +179,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -304,7 +315,7 @@ impl<T: FromHistory> Transaction<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/cob/thread.rs
@@ -153,6 +153,8 @@ pub enum Action {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git/cob.rs
@@ -41,19 +41,20 @@ impl change::Storage for Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|