You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Novotny <no...@gridsphere.org> on 2007/10/12 20:38:26 UTC

how to see available branches/tags for a repository

Hi,

    I just converted a project from CVS to SVN and I'm wondering how can 
I see all the available branches/tags for a given repository-- I was 
thinking some usage of svn status or svn list I couldn't find any docs 
with an answer...

    Thanks, Jason

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

Re: how to see available branches/tags for a repository

Posted by Micah Elliott <md...@micahelliott.com>.
On 2007-10-12 Jason Novotny wrote:

> I'm wondering how can I see all the available branches/tags for
> a given repository

Assuming you've laid out your repo in the typical fashion:

    trunk/
    branches/
    tags/

and your repo is at url://path/to/repo, then you can say:

    svn list url://path/to/repo/branches
    svn list url://path/to/repo/tags

You could also "svn switch" around in your WC between branches
and tags, and then just "ls".

> I was thinking some usage of svn status or svn list I couldn't
> find any docs with an answer...

You can run "svn list -h" for more info on list.

You'll also want to look at svnbook.org.  In particular:

    http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.tour.history.browsing.list

-- 
_ _     ___
|V|icah |- lliott
" "     """
mde@MicahElliott.com            <><             http://MicahElliott.com
PGP: 0x7C07CBF0          ICQ: 369060435      Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5