Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Split InternalReplicator::replicate into simpler methods#10

Open
jkenn99 wants to merge 3 commits intorelaxedws:8.x-1.xfrom
jkenn99:simplify_replicator
Open

Split InternalReplicator::replicate into simpler methods#10
jkenn99 wants to merge 3 commits intorelaxedws:8.x-1.xfrom
jkenn99:simplify_replicator

Conversation

@jkenn99
Copy link
Copy Markdown

@jkenn99 jkenn99 commented Oct 3, 2016

I have written my own replicator as a subclass of InternalReplicator but I have a bunch of reused code in the replicate method that should be split into its own methods.

Also, this makes the diff list actually be something other modules can consume for the purpose of showing a workspace diff UI, for example.

In doing this, I also noticed that InternalReplicator::replicate has a side-effect of switching workspaces which this PR fixes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant