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

Re: SVN 1.5-beta1 svn mergeinfo output for deleted branches

From: Bhuvaneswaran Arumugam <bhuvan_at_collab.net>
Date: Tue, 25 Mar 2008 13:17:53 +0530

On Tue, 2008-03-25 at 13:43 +0700, Erik Grinaker wrote:
> On Mon, 2008-03-24 at 14:37 +0100, Karl Heinz Marbaise wrote:
> > Hi there,
> >
> > i have a questions about the behaviour of svn mergeinfo...
> >
> > I have created branch, merged from that branch and so on....
> >
> > svn mergeinfo
> > Path: .
> > Source path: /project1/trunk
> > Merged ranges: r1:21
> > Eligible ranges: r31:34
> > Source path: /project1/branches/B_ENH_F1
> > Merged ranges: r2:33
> > Eligible ranges:
> > Source path: /project1/branches/B_DIFF
> > Merged ranges: r21:23
> > Eligible ranges: r23:33
> >
> > Ok so far so god...
> >
> > But than i deleted the branch B_ENH_F1, cause i completed the work on
> > that branch...
> >
> > svn rm ../project1/branches/B_ENH_F1 -m"- Done."
> >
> > and now
> > svn mergeinfo
> > Path: .
> > Source path: /project1/trunk
> > Merged ranges: r1:21
> > Eligible ranges: r31:34
> > Source path: /project1/branches/B_ENH_F1
> > Merged ranges: r2:33
> > Eligible ranges: (source no longer available in HEAD)
> > Source path: /project1/branches/B_DIFF
> > Merged ranges: r21:23
> > Eligible ranges: r23:33
> >
> > So is it no more best practice to remove the integrated branches or no
> > more used branches....cause this will produces many messages if i use
> > the merging intensive with many branches...
>
> Yeah, this annoyed me a bit as well. Wouldn't it be better to only
> display branches which exist in HEAD by default, and add an option to
> display all branches?

If i'm right, we are supposed to handle this. In case the entry is not
found, we should display "(source no longer available in HEAD)". I'm not
sure, if the check is supposed to handle this use case anyway.

-- 
Regards,
Bhuvaneswaran

Received on 2008-03-25 08:48:08 CET

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

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