Skip to content

Commit

Permalink
Fixing reading data during manual conflict resolution with Snapshots.
Browse files Browse the repository at this point in the history
Change-Id: I9f76d4363748a793a4227eafcd5b089a6fc39d8e
  • Loading branch information
claywilkinson committed Jan 18, 2018
1 parent 728ac8d commit 476c4bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Engine::ResolveConflicts(gpg::SnapshotManager::OpenResponse const &originalRespo
manager.OpenBlocking(originalResponse.conflict_original.FileName(),
gpg::SnapshotConflictPolicy::MANUAL);
gpg::SnapshotManager::ReadResponse responseReadBase =
manager.ReadBlocking(responseBase.data);
manager.ReadBlocking(responseBase.conflict_original);
ParseSnapshotData(responseReadBase.data);

// Temporary store data,
Expand All @@ -211,7 +211,7 @@ Engine::ResolveConflicts(gpg::SnapshotManager::OpenResponse const &originalRespo
manager.OpenBlocking(originalResponse.conflict_unmerged.FileName(),
gpg::SnapshotConflictPolicy::MANUAL);
gpg::SnapshotManager::ReadResponse responseReadRemote =
manager.ReadBlocking(responseRemote.data);
manager.ReadBlocking(responseRemote.conflict_unmerged);
ParseSnapshotData(responseReadRemote.data);

// Merging them
Expand Down

0 comments on commit 476c4bd

Please sign in to comment.