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

Re: Which branches this file belong to?

From: Talden <talden_at_gmail.com>
Date: 2006-10-03 22:23:04 CEST

It's disappointing that Subversion doesn't provide for you to see all
future revisions of a given URL@revision across copies/moves as well
as it's past revisions.

I think it's pretty tough to argue that such a feature isn't a useful
SCM tracking facility (albeit far from the highest value feature an
SCM tool might offer).

On the other hand, while I wouldn't expect to have to hack together a
tool to perform such a function, I also wouldn't expect it to be
highly performant if the book-keeping needed would otherwise harm the
performance of higher demand functionality.

--
Talden
On 10/4/06, Mark <mark@mitsein.net> wrote:
> You could use a file property on the file in trunk to keep track of
> each branch you have copied it to.  You can just make this part of
> your procedure for branching.
>
> On 10/3/06, Corrado Labinaz <corradolab@ngi.it> wrote:
> >
> >
> > Hi,
> >
> > suppose you have file trunk/myfile.c
> > It goes through these modifications:
> >
> > revision
> > 100            file created
> > 150            copied to branches/release1
> > 200            copied to branches/release2
> > 230            copied to branches/release3
> > 250            fixed bug
> >
> > Well, AFAIK it's not possibile to get the above list.
> >
> > If I use "svn log trunk/myfile.c" I get
> >
> > 100            file created
> >
> > 250            fixed bug
> >
> > while if I execute i.e. "svn log branches/release2/myfile.c" I get
> >
> > 100            file created
> >
> > 200            copied to branches/release2
> >
> > Why do I need the full list?
> > Because after applying the bugfix at revision 250, I need to apply the same
> > bugfix to older releases.
> > "svn copy trunk/myfile.c branches/release1" should be enough most of the
> > time.
> > But I don't know which releases to copy to (release1, 2, 3, all of them or
> > none of them?)
> >
> > (BTW this was easy with CVS, where every file get tagged with the branch
> > number it belong to)
> >
> > Is there a way to get the full list above?
> >
> > Kind regards,
> >     Corrado
>
>
> --
> Mark
> "Blessed is he who finds happiness in his own foolishness, for he will
> always be happy."
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 3 22:23:59 2006

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.