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

Re: Newbie from CVS: Issue checking out from tag

From: A.T.Hofkamp <a.t.hofkamp_at_tue.nl>
Date: 2005-09-27 17:03:59 CEST

Michael Caplan wrote:
> Hi,
>
> I just converted a CVS repository with cvs2svn (ver 1.3.0), and I am
> having an issue checking out a repository from a marked tag. I'm
> probably overlooking something really obvious, but my searches through
> the docs and mailing lists has come up dry.
>
> if I do a svn list --verbose file:///htc/svn/ignitionweb_base/tags
>
> I get a list of all available tags:
>
> ...
> 3514 ? Sep 20 14:33 RELEASE_3_3_2_BUILD_2/
> ...
>
> If I want to checkout RELEASE_3_3_2_BUILD_2 I do a:
>
> svn checkout file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2
> ignitionweb_base
>
> This finishes off with the following note:
>
> ...
> Checked out revision 3524.
>
>
> The confusing part is that RELEASE_3_3_2_BUILD_2 is marked as revision
> 3514 (see above), where 3524 is the last revision to the trunk. What am
> I doing wrong here?

Nothing, this is correct.

The tag was created at 3514, and continues to exist upto 'now' (ie 3524 in
your case). So you get the tag as it is now, which should be the same as when
it was created at 3514.

Remember the repository number changes with *each* change in the repository.
The last 10 changes were probably somewehere else (eg in the trunk or in other
tags or branches).

You should be able to check that nothing has changed with a command like

svn diff file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2_at_3514 \
          file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2_at_3524

(although I am not an expert at peg revisions, so this may be incorrect)

Albert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 17:10:07 2005

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