mergeinfo

How to avoid svn:mergeinfos on sub-folders?

We try to keep the 'svn:mergeinfo' property on the root branch folder only. However, we keep seeing it creep into subfolders. We've been able to identify some possible causes: Moving a folder in the repo-browser Moving and/or renaming packages in IntelliJ Using old svn clients Can anyone provide a list of things we should not do in o...

How to set a trigger to prevent commits to SVN with mergeinfo property?

I'd like to avoid creating svn mergeinfo property on anything but the root of branches. We have a trunk branch and some other branches. Assuming I know absolutely nothing about svn triggers, what steps do I need to follow to setup a pre-commit hook that prevents additions of mergeinfo properties to anything but the root of branches? Th...

Svn: revert file content changes without reverting any related mergeinfo?

If you've done a merge you may find, before committing the changes, that actually you don't want to accept any of the changes merged into one of the affected files. So you do e.g.: $ svn revert foo.c However this also seems to revert the mergeinfo related to this file. So when you do a subsequent merge it will merge in exactly the same...

How do you get subversion diff summary to ignore mergeinfo properties?

I have subversion 1.6.5 client and 1.5.4 server. And I mostly only care about diffs on fully repository paths, not working copies. When diffing branches, ones that have been merged already show up as identical except for the mergeinfo properties. This is a touch annoying for a human who has to then look through the changes looking for ...

The mergeinfo of a single file is always being touched

I have a couple of files that always seem to be getting new svn:mergeinfo set on various merge tasks performed through the regular work cycle of merges. The file has not changed in months, but the mergeinfo is persistently touched. I have a feeling that the mergeinfo got confused at some point and never recovered. I'm not sure what to l...

Svn pre-commit hook to disallow svn:mergeinfo on non-root directories

I would like to use a pre-commit hook that prevents developers from setting svn:mergeinfo on non-root directories. That is, I want to enforce that svn:mergeinfo can only be set on directories like "trunk" or "branches/branchName". Developers sometimes need to be "reminded" that it's not good practice to use a subdirectory of the root a...

Subversion (1.6) svn:mergeinfo properties containing *, merge --reintegrate fails: "Missing ranges: ..."

We have a SVN repository structure with feature branches, where we finally do a svn merge --reintegrate into the trunk. This usually works fine (so far we had about 200 feature branches reintegrated). Now, when trying svn merge --reintegrate, we received the following error message: svn: Reintegrate can only be used if revisions 94538 t...

How do I avoid large number of svn:mergeInfo when merging trunk to a feature-branch in SVN

I am trying to keep a feature branch up to date by merging trunk into the branch. Problem is, that about 2000 files that was there when the branch was created, and that has been left untouched on both the branch and on trunk is getting updated with nothing but svn:mergeinfo. The project is rather large in scale, and the impact on our SV...