You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ma...@hmailserver.com on 2009/04/23 21:51:50 UTC

"bogus" merginfo

I'm having a problem related to merging. I would appreciate if someone
could confirm whether what I'm seeing is a known bug or not. I've tried to
find an issue report on it, but with no success. There seems to be several
similar reported but no spot on.

(I use TortoiseSVN as client, but the problem is reproducible by using the
SVN CLI as well.)

Whenever I merge a change from /branches/<version> to /trunk, "bogus"
mergeinfo is added to files under /trunk. With "bogus" here, I mean that
mergeinfo is added to files even though they have not been changed in the
revision I'm merging. The effect this has is that when I want to commit my
changes to /trunk, SVN tells me that I have modified files which I have
not touched.

If I commit these files - which doesn't have any "real" changes,
everything will be fine until the next time I merge changes from
/branches/<version> back to trunk. Then they will reappear in the commit
dialog again. It's the same files which reappear as modified every time.

(Of course, I can simply revert the files I know I haven't modified under
/trunk, or I can choose not to commit them. However, since I do this all
the time there's a risk I'll screw up sooner or later and revert the wrong
file. Another boring side effect is that I have to keep in memory which
files I've been changing, something I would like SVN to do for me.)

I'm using SVN 1.6.1 both on server and on client. When the problem started
to occur, I was using an earlier version (1.5.<something>. I'm still
seeing it when using 1.6.1 though. The problem has not started to happen
with 'new' files after the upgrade to 1.6.1, but I upgraded just some day
ago.

One pattern I believe I'm seeing (but I'm not certain) is that it occurs
which files which has been renamed at some point under
/branches/<version>.

Martin

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

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


Re: "bogus" merginfo

Posted by Tyler Roscoe <ty...@cryptio.net>.
On Thu, Apr 23, 2009 at 11:51:50PM +0200, martin@hmailserver.com wrote:
> Whenever I merge a change from /branches/<version> to /trunk, "bogus"
> mergeinfo is added to files under /trunk. With "bogus" here, I mean that
> mergeinfo is added to files even though they have not been changed in the
> revision I'm merging. The effect this has is that when I want to commit my
> changes to /trunk, SVN tells me that I have modified files which I have
> not touched.

This is a common problem. Search the archives for more details.

Short version: it used to be that svn:mergeinfo was created any time you
moved or copied a file. This is no longer the case since 1.5.6 (IIRC)
but it sounds like you have old mergeinfo on some files that were moved
before you upgraded.

If you are sure you don't need the info retained in the mergeinfo
property on the "bogus" files, you can delete the property (svn
propdel). Further merges will then not worry about the subtree mergeinfo
since there won't be any.

hth,
tyler

Re: "bogus" merginfo

Posted by Martin Bischoff <ti...@gmail.com>.
This was discussed quite recently. For example here:
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1841801

Regards,
Martin

On Thu, Apr 23, 2009 at 23:51,  <ma...@hmailserver.com> wrote:
>
> Whenever I merge a change from /branches/<version> to /trunk, "bogus"
> mergeinfo is added to files under /trunk. With "bogus" here, I mean that
> mergeinfo is added to files even though they have not been changed in the
> revision I'm merging. The effect this has is that when I want to commit my
> changes to /trunk, SVN tells me that I have modified files which I have
> not touched.
>

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

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