radicle: force new or initial construction of LWWReg
modified radicle-crdt/src/lwwreg.rs
@@ -14,6 +14,16 @@ pub struct LWWReg<T, C = clock::Lamport> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -46,15 +56,6 @@ impl<T: Semilattice, C: PartialOrd> LWWReg<T, C> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle/src/cob/identity.rs
@@ -167,9 +167,9 @@ impl Semilattice for Proposal {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/cob/issue.rs
@@ -83,9 +83,9 @@ pub struct Issue {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,8 +106,8 @@ impl Default for Issue {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/cob/patch.rs
@@ -160,10 +160,10 @@ impl Semilattice for Patch {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -326,6 +326,7 @@ impl store::FromHistory for Patch {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -417,10 +418,11 @@ impl Revision {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1053,6 +1055,7 @@ impl<'a> Patches<'a> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1460,6 +1463,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1476,17 +1480,33 @@ mod test {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1496,15 +1516,23 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|