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

Re: Feature Request for Repo Browser

From: Kevin Grover <kevin_at_kevingrover.net>
Date: Sat, 28 Jun 2008 17:27:54 -0700

On Sat, Jun 28, 2008 at 4:48 PM, Robert Dailey <rcdailey_at_gmail.com> wrote:
> Hi,
>
> I have a feature request for the Repository Browser in TortoiseSVN 1.5. When
> I'm starting a new project, I always go into my repository and create a new
> folder for that project. So, for example if my repository is at:
> svn://foo/myrepo, then I create this:
>
> svn://foo/myrepo/new_project
>
> After I create this folder, I proceed to create 3 new folders under that
> one, named 'branches', 'tags', and 'trunk'. Would it be too much to ask to
> add an option to the context menu in the Repo Browser to automatically
> create these 3 folders? This is a common operation that a lot of people
> would use, I imagine.
>

True, for someone starting out, this simple step is far harder than it
should be. It mostly comes from the fact that it's recommended
practice (and not required). However, if it were easier for people
just starting out, they would probably be more likely to use good svn
practices.

I tend to use the command line for this

Windows:
set r=svn://foo/myrepo/new_project
svn mkdir %r%/trunk %r%/tags %r%/branches -m "Initial Directory Structure"

Unix/Linux/Mac: (need bash, or other shell with {} expansion)
svn mkdir svn://foo/myrepo/new_project/{trunk,tags,branches} -m
"Initial Directory Structure"

This way, I get them all in one atomic commit: without the hassle of
checking out a WC, creating the directories, then commiting them.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-06-29 02:28:08 CEST

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