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

Re: How to check for branche existence?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-21 16:19:25 CEST

On 8/21/07, Sébastien Filion <sfilion@finrad.com> wrote:
>
>
>
>
> Hi,
>
>
>
> I want to automate all our process that create releases branches, switch the
> externals and more and more…
>
>
>
> But I want to find the best way to check and verify for a branch existence
> before creating it.
>
> This is because I want to be sure that the process didn't overwrite critical
> branches.

svn info <url_to_branch>

If it returns with info, then the branch exists. If it returns with
Not a valid URL, then it doesn't.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 21 16:17:13 2007

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