Re: [PATCH] remote-bzr: update old organization

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] remote-bzr: update old organization

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:15

Felipe Contreras [off-list ref] writes:
On Tue, May 14, 2013 at 5:14 PM, Junio C Hamano [off-list ref] wrote:
quoted
Junio C Hamano [off-list ref] writes:
quoted
Felipe Contreras [off-list ref] writes:
quoted
And the clone would happen either way, with or without this patch,
because 'hg/origin/master' doesn't exist, the only purpose 'hg/origin'
serves is to block the new feature.
That is the answer I was trying to extract out of you (I take the hg
is a typo for bzr in the above, though).
Just to double check, I understand that the justification for
removal is this:

     If a clone exists with the old organization (v1.8.2) it will prevent the
     new shared repository organization from working, so let's remove this
    -repository, which is not used any more.
    +repository. It is not used by 1.8.3, and did not host any useful
    +information in the code in 1.8.2.
That is not true. It did host useful information in 1.8.2, if we apply
this and the user tries to pull with remote-bzr from 1.8.2, it would
need to be cloned again.
So the answer to my original question:

    So we nuke that and have them clone from scratch?

is now "Yes, unfortunately, but it happens automatically inside
remote-bzr and the users won't have to do anything extra"?

That is the kind of honest description I wanted to see.

Re: [PATCH] remote-bzr: update old organization

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:57:15

On Tue, May 14, 2013 at 5:33 PM, Junio C Hamano [off-list ref] wrote:
Felipe Contreras [off-list ref] writes:
quoted
On Tue, May 14, 2013 at 5:14 PM, Junio C Hamano [off-list ref] wrote:
quoted
Junio C Hamano [off-list ref] writes:
quoted
Felipe Contreras [off-list ref] writes:
quoted
And the clone would happen either way, with or without this patch,
because 'hg/origin/master' doesn't exist, the only purpose 'hg/origin'
serves is to block the new feature.
That is the answer I was trying to extract out of you (I take the hg
is a typo for bzr in the above, though).
Just to double check, I understand that the justification for
removal is this:

     If a clone exists with the old organization (v1.8.2) it will prevent the
     new shared repository organization from working, so let's remove this
    -repository, which is not used any more.
    +repository. It is not used by 1.8.3, and did not host any useful
    +information in the code in 1.8.2.
That is not true. It did host useful information in 1.8.2, if we apply
this and the user tries to pull with remote-bzr from 1.8.2, it would
need to be cloned again.
So the answer to my original question:

    So we nuke that and have them clone from scratch?
No, as I already explained the "cloning from scratch" is already
happening with or without this patch.

All this change does is remove a repository that is not used any more
in order to allow a feature that was already introduced, and that's
exactly what the commit message says. It doesn't cause any other
change.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help