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

Re: Property setting

From: JWalker <jwalker_at_hotmail.bg>
Date: Wed, 8 Apr 2009 00:40:03 -0700 (PDT)

Great! This is what I was searching for.
Thanks!

On 8 Апр, 08:25, Stefan Küng <tortoise..._at_gmail.com> wrote:
> JWalker wrote:
> > I want to create a script that
> > - creates new repository
> > - imports directory tree (branches, tags, trunk, trunk/wrk, trunk/
> > public)
> > - sets properties to trunk, trunk/wrk, trunk/public such as
> > tsvn:logminsize 10, bugtraq:.... e tc.
>
> > At the moment of creating a repository there is no checkouted work
> > copy.
> > I tried with TSVN; and TSVN was able to add a property to trunk (not
> > recursively).
> > As a result new revision appeared.
> > So, TSVN is capable to do this interactively from the repo browser. It
> > asked for a message,
> > and I entered it. This message appeared in the log.
> > 'svn propset' has no option for entering any message and this is why I
> > think
> > 'svn propset' is not the right command.
>
> Ah, now that can be done much easier:
>
> * create new repository
> * checkout the empty repository
> * create the directory tree, add the folders
> * set the properties on the folders
> * commit (results in rev1 in the repository)
>
> now:
>
> * dump that repository (svnadmin dump > repotemplate)
>
> to create new repositories, use the repotemplate dump file:
>
> * svnadmin create newrepository
> * svnadmin load --ignore-uuid < repotemplate
>
> After that, you have your repository set up with all the properties and
> dir structure you want.
>
> important: don't forget the --ignore-uuid when loading the dump file!
> Otherwise all your repositories will have the same uuid, which is very,
> very bad.
>
> as an optional step, you could change the svn:date revision property
> (that of rev1) to the current date after loading the dump template file
> into the new repository.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> signature.asc
> < 1 KПрегледИзтегляне

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1591946

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-04-08 09:45:10 CEST

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

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