Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Idea to emulate CVS tags.

subclipse
Discussion topic

Back to topic list

Re: Idea to emulate CVS tags.

Author Dan North <dan at tastapod dot com>
Full name Dan North <dan at tastapod dot com>
Date 2005-07-09 13:12:37 PDT
Message So really, the feature that would help would be to give subclipse the
path to your tags directory, and it would have the smarts to show all
tags, in chronological order, so you could click on a file (or
directory) and have it show all the previous tags.

That would rule!

Zsolt wrote:

> Dan,
>
>
>
> I do understand the difference between CVS and subversion.
>
>
>
> My problem is that under CVS (from eclipse) I can compare a working
> copy of a file with any tag of the repository (just a mouse click) but
> with subclipse I can do that only with revision numbers (such as 1256)
> and that is not convenient.
>
>
>
> Of course I could write a piece of paper that contains a table how to
> map a revision number to a tag but I don't like this idea.
>
>
>
> I understand also that I could do it from the console (shell) but I
> would like to do it from eclipse like CVS.
>
>
>
> Zsolt
>
>
>
> --------------------​--------------------​--------------------​------------
>
> *From:* Dan North [mailto:dan at tastapod dot com]
> *Sent:* Saturday, July 09, 2005 5:52 PM
> *To:* users at subclipse dot tigris dot org
> *Subject:* Re: Idea to emulate CVS tags.
>
>
>
> Subversion handles tags in a different way from CVS. In subversion,
> tagging simply involves copying the trunk to a directory that you all
> agree on to hold tags.
>
> Say your code is in /trunk/source, you would take a copy and put it in
> /tags/Rel_1_2, like this:
>
> svn copy svn://zsolt.koppany.​com/repos*/trunk*
> svn://zsolt.koppany.​com/repos*/tags/Rel_​1_2*
>
> This new location knows what revision it was copied from, so it is
> easy to compare with a future version of a file:
>
> svn diff */your/working/copy/​some/file.txt*
> svn://zsolt.koppany.​com/repos*/tags/Rel_​1_2/some/file.txt*
>
> That way you don't have to know what repository revision the tag was
> made. (*svn info* on the tag directory /tags/Rel_1_2 itself will tell
> you if you really need to know).
>
> You could also check out trunk and tags/Rel_1_2 into different
> directories and use Eclipse's excellent compare with -> each other to
> look at differences.
>
> Branching works in exactly the same way - you svn copy to some other
> place that everyone agrees will contain your branches, typically
> */branches*.
>
> btw. the only difference between tags and branches in subversion is
> that you have to promise not to check anything in on a tag directory :)
>
> hth,
> Dan
>
> Zsolt Koppany wrote:
>
>Hi,
>
>
>
>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?
>
>
>
>Zsolt
>
>
>
>
>
>
>
>
>
>----------------​--------------------​--------------------​-------------
>
>To unsubscribe, e-mail: users-unsubscribe@su​bclipse.tigris.org <mailto:users-uns​ubscribe@subclipse.t​igris.org>
>
>For additional commands, e-mail: users-help at subclipse dot tigris dot org <mailto:users-hel​p@subclipse.tigris.o​rg>
>
>
>
>
>
>
>
Attachments

« Previous message in topic | 8 of 14 | Next message in topic »

Messages

Show all messages in topic

Idea to emulate CVS tags. Zsolt Koppany <zkoppanylist at intland dot com> Zsolt Koppany <zkoppanylist at intland dot com> 2005-07-06 05:34:20 PDT
     RE: Idea to emulate CVS tags. Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> 2005-07-06 05:56:46 PDT
         RE: Idea to emulate CVS tags. Zsolt Koppany <zkoppanylist at intland dot com> Zsolt Koppany <zkoppanylist at intland dot com> 2005-07-06 12:32:49 PDT
             RE: RE: Idea to emulate CVS tags. Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> 2005-07-07 02:07:19 PDT
                 RE: RE: Idea to emulate CVS tags. Zsolt Koppany <zkoppanylist at intland dot com> Zsolt Koppany <zkoppanylist at intland dot com> 2005-07-07 05:32:13 PDT
     Re: Idea to emulate CVS tags. Dan North <dan at tastapod dot com> Dan North <dan at tastapod dot com> 2005-07-09 08:52:18 PDT
         RE: Idea to emulate CVS tags. Zsolt <zkoppanylist at intland dot com> Zsolt <zkoppanylist at intland dot com> 2005-07-09 12:34:52 PDT
             Re: Idea to emulate CVS tags. Dan North <dan at tastapod dot com> Dan North <dan at tastapod dot com> 2005-07-09 13:12:37 PDT
                 RE: Idea to emulate CVS tags. Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2005-07-09 17:15:58 PDT
                     RE: Idea to emulate CVS tags. Zsolt <zkoppanylist at intland dot com> Zsolt <zkoppanylist at intland dot com> 2005-07-10 00:49:01 PDT
                     Re: Idea to emulate CVS tags. digulla Aaron Digulla 2005-07-10 03:30:26 PDT
                         RE: Idea to emulate CVS tags. Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> Ian Brockbank <Ian dot Brockbank at wolfsonmicro dot com> 2005-07-11 02:23:31 PDT
                             RE: Idea to emulate CVS tags. Mark Phippard <MarkP at softlanding dot com> Mark Phippard <MarkP at softlanding dot com> 2005-07-11 05:28:38 PDT
                                 RE: Idea to emulate CVS tags. Miha Vitorovic <mvitorovic at nil dot si> Miha Vitorovic <mvitorovic at nil dot si> 2005-07-11 05:33:03 PDT
Messages per page: