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

Re: Accessing different revs via Apache?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-10-08 22:29:37 CEST

Paul Lussier wrote:
> In a message dated: Tue, 08 Oct 2002 16:14:26 EDT
> Garrett Rooney said:
>
>
>>pll@lanminds.com wrote:
>>
>>>Hi all,
>>>
>>>How do I access a different revision of something via the web server?
>>>
>>>Currently if I go to http://server/svn/repo, I get whatever the
>>>latest rev is. Is there any way to specify different revisions or
>>>branches?
>>
>>well, for different branches, it's the same as going to any other
>>directory. a branch is just a copy, remember?
>
>
> Oh, right. So, when I branch, I actually copy the entire existing
> repo to another directory under the same top level directory, and
> then that would be accessible as well?

correct. in subversion's repository, we have a layout with the top
level directory looking something like this:

/trunk
/tags
/branches

to tag a release, you copy the contents of trunk into tags. then you
can access them their. to branch, you do the same, but copy into
branches instead, and then commit changes there, which are later merged
back into trunk.

how you organize your repository is up to you, but you'd want something
sort of like this to get branching and tagging.

>>for revisions, you can't see that by browsing the repository directly,
>>you'd have to use something like viewcvs (which has an svn mode now in
>>it's development version).
>
>
> Oh. Is that another add-on to Apache I have to configure and install?
> I'm not overly familiar with CVS from a web-access standpoint, since
> I've only used command-line CVS in the past.

it's a cgi application that lets you browse a CVS repository (or an SVN
repository if you've got a development version of viewcvs).

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 8 22:30:50 2002

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

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