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

repo init --mirror should get refs/changes/* too #16

Closed
GoogleCodeExporter opened this issue Feb 18, 2016 · 2 comments
Closed

repo init --mirror should get refs/changes/* too #16

GoogleCodeExporter opened this issue Feb 18, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Reported by Shawn Pearce <sop@google.com> on Tue Mar 03 12:26:05 PST 2009
Source: JIRA REPO-16
Affected Version: 1.6.1

repo init --mirror should use refs/*, to fully mirror the remote, instead of
just refs/heads/*.

This may be necessary to support replication of temporary change refs created
by Gerrit (under refs/changes/*).

Original issue reported on code.google.com by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:09

@GoogleCodeExporter
Copy link
Author

Comment by Shawn Pearce <sop@google.com> on Tue Mar 17 08:22:03 PDT 2009

I changed my mind.

Replacing refs/changes/* may be a very bad idea.  If the upstream is using
Gerrit, and the mirror repo is replicating into is using Gerrit, the ID spaces
will collide and the mirror will get duplicates, causing errors in Gerrit, or
changes being overwritten.

Gerrit needs to first have a globally unique change assignment algorithm
before we can directly mirror refs/changes/*.

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

@GoogleCodeExporter
Copy link
Author

Update by Shawn Pearce <sop@google.com> on Tue Mar 17 08:22:03 PDT 2009

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

  • Changed state: WontFix

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

No branches or pull requests

1 participant