You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Hammant <pa...@hammant.org> on 2009/09/18 15:20:43 UTC
How is R - replace performed ?
Does anyone know how you make a R (replace) item in a merge from a
branch its trunk? We see some items historically that are marked with
R, but can't ask the guy that did it. We're wanting to reproduce this
situation, but need to know more about how to make it happen.
Regards,
- Paul
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396496
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Paul Hammant <pa...@hammant.org>.
>>
>> Will report back more today.z
>
> Yes, users should never see this. If it happens, it's a bug in the
> program. But the program needs to abort the merge because it's a
> situation it is unlikely to recover from.
>
> I've merged a fix for the missing '%s' in the "already exists" error
> message into the branch. So you should now see which file is causing
> the double tree conflict during the merge, with latest 1.6.x-r38000.
> Thanks for catching this!
>
We tried to kill (as near as we could get to obliterate) the R-
replaced directory, and though we could now merge past that, the merge
ends in exactly the same way some few minutes later.
As far as I can see we're out of options.
- Paul
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397564
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Stefan Sperling <st...@elego.de>.
On Mon, Sep 21, 2009 at 06:09:52AM -0700, Paul Hammant wrote:
>
> >Reading back, I'm not entirely sure what you were hinting at in
> >http://svn.haxx.se/users/archive-2009-09/0686.shtml
> >Success of 1.6.x-r38000, or failure?
>
> So I'm trying to say we are still experiencing a breaking merge that
> leaves us unable to progress...
>
> Here is an example of svn output that happens when svn exits part
> way though a merge. We are getting it on every branch we have tried,
> including a 1.6.x-r38000 on Friday:
>
> svn: Attempt to add tree conflict that already exists
> svn: Error reading spooled REPORT request response`
>
> We feel that users of svn should never see this abnormal-exit during
> a merge.
>
> Svn should just carry on in our opinion, and is not doing so. The
> worst that should happen, we believe, is marking of files as 'in
> merge conflict'.
>
> Will report back more today.z
Yes, users should never see this. If it happens, it's a bug in the
program. But the program needs to abort the merge because it's a
situation it is unlikely to recover from.
I've merged a fix for the missing '%s' in the "already exists" error
message into the branch. So you should now see which file is causing
the double tree conflict during the merge, with latest 1.6.x-r38000.
Thanks for catching this!
Stefan
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397503
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Paul Hammant <pa...@hammant.org>.
> Reading back, I'm not entirely sure what you were hinting at in
> http://svn.haxx.se/users/archive-2009-09/0686.shtml
> Success of 1.6.x-r38000, or failure?
So I'm trying to say we are still experiencing a breaking merge that
leaves us unable to progress...
Here is an example of svn output that happens when svn exits part way
though a merge. We are getting it on every branch we have tried,
including a 1.6.x-r38000 on Friday:
svn: Attempt to add tree conflict that already exists
svn: Error reading spooled REPORT request response`
We feel that users of svn should never see this abnormal-exit during a
merge.
Svn should just carry on in our opinion, and is not doing so. The
worst that should happen, we believe, is marking of files as 'in merge
conflict'.
Will report back more today.z
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397458
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Paul Hammant <pa...@hammant.org>.
Yup r38000 still fails to complete the merge for us. I feel it is
better than other versions, but it still breaks a few minutes further
on.
This week were are going to try to delete the R-replaced directory on
both trunk and branch in the hope that the merge won't exit part way
through. If there was an obliterate, we'd gladly use it to get
through this.
- Paul
Sent from my iPhone
On Sep 21, 2009, at 4:55 AM, Stefan Sperling <st...@elego.de> wrote:
> On Mon, Sep 21, 2009 at 06:43:25AM -0500, Paul Hammant wrote:
>> It is one of these situations that's leading us to have the breaking
>> merge, discussed last week.
>
> So... 1.6.x-r38000 still fails to do the merge for you?
>
> Reading back, I'm not entirely sure what you were hinting at in
> http://svn.haxx.se/users/archive-2009-09/0686.shtml
> Success of 1.6.x-r38000, or failure?
>
> Stefan
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397384
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe@subversion.tigris.org].
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397454
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Stefan Sperling <st...@elego.de>.
On Mon, Sep 21, 2009 at 06:43:25AM -0500, Paul Hammant wrote:
> It is one of these situations that's leading us to have the breaking
> merge, discussed last week.
So... 1.6.x-r38000 still fails to do the merge for you?
Reading back, I'm not entirely sure what you were hinting at in
http://svn.haxx.se/users/archive-2009-09/0686.shtml
Success of 1.6.x-r38000, or failure?
Stefan
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397384
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Paul Hammant <pa...@hammant.org>.
It is one of these situations that's leading us to have the breaking
merge, discussed last week.
Regards,
- Paul
On Sep 21, 2009, at 4:08 AM, Johan Corveleyn wrote:
>> Van: Stefan Sperling [mailto:stsp@elego.de]
>> On Fri, Sep 18, 2009 at 10:20:43AM -0500, Paul Hammant wrote:
>>> Does anyone know how you make a R (replace) item in a merge from
>> a
>>> branch its trunk? We see some items historically that are marked
>> with
>>> R, but can't ask the guy that did it. We're wanting to reproduce
>> this
>>> situation, but need to know more about how to make it happen.
>>
>> "svn rm file", and then "svn copy otherfile file"
>> "svn rm file", and then create file again and "svn add file"
>>
>> Nasty: "svn rm dir", then "rm -rf dir", then "svn mkdir dir"
>> or "svn copy otherdir dir".
>> This works, but that it works is actually a bug and very nasty,
>> because you're blowing away a .svn directory during "rm -rf dir".
>>
>> Then commit, and then merge that revision to another branch.
>
> Another "nasty" way:
> "svn mv file file2", and then "svn mv file2 file".
>
> This causes a replace (without maintaining history), causing a lot
> of grief for us (happens regularly during refactoring -> dev changes
> his mind about a rename, in the middle of a big refactoring).
>
> See http://subversion.tigris.org/issues/show_bug.cgi?id=3429
>
> Regards,
> Johan
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397243
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe@subversion.tigris.org].
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397371
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
RE: How is R - replace performed ?
Posted by Johan Corveleyn <jo...@uz.kuleuven.ac.be>.
> Van: Stefan Sperling [mailto:stsp@elego.de]
> On Fri, Sep 18, 2009 at 10:20:43AM -0500, Paul Hammant wrote:
> > Does anyone know how you make a R (replace) item in a merge from
> a
> > branch its trunk? We see some items historically that are marked
> with
> > R, but can't ask the guy that did it. We're wanting to reproduce
> this
> > situation, but need to know more about how to make it happen.
>
> "svn rm file", and then "svn copy otherfile file"
> "svn rm file", and then create file again and "svn add file"
>
> Nasty: "svn rm dir", then "rm -rf dir", then "svn mkdir dir"
> or "svn copy otherdir dir".
> This works, but that it works is actually a bug and very nasty,
> because you're blowing away a .svn directory during "rm -rf dir".
>
> Then commit, and then merge that revision to another branch.
Another "nasty" way:
"svn mv file file2", and then "svn mv file2 file".
This causes a replace (without maintaining history), causing a lot of grief for us (happens regularly during refactoring -> dev changes his mind about a rename, in the middle of a big refactoring).
See http://subversion.tigris.org/issues/show_bug.cgi?id=3429
Regards,
Johan
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397243
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How is R - replace performed ?
Posted by Stefan Sperling <st...@elego.de>.
On Fri, Sep 18, 2009 at 10:20:43AM -0500, Paul Hammant wrote:
> Does anyone know how you make a R (replace) item in a merge from a
> branch its trunk? We see some items historically that are marked with
> R, but can't ask the guy that did it. We're wanting to reproduce this
> situation, but need to know more about how to make it happen.
"svn rm file", and then "svn copy otherfile file"
"svn rm file", and then create file again and "svn add file"
Nasty: "svn rm dir", then "rm -rf dir", then "svn mkdir dir"
or "svn copy otherdir dir".
This works, but that it works is actually a bug and very nasty,
because you're blowing away a .svn directory during "rm -rf dir".
Then commit, and then merge that revision to another branch.
Stefan
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396500
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].