Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > RE: svn:mergeinfo on 1,300 files when only a few changed?

subversion
Discussion topic

Back to topic list

RE: svn:mergeinfo on 1,300 files when only a few changed?

Author "Nicholas Curry" <Nicholas dot Curry at cofunds dot co dot uk>
Full name "Nicholas Curry" <Nicholas dot Curry at cofunds dot co dot uk>
Date 2009-04-08 01:28:01 PDT
Message Funnily enough, a similar problem was the driver for my post yesterday, "How is mergeinfo calculated for hierarchies?": http://svn.haxx.se/u​sers/archive-2009-04​/0385.shtml

Tyler Roscoe was kind enough to respond, and he mentioned that:
* this article might be helpful to understand how mergeinfo is supposed to work: http://www.collab.ne​t/community/subversi​on/articles/merge-in​fo.html (I only just got in this morning, so I haven't had time to read it yet)
* he had previously posted a similar question on both the user and dev mailing lists around a month ago (http://svn.haxx.se/u​sers/archive-2009-03​/0444.shtml, http://svn.haxx.se/d​ev/archive-2009-03/0​597.shtml) and didn’t get any replies to his queries, from which he concluded that no-one actually knows how mergeinfo works :-|

I hope this helps (though I suspect it won't)

Cheers,
Nick


-----Original Message-----
From: Martin Bischoff [mailto:tinu44 at gmail dot com]
Sent: 08 April 2009 07:35
To: users at subversion dot tigris dot org
Subject: Re: svn:mergeinfo on 1,300 files when only a few changed?

I had the same problem, when I was merging changes from trunk to a
feature branch. After the merge, about 80% of the modified files only
had the svn:mergeinfo added/updated and only a few files had actual
(content-)changes.

I never got a definitive answer why this happens or what I'm supposed
to do, so I then decided to commit all modified files. I'd still like
to know more about this situation:
- why exactly does it happen
- should the files with only metadata-changes be commited
- once I have reintegrated my feature branch to trunk, should I remove
all svn:mergeinfo from these files

Here are the links to my posts (on svn-users and tsvn-users):

http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessageId=12​19898
http://tortoisesvn.t​igris.org/ds/viewMes​sage.do?dsForumId=40​61&dsMessageId=1​225619

-Martin

On Wed, Apr 8, 2009 at 02:40, Jim Biancolo <jim at biancolo dot com> wrote:
> Hi folks,
>
> Sorry, a bit out of my depth with this one and I could use some help...
>
> I have been branching and merging happily on an existing project for quite awhile, and just started a new project with a new host, pretty standard setup:
>
>   /trunk
>      /html
>   /branches
>      /stable
>   /tags
>
> I checked out trunk to a "foo" folder and branches/stable to a "foo_stable" folder.  I made a change to a few files under foo_stable/html, committed them, and then merged into foo.  I right-clicked foo itself (using Tortoise) to do the merge, as I understand you aren't supposed to merge from subdirectories with the new merge tracking.  The merge took forever, and when it was finally done it had set svn:mergeinfo on each and every file (1,300+, not just the handful that had changed).  So, classic blunder, I committed thinking maybe this was a one-time, first merge kind of thing.  I know, I know...
>
> Anyway, I later repeated the steps above with a different set of changes, again the merge took forever, and again svn:mergeinfo was set on every file rather than on just the few that had changed (or on the root level, which is where I thought this property would be set).  Haven't actually committed that one yet.
>
> Is this behavior correct?  And if it's not, is there a way for me to fix this behavior?  I can't imagine I want to have 1,300 changes showing up in my log every time I merge a branch.
>
> If it helps, Tortoise reports these versions:
>
>   TortoiseSVN 1.6.0, Build 15855 - 32 Bit , 2009/03/21 12:36:36
>   Subversion 1.6.0,
>   apr 1.3.3
>   apr-utils 1.3.4
>   neon 0.28.4
>   OpenSSL 0.9.8j 07 Jan 2009
>   zlib 1.2.3
>
> Thanks!
>
> Jim
>
> --------------------​--------------------​--------------
> http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessageId=15​86897
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@s​ubversion.tigris.org​].
>

--------------------​--------------------​--------------
http://subversion.ti​gris.org/ds/viewMess​age.do?dsForumId=106​5&dsMessageId=15​91237

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


********************​********************​****************
This e-mail has been swept for viruses by Cofunds.
For more information on this service, please
contact the IT Service Desk on Ext: 7060 or itservicedesk at cofunds dot co dot uk.
********************​********************​****************


Cofunds Limited, 1st Floor, 1 Minster Court, Mincing Lane,
London EC3R 7AA. Registered in England and Wales
No 3965289. Authorised and regulated by Financial Services Authority. Phone: 0845 604 4001, or visit our website at www.cofunds.co.uk.
Telephone calls may be recorded for monitoring purposes.
********************​********************​********************​**************
The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information, or copying of this message is prohibited. If you are not the addressee, or believe this email to have been sent in error, please notify security at cofunds dot co dot uk immediately and delete this message.
Although this e-mail and any attachments are believed to be free of any virus, or other defect which might affect any computer or system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Cofunds for any loss or damage from receipt or use thereof.
This email does not create or vary any contractual obligations between Cofunds Limited and the addressee. Any views or opinions are solely those of the author and do not necessarily represent those of Cofunds Limited.
Those communicating with us by electronic mail will be deemed to have accepted the risks associated with interception, amendment, loss and late or incomplete delivery. They will also be deemed to have consented to our monitoring of such communications.
********************​********************​********************​**************

« Previous message in topic | 3 of 3 | Next message in topic »

Messages

Show all messages in topic

svn:mergeinfo on 1,300 files when only a few changed? Jim Biancolo <jim at biancolo dot com> Jim Biancolo <jim at biancolo dot com> 2009-04-07 17:40:31 PDT
     Re: svn:mergeinfo on 1,300 files when only a few changed? tinu44 Martin Bischoff 2009-04-07 23:35:18 PDT
         RE: svn:mergeinfo on 1,300 files when only a few changed? "Nicholas Curry" <Nicholas dot Curry at cofunds dot co dot uk> "Nicholas Curry" <Nicholas dot Curry at cofunds dot co dot uk> 2009-04-08 01:28:01 PDT
Messages per page: