[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to use --record-only to unblock

From: Z W <mpc8250_at_gmail.com>
Date: Thu, 9 May 2013 22:50:01 -0700

Hi Johan

Thanks for responding.
If we get a chance we'll let you know.
We're tight with time now.

Thanks

On Wed, May 8, 2013 at 5:25 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:

> On Wed, May 8, 2013 at 12:51 PM, Z W <mpc8250_at_gmail.com> wrote:
> > Hi All
> >
> > We plan to merge from the trunk to a feature branch using --record-only
> for
> > a few revisions numbers.
> >
> > Is there a way to unblock a revision number after first using
> --record-only
> > ?
>
> Good question, I'm not sure really.
>
> Try (in a local working copy, no need to commit, but you can verify
> the results):
>
> cd $working-copy-of-featurebranch
> svn propget svn:mergeinfo .
> # Take note of what the mergeinfo looks like ... the revision that
> you want to unblock should be listed there (either individually, or as
> part of some range).
>
> Now:
>
> svn merge --record-only -c-$REV $SOURCE .
> svn propget svn:mergeinfo .
> # Take note of what the mergeinfo looks like ... the revision that
> you want to "unblock" should no longer be present in the mergeinfo.
>
> Note in the merge step above: '-c-$REV' means a negative revision
> number (minus the revision), which means that you want to
> (record-only) merge the reverse of $REV.
>
> Can you report back the results to the list? I'm curious whether this
> works.
>
> --
> Johan
>
Received on 2013-05-10 07:50:38 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.