-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ea9137
commit c5fc925
Showing
53 changed files
with
370 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- fbt: | ||
cmd: $FBT_CWD/target/debug/fpm --test sync-status && $FBT_CWD/target/debug/fpm --test resolve-conflict --delete-it index.ftd | ||
output: .clone-state | ||
|
||
-- stdout: | ||
|
||
CloneEditedRemoteDeleted: index.ftd | ||
|
5 changes: 5 additions & 0 deletions
5
tests/21 - fpm resolve_conflict delete-it/input/.clone-state/cr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
10 changes: 10 additions & 0 deletions
10
tests/21 - fpm resolve_conflict delete-it/input/.clone-state/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 1 | ||
deleted: false |
29 changes: 29 additions & 0 deletions
29
tests/21 - fpm resolve_conflict delete-it/input/.remote-state/history.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-- import: fpm | ||
|
||
|
||
-- fpm.history: FPM.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661334297873268000 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync | ||
|
||
|
||
|
||
-- fpm.history: index.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661335012631536200 | ||
operation: Deleted | ||
version: 2 | ||
|
||
|
||
|
||
--- file-edit: | ||
timestamp: 1661334297873268000 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync |
4 changes: 4 additions & 0 deletions
4
tests/21 - fpm resolve_conflict delete-it/input/.remote-state/history/FPM.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
1 change: 1 addition & 0 deletions
1
tests/21 - fpm resolve_conflict delete-it/input/.remote-state/history/index.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
5 changes: 5 additions & 0 deletions
5
tests/21 - fpm resolve_conflict delete-it/output/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- fbt: | ||
cmd: $FBT_CWD/target/debug/fpm --test sync-status && $FBT_CWD/target/debug/fpm --test resolve-conflict --revive-it index.ftd | ||
output: .clone-state | ||
|
||
-- stdout: | ||
|
||
CloneEditedRemoteDeleted: index.ftd | ||
|
5 changes: 5 additions & 0 deletions
5
tests/22 - fpm resolve_conflict revive-it/input/.clone-state/cr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
10 changes: 10 additions & 0 deletions
10
tests/22 - fpm resolve_conflict revive-it/input/.clone-state/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 1 | ||
deleted: false |
29 changes: 29 additions & 0 deletions
29
tests/22 - fpm resolve_conflict revive-it/input/.remote-state/history.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-- import: fpm | ||
|
||
|
||
-- fpm.history: FPM.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661248447054446300 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync | ||
|
||
|
||
|
||
-- fpm.history: index.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661248530375928400 | ||
operation: Deleted | ||
version: 2 | ||
|
||
|
||
|
||
--- file-edit: | ||
timestamp: 1661248447054446300 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync |
4 changes: 4 additions & 0 deletions
4
tests/22 - fpm resolve_conflict revive-it/input/.remote-state/history/FPM.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.avi.com |
1 change: 1 addition & 0 deletions
1
tests/22 - fpm resolve_conflict revive-it/input/.remote-state/history/index.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.avi.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world use ours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
8 changes: 8 additions & 0 deletions
8
tests/22 - fpm resolve_conflict revive-it/output/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- fbt: | ||
cmd: $FBT_CWD/target/debug/fpm --test sync-status && $FBT_CWD/target/debug/fpm --test resolve-conflict --use-theirs index.ftd | ||
output: .clone-state | ||
|
||
-- stdout: | ||
|
||
Conflicted: index.ftd |
5 changes: 5 additions & 0 deletions
5
tests/23 - fpm resolve_conflict use-theirs/input/.clone-state/cr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 |
9 changes: 9 additions & 0 deletions
9
tests/23 - fpm resolve_conflict use-theirs/input/.clone-state/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 1 |
29 changes: 29 additions & 0 deletions
29
tests/23 - fpm resolve_conflict use-theirs/input/.remote-state/history.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-- import: fpm | ||
|
||
|
||
-- fpm.history: FPM.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661337374048618700 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync | ||
|
||
|
||
|
||
-- fpm.history: index.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661337654050656400 | ||
operation: Updated | ||
version: 2 | ||
|
||
|
||
|
||
--- file-edit: | ||
timestamp: 1661337374048618700 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync |
4 changes: 4 additions & 0 deletions
4
tests/23 - fpm resolve_conflict use-theirs/input/.remote-state/history/FPM.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
1 change: 1 addition & 0 deletions
1
tests/23 - fpm resolve_conflict use-theirs/input/.remote-state/history/index.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world |
1 change: 1 addition & 0 deletions
1
tests/23 - fpm resolve_conflict use-theirs/input/.remote-state/history/index.2.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 |
9 changes: 9 additions & 0 deletions
9
tests/23 - fpm resolve_conflict use-theirs/output/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- fbt: | ||
cmd: $FBT_CWD/target/debug/fpm --test sync-status && $FBT_CWD/target/debug/fpm --test resolve-conflict --use-ours index.ftd | ||
output: .clone-state | ||
|
||
-- stdout: | ||
|
||
Conflicted: index.ftd |
5 changes: 5 additions & 0 deletions
5
tests/24 - fpm resolve_conflict use-ours/input/.clone-state/cr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 |
9 changes: 9 additions & 0 deletions
9
tests/24 - fpm resolve_conflict use-ours/input/.clone-state/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 1 |
29 changes: 29 additions & 0 deletions
29
tests/24 - fpm resolve_conflict use-ours/input/.remote-state/history.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
-- import: fpm | ||
|
||
|
||
-- fpm.history: FPM.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661338702933685500 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync | ||
|
||
|
||
|
||
-- fpm.history: index.ftd | ||
|
||
--- file-edit: | ||
timestamp: 1661338880439075600 | ||
operation: Updated | ||
version: 2 | ||
|
||
|
||
|
||
--- file-edit: | ||
timestamp: 1661338702933685500 | ||
operation: Added | ||
version: 1 | ||
|
||
Initial sync |
4 changes: 4 additions & 0 deletions
4
tests/24 - fpm resolve_conflict use-ours/input/.remote-state/history/FPM.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
1 change: 1 addition & 0 deletions
1
tests/24 - fpm resolve_conflict use-ours/input/.remote-state/history/index.1.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world |
1 change: 1 addition & 0 deletions
1
tests/24 - fpm resolve_conflict use-ours/input/.remote-state/history/index.2.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-- import: fpm | ||
|
||
-- fpm.package: aviral | ||
base: www.aviral.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-- ftd.text: Hello world4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 |
9 changes: 9 additions & 0 deletions
9
tests/24 - fpm resolve_conflict use-ours/output/workspace.ftd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- fbt: | ||
cmd: $FBT_CWD/target/debug/fpm --test add new.ftd && $FBT_CWD/target/debug/fpm --test sync-status | ||
output: .clone-state | ||
|
||
-- stdout: | ||
|
||
Added: new.ftd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- import: fpm | ||
|
||
-- fpm.client-workspace: FPM.ftd | ||
version: 1 | ||
deleted: false | ||
|
||
|
||
-- fpm.client-workspace: index.ftd | ||
version: 1 | ||
deleted: false |
Oops, something went wrong.