You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Plaatje, Patrick" <Pa...@getronics.com> on 2009/05/28 13:20:02 UTC

Mergeinfo

Hi all,

I know that this subject has been discussed reasonably well already and I tried to figure this out, but am not sure what is causing the current issues I'm having. The problem is as follow:

I have 1 development trunk and 2 seperate branches. Besdies that we have two different development workflows present:

1. This development process is setup that changes are being made in Branch_1, which are being merged to the trunk and from the trunk being merged to Branch_2.
2. In this process development is being done in the trunk and merged to the Branch_2 (the step of merging from the Branch_1 is not present);

The problem now is that (and I'm not sure where it originated) that when I do a merge to (a completely up to date) Branch2 from the trunk it merges just fine, but when I want to commit my changes there are more dirty files then I merged. It looks like that the other files just have their mergeinfo propery modified.

Any clues/ideas?

Thanx,

Patrick

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356137

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Mergeinfo

Posted by Tyler Roscoe <ty...@cryptio.net>.
On Thu, May 28, 2009 at 07:38:34PM +0200, Plaatje, Patrick wrote:
> Well the problem is that a few files keep having their mergeinfo
> property changed, so for example if I commit file_1 on branche_2 after
> a merge, it asks me if I would like to commit file_2 and file_3 as
> well, although these have not been included in the merge. SO far no
> real problem, as it could be just a glitch. But at the next
> merge->commit process, exactly the same files (file_2 and file_3) are
> marked as "dirty" again and needs to be recomitted. But there has been
> no change at all on these files........ So why do these two files (and
> not the 1000 others) keep popping up there?

It's impossible for me to say without detailed inspection of your
repository. Older versions of svn 1.5 had a bug where they would create
mergeinfo unnecessarily in certain move operations, so perhaps the
mergeinfo was created that way.

If you are 100% certain that file_2 and file_3 don't need the mergeinfo
changes they are receiving, you can delete the svn:mergeinfo property.
Later merges will then not try to keep ther mergeinfo up-to-date for
those files.

tyler

Re: Mergeinfo

Posted by Mike Dixon <mi...@denovosoftware.com>.
Plaatje, Patrick wrote:
> So why do these two files (and not the 1000 others) keep popping up there?

Because those files already have mergeinfo. Once a file (or folder) has 
mergeinfo on it, it must be updated every time you merge. That's just 
how the system works.

Your options are:
1. Accept that this is going to happen every time.
2. Delete the svn:mergeinfo property from those files. I'd recommend to 
first compare the mergeinfo on the files to that of the root directory; 
then if you genuinely don't care about the differences, it's fine to 
delete the mergeinfo from the files.

-Mike

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356560

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Mergeinfo

Posted by "Plaatje, Patrick" <Pa...@getronics.com>.
Well the problem is that a few files keep having their mergeinfo property changed, so for example if I commit file_1 on branche_2 after a merge, it asks me if I would like to commit file_2 and file_3 as well, although these have not been included in the merge. SO far no real problem, as it could be just a glitch. But at the next merge->commit process, exactly the same files (file_2 and file_3) are marked as "dirty" again and needs to be recomitted. But there has been no change at all on these files........ So why do these two files (and not the 1000 others) keep popping up there?

Best,

Patrick

-----Original Message-----
From: Tyler Roscoe [mailto:tyler@cryptio.net] 
Sent: donderdag 28 mei 2009 17:16
To: Plaatje, Patrick
Cc: users@subversion.tigris.org
Subject: Re: Mergeinfo

On Thu, May 28, 2009 at 03:20:02PM +0200, Plaatje, Patrick wrote:
> I have 1 development trunk and 2 seperate branches. Besdies that we 
> have two different development workflows present:
> 
> 1. This development process is setup that changes are being made in 
> Branch_1, which are being merged to the trunk and from the trunk being 
> merged to Branch_2.
>
> 2. In this process development is being done in the trunk and merged 
> to the Branch_2 (the step of merging from the Branch_1 is not 
> present);
> 
> The problem now is that (and I'm not sure where it originated) that 
> when I do a merge to (a completely up to date) Branch2 from the trunk 
> it merges just fine, but when I want to commit my changes there are 
> more dirty files then I merged. It looks like that the other files 
> just have their mergeinfo propery modified.

There are a number of scenarios where this might happen. Subversion is trying to keep track of which changes from branch1 and trunk have already been merged to branch2 so that it doesn't later try to merge those changes again and cause chaos.

What exactly is your question?

tyler

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356434

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Mergeinfo

Posted by Tyler Roscoe <ty...@cryptio.net>.
On Thu, May 28, 2009 at 03:20:02PM +0200, Plaatje, Patrick wrote:
> I have 1 development trunk and 2 seperate branches. Besdies that we
> have two different development workflows present:
> 
> 1. This development process is setup that changes are being made in
> Branch_1, which are being merged to the trunk and from the trunk being
> merged to Branch_2.
>
> 2. In this process development is being done in the trunk and merged
> to the Branch_2 (the step of merging from the Branch_1 is not
> present);
> 
> The problem now is that (and I'm not sure where it originated) that
> when I do a merge to (a completely up to date) Branch2 from the trunk
> it merges just fine, but when I want to commit my changes there are
> more dirty files then I merged. It looks like that the other files
> just have their mergeinfo propery modified.

There are a number of scenarios where this might happen. Subversion is
trying to keep track of which changes from branch1 and trunk have
already been merged to branch2 so that it doesn't later try to merge
those changes again and cause chaos.

What exactly is your question?

tyler