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

Re: Module alias & tags in SVN

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-05-26 16:47:15 CEST

On Thu, 2005-05-26 at 15:26 +0200, Kurien Mathew wrote:
> I have a module alias defined as follows:

What do you mean by module alias? The name of the module is simply a
higher level directory name in subversion.

Are you aware of the suggested repository layout?
         http://svn.collab.net/repos/svn/README

> mymod
> moda1/x.txt
> moda1/y.txt
> modb/m.txt
>
> mymod is then tagged TAG1.

This is kind of a loaded statement.
  
When you "tag" something in SVN you basically create a new directory.
This new directory is a set of pointers to files at specific revisions.
Make sense?

When you make your tag, the result can be found in your repository at:
          /tags/TAG1

While the head of the code base would live at:
          /trunk/mymod/

> Subsequently mymod is changed to
>
> mymod
> moda2/x.txt
> moda2/y.txt
> modb/m.txt
>
> Now if a request is made for TAG1 what would I get? Would I get the
> files from module moda1?

svn co https://your.repository.ca/tags/TAG1

Which would be the moda1 files!

Perhaps a real life example can benefit. These are the tags made by
subversion for each release!

          http://svn.collab.net/repos/svn/tags/

Cheers,
Chris

-- 
Wireless Group,
McMaster University
finger.localdomain
10:32:47 up 1 day, 17 min, 1 user, load average: 0.03, 0.07, 0.02
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 26 16:51:48 2005

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.