You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael Caplan <mi...@htc.ca> on 2005/09/27 14:16:51 UTC

Newbie from CVS: Issue checking out from tag

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?


Thanks,

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie from CVS: Issue checking out from tag

Posted by Scott Palmer <sc...@2connected.org>.
On 27-Sep-05, at 10:16 AM, Michael Caplan wrote:

>
> 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 is wrong, you are just being confused by the messages.  You  
have the tag as it exists in revision 3524 of the repository.  It is  
still a copy of the files as they were at revision 3514 of the  
repository (unless you have checked in new stuff in the  
RELEASE_3_3_2_BUILD_2 folder).

Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie from CVS: Issue checking out from tag

Posted by Eric Hanchrow <of...@blarg.net>.
>>>>> "Michael" == Michael Caplan <mi...@htc.ca> writes:

    Michael> Hi, I just converted a CVS repository with cvs2svn (ver
    Michael> 1.3.0), and I am having an issue checking out a
    Michael> repository from a marked tag.  I'm probably overlooking
    Michael> something really obvious, but my searches through the
    Michael> docs and mailing lists has come up dry.

    Michael> if I do a svn list --verbose
    Michael> file:///htc/svn/ignitionweb_base/tags

    Michael> I get a list of all available tags:

    Michael> ...  3514 ?  Sep 20 14:33 RELEASE_3_3_2_BUILD_2/ ...

    Michael> If I want to checkout RELEASE_3_3_2_BUILD_2 I do a:

    Michael> svn checkout
    Michael> file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2
    Michael> ignitionweb_base

    Michael> This finishes off with the following note:

    Michael> ...  Checked out revision 3524.


    Michael> The confusing part is that RELEASE_3_3_2_BUILD_2 is
    Michael> marked as revision 3514 (see above), where 3524 is the
    Michael> last revision to the trunk.  What am I doing wrong here?

I think your problem is that you're assuming that 3524 is
significantly different from 3514, whereas in reality it's (probably)
the same.  http://subversion.tigris.org/faq.html#globalrev explains a
little.
 
-- 
I don't care where he was born.  He's one of us, in all the ways
that matter most.  (Even, perhaps, in the groping.)
        -- Steven Den Beste, on Arnold Schwarzenegger


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie from CVS: Issue checking out from tag

Posted by Michael Caplan <mi...@htc.ca>.
Thanks Paul!

I'm all sorted now... well mostly.... :)

Mike

Paul Koning wrote:

>>>>>>"Michael" == Michael Caplan <mi...@htc.ca> writes:
>>>>>>            
>>>>>>
>
> Michael> Wow!  Thanks for the really fast replies from all of you!
> Michael> What you all mentioned makes good sense, but the issue I am
> Michael> still trying to get my head around is identifying tags from
> Michael> branches.
>
> Michael> In my case, the RELEASE_3_3_2_BUILD_2 tag was done on a
> Michael> branch (RELEASE_3_3_MAINT).  How can I identify where a tag
> Michael> comes from (trunk or branch)?
>
>Look at the log (easiest is to say svn log --stop-on-copy.  For a tag
>that should give you exactly one item, which is the svn copy that
>created the tag).  svn log -v will show you the path actions.  That
>should be an svn copy, and the log will show you the source path.
>
>       paul
>
>
>---------------------------------------------------------------------
>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

Re: Newbie from CVS: Issue checking out from tag

Posted by Paul Koning <pk...@equallogic.com>.
>>>>> "Michael" == Michael Caplan <mi...@htc.ca> writes:

 Michael> Wow!  Thanks for the really fast replies from all of you!
 Michael> What you all mentioned makes good sense, but the issue I am
 Michael> still trying to get my head around is identifying tags from
 Michael> branches.

 Michael> In my case, the RELEASE_3_3_2_BUILD_2 tag was done on a
 Michael> branch (RELEASE_3_3_MAINT).  How can I identify where a tag
 Michael> comes from (trunk or branch)?

Look at the log (easiest is to say svn log --stop-on-copy.  For a tag
that should give you exactly one item, which is the svn copy that
created the tag).  svn log -v will show you the path actions.  That
should be an svn copy, and the log will show you the source path.

       paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie from CVS: Issue checking out from tag

Posted by Michael Caplan <mi...@htc.ca>.
Wow!

Thanks for the really fast replies from all of you!  What you all 
mentioned makes good sense, but the issue I am still trying to get my 
head around is identifying tags from branches.

In my case, the RELEASE_3_3_2_BUILD_2 tag was done on a branch 
(RELEASE_3_3_MAINT).  How can I identify where a tag comes from (trunk 
or branch)?


Thanks,

Michael




A.T.Hofkamp wrote:

> 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@3514 \
>          file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2@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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie from CVS: Issue checking out from tag

Posted by "A.T.Hofkamp" <a....@tue.nl>.
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@3514 \
          file:///htc/svn/ignitionweb_base/tags/RELEASE_3_3_9_BUILD_2@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

Re: Newbie from CVS: Issue checking out from tag

Posted by kf...@collab.net.
Michael Caplan <mi...@htc.ca> writes:
> 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?

Repository revision numbers are global, across the entire repository,
not particular to paths within the repository.

-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org