Page MenuHomePhabricator

Not possible to move a URI without destroying the old one
Closed, InvalidPublic

Description

  1. Create a URI to a link x
  2. Put IO off, and disble the uri for x
  3. Go to another repo, and try to create a URI with link x
  4. Get this message: You can not set this URI to use Observe IO because another URI for this repository is already configured in Observe IO mode. A repository can not observe two different remotes simultaneously. Turn off IO for the other URI first.

So to sum up, you can turn of the IO of the URI, but the message still appears.

Event Timeline

I can't reproduce this. Here's the first repository (I/O off, disabled);

Screen Shot 2016-05-26 at 10.21.04 AM.png (842×1 px, 135 KB)

Here's the second repository (I/O enabled in observe mode):

Screen Shot 2016-05-26 at 10.21.06 AM.png (842×1 px, 137 KB)

Strange. I tried it again, now I can't reproduce it too, but the history said, that I didn't make a fault.

Maybe related: After you created the second URI, you can switch the first one to active IO back, so there the error messages does not work:
I create a repo which pulls from a URL, which another repo uses as repo...

After you created the second URI, you can switch the first one to active IO back, so there the error messages does not work:

This is expected. You can make 1,000 repositories that observe the same remote if you want. Observe URIs are not required to be unique, the only limitation is that each repository may only have one.

I create a repo which pulls from a URL, which another repo uses as repo...

That's fine too (it's possible to create loops with observing + mirroring, but we can't possibly prevent this).

Since this report doesn't appear to describe any reproducible bugs, I'm going to close it.