You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Geoff Rowell <ge...@gmail.com> on 2009/07/06 18:08:57 UTC

TrimMergeInfo.pl - Trim Matching Subversion Merge Information

Here's an updated version of this Perl script that now supports trimming
specific revision number ranges for matching repository paths in a working
copy's merge information.

 

Requires the installation of XML::Simple.

 

Examples of use:

.         perl TrimMergeInfo.pl /my/wc /branches/old_feature

Remove any merge information for the "old_feature" branch.



.         perl TrimMergeInfo.pl /my/wc /branches/active_feature
--revisions=121:320

Trim revisions 121 through 320, inclusive, from the merge information for
the "active_feature" branch.

---

Geoff Rowell

geoff.rowell@gmail.com

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

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

RE: TrimMergeInfo.pl - Trim Matching Subversion Merge Information

Posted by Geoff Rowell <ge...@gmail.com>.
On Tuesday, July 07, 2009 2:26 PM Andrea wrote:
> I've tried to use the old version and I wanted to report this warning
message I got
> 
> Use of uninitialized value in split at TrimMergeInfo.pl line 123.
> 
> Everything worked fine though, other than for a small issue:
> For 3 files the mergeinfo, while being empty was not deleted from the
repository.
> svn propdel did not succeed either, but doing it directly on the gui with
tortoise I could actually 
> delete the prop.
> 
> Next time I will check the new version.
>

Hi Andrea,

Thanks. That problem's been fixed. This version does a much better job on
deleting empty "svn:mergeinfo" properties.

-Geoff

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

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

Re: TrimMergeInfo.pl - Trim Matching Subversion Merge Information

Posted by Andrea <ma...@googlemail.com>.
On 06/07/09 19:08, Geoff Rowell wrote:
>
>
> Here’s an updated version of this Perl script that now supports trimming
> specific revision number ranges for matching repository paths in a
> working copy’s merge information.
>
> Requires the installation of XML::Simple.
>
> Examples of use:
>
> · perl TrimMergeInfo.pl /my/wc /branches/old_feature
>
> Remove any merge information for the “old_feature” branch.
>
> · perl TrimMergeInfo.pl /my/wc /branches/active_feature --revisions=121:320
>
> Trim revisions 121 through 320, inclusive, from the merge information
> for the “active_feature” branch.

Hi,

I've tried to use the old version and I wanted to report this warning message I got

Use of uninitialized value in split at TrimMergeInfo.pl line 123.

Everything worked fine though, other than for a small issue:
For 3 files the mergeinfo, while being empty was not deleted from the repository.
svn propdel did not succeed either, but doing it directly on the gui with tortoise I could actually 
delete the prop.

Next time I will check the new version.

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

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