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

RE: Idea to emulate CVS tags.

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2005-07-06 14:56:46 CEST

Hi Zsolt,

> I would like to move from cvs to subversion but because
> subversion versions
> the repository and not the files (as far as I know) it cannot
> be (easily)
> figured out on which tag a file was modified.
>
> With other words I cannot diff a working copy with for
> example the tag:
> rel_1_2, I have to know the revision number of that tag (for
> example 56) and
> then I can diff.
>
> Would it be useful if subclipse provided a preferences (or
> whatever) dialog
> where aliases can be configured?
>
> For example:
> Alias Revision
> Rel_1_2 23
> Rel_1_3 35
> Rel_2_0 40
>
> Now if I wanted to compare a working copy with "Rel_1_2"
> subclipse would
> replace that with the real revision number.
>
> What do you think?

Tag management is something that would be good to have in Subclipse,
however I think it would be better to look at the revision numbers
at which tags were created and use those, rather than inventing another
concept. You can find the version at which a tag was created by doing
a log --stop-on-copy. The last (oldest) version in the log is the
version
where the tag was created.

You would need some mechanism for people to indicate their tag schema.
In particular you would need to support both
http://server/repos/tags/project
and http://server/repos/project/tags formats (since these are both
suggested
in the book).

Cheers,

Ian Brockbank
Applications Software Team Leader
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
Received on Wed Jul 6 22:56:46 2005

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

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