mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-08 11:21:17 -05:00
removing todo and fixing test
This commit is contained in:
+1
-4
@@ -264,16 +264,13 @@ func CloneRemote(ctx context.Context, srcDB *doltdb.DoltDB, remoteName, branch s
|
||||
return err
|
||||
}
|
||||
|
||||
// Retrieve existing working set
|
||||
// Retrieve existing working set, delete if it exists
|
||||
ws, err := dEnv.DoltDB.ResolveWorkingSet(ctx, wsRef)
|
||||
if ws != nil {
|
||||
dEnv.DoltDB.DeleteWorkingSet(ctx, wsRef)
|
||||
}
|
||||
ws = doltdb.EmptyWorkingSet(wsRef)
|
||||
|
||||
// TODO: this might be where the actual working set is
|
||||
//dEnv.DoltDB.ResolveWorkingSet()
|
||||
|
||||
// Update to use current Working and Staged root
|
||||
err = dEnv.UpdateWorkingSet(ctx, ws.WithWorkingRoot(rootVal).WithStagedRoot(rootVal))
|
||||
if err != nil {
|
||||
|
||||
@@ -397,7 +397,6 @@ teardown() {
|
||||
@test "replication: local clone" {
|
||||
run dolt clone file://./repo1/.dolt/noms repo2
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ "chunks complete. 0 chunks being downloaded currently." ]] || false
|
||||
cd repo2
|
||||
run dolt ls
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
Reference in New Issue
Block a user