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

Chosing the target repo for a mirrored commit on the basis of branch and sourceRepo #3407

Merged
merged 1 commit into from
Jul 27, 2019
Merged

Conversation

Anipik
Copy link
Contributor

@Anipik Anipik commented Jul 26, 2019

Fixes #3403

cc @danmosemsft @safern

@Anipik Anipik requested review from danmoseley and safern July 26, 2019 19:25
@@ -25,9 +25,9 @@ namespace Microsoft.DotNet.GitSync
internal class Program
{
private const string TableName = "CommitHistory";
private const string RepoTableName = "MirrorRepos";
private const string RepoTableName = "MirrorBranchRepos";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels like this s_repos dictionary logic can be shared in between these two guys.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can try to do it in a separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some Problems with enabling the mirroring for multiple branches
2 participants