Two strange problems

View: New views
4 Messages — Rating Filter:   Alert me  

Two strange problems

by i oracle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've faced 2 problems using SVN server 1.5.5.

1) While merging branch with trunk SVN often misses some files that were changed. I mean some files have been changed significantly, but no changes according to SVN information. So during merge operation those files don't appear in changed files list.

2) Sometimes SVN informs about conflict in file and aborts commit, but actually there is no conflict at all. Nobody has changed file before my commit.

Tried different clients. The same situations.
Sorry but I cannot provide scripts/repository that can reproduce bugs because because I can't see which actions cause them.

RE: Two strange problems

by Bob Archer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

>I've faced 2 problems using SVN server 1.5.5.

> 

>1) While merging branch with trunk SVN often misses some files that were changed. I mean some files have been changed significantly, but no changes according to SVN information. So during merge operation those files don't appear in changed files list.

> 

>2) Sometimes SVN informs about conflict in file and aborts commit, but actually there is no conflict at all. Nobody has changed file before my commit.

> 

>Tried different clients. The same situations.

>Sorry but I cannot provide scripts/repository that can reproduce bugs because because I can't see which actions cause them.

 

Just a couple of questions.

 

1. What command are you running? I can't tell from your message if your target is trunk or branch?

 

2. Your target WC is up to date and has no pending changes?

 

3. A "conflict" during commit doesn't have to do with the merge. A conflict during a commit means someone changed the file in question in the repository since your last update (see item 2) and that you need to update your working copy and try again. A "conflict" during a merge would be different.

 

BOb

 

 

 


RE: Two strange problems

by Bob Archer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

>On Fri, Oct 30, 2009 at 7:33 PM, Bob Archer <Bob.Archer@...> wrote:

>>>I've faced 2 problems using SVN server 1.5.5.

>>>

>>>1) While merging branch with trunk SVN often misses some files that were changed. I mean some files have been changed significantly, but no changes according to SVN information. So during merge operation those files don't appear in changed files list.

>>>

> 

>1. My target is branch. Source is trunk. SVN doesn't see that some files in trunk have changed although files are different in trunk and branch. Command sequence:

> - revert local changes in branch

> - update branch

> - update trunk

> - merge from trunk to branch

> 

 

Can you verify that the differences between the branch and the trunk file is due to changes in the trunk since you created the branch and not changes in branch? Just because the files are "different" doesn't mean a merge will do anything. A merge takes any changes that have been make in the source URL since the branch was created and merges them into your target.

 

>>>2) Sometimes SVN informs about conflict in file and aborts commit, but actually there is no conflict at all. Nobody has changed file before my commit.

>>>

>>2. Your target WC is up to date and has no pending changes?

>2. Yes.

> 

>>3. A "conflict" during commit doesn't have to do with the merge. A conflict during a commit means someone changed the file in question in the repository since your last update (see item 2) and that you need to update your working copy and try again. A "conflict" during a merge would be different.

>> 

> 

>3. Merge problem and file conflict problems are 2 separate problems. Sorry if I didn't make it clear.

 

 OK, so your WC is up to date and you issue:

 

 svn up

 svn commit

 

 ... and you get a conflict error? Can you duplicate the error here it might be easier to help?

 

 Also, please reply to all not just me. (I sent this back to the list) And do not top post.

 

 BOb


Re: Two strange problems

by i oracle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Fri, Oct 30, 2009 at 8:44 PM, Bob Archer <Bob.Archer@...> wrote:

Can you verify that the differences between the branch and the trunk file is due to changes in the trunk since you created the branch and not changes in branch? Just because the files are "different" doesn't mean a merge will do anything. A merge takes any changes that have been make in the source URL since the branch was created and merges them into your target.

Yes, I have verified.
 

 OK, so your WC is up to date and you issue:

 

 svn up

 svn commit

 

 ... and you get a conflict error? Can you duplicate the error here it might be easier to help?

Ok, I'll post an error message as soon as it happens again.