On Oct 8, 2009, at 03:56, J. Bakshi wrote:
> Ryan Schmidt wrote:
>> So you're trying to make a "template repository" for your users to
>> use? Ok, you can do that. Set up your repository how you want it,
>> "svnadmin dump -rHEAD /path/to/repo > /path/to/dumpfile". This will
>> dump only a single revision, representing the way the repository
>> at HEAD. This "template dumpfile" can then be turned into a new
>> repository with "svnadmin create /path/to/newrepo && svnadmin load
>> /path/to/newrepo --ignore-uuid < /path/to/dumpfile". The new
>> repository will be at revision 1. (Revision 0 is empty in every
> Your assumption is absolutely right. I am sorry that I could not
> it properly but you have done it by "template repository" . And the
> solution is perfect.
> millions of thanks and have a great day.
I didn't specifically point out why above, but please do remember to
use --ignore-uuid whenever creating a repository from the template
dumpfile. If you do not, you will over time end up with multiple
repositories which, though they have different contents, share a uuid.
The uuid is the "universally unique identifier" of a repository, so
you must take care that it is in fact universally unique, and not
This is also the reason you should distribute and use the dumpfile,
and not distribute and use a repository itself (since your template
repository, like all other repositories, would have a uuid already
associated with it).
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 11:02:02 CEST