Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge staging #85

Merged
merged 2 commits into from Apr 27, 2017
Merged

merge staging #85

merged 2 commits into from Apr 27, 2017

Conversation

@ayumi
Copy link
Contributor

ayumi commented Apr 27, 2017

  • fix/merge-records
diracdeltas and others added 2 commits Apr 27, 2017
The previous way somtimes merged a record into record with a different objectId somehow. Using Object.values guarantees that the final number of merged records will be the same as the number of unique objectIds.

Test plan:
1. Sync to the 'rummy tarp...' group sent by slack DM.
2. You should see a bookmark folder 'f1' with two bookmarks in it; previously the bookmarks would be at the top level.
3. checkout brave/browser-laptop#8480 and run "npm run test -- --grep='^Syncing bookmarks'". the tests should pass.
Fix record merging
@ayumi ayumi merged commit 2db9e6d into master Apr 27, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.