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

Re: how to import without changing revision number ?

From: J. Bakshi <joydeep_at_infoservices.in>
Date: Thu, 08 Oct 2009 14:26:12 +0530

Ryan Schmidt wrote:
> On Oct 8, 2009, at 02:53, J. Bakshi wrote:
>> Thanks for your responses. Incrementing the revision number after the
>> import is natural and according to the concept of svn it is absolutely
>> ok. I want to have little different before providing the repo to the
>> users. I like to import all the stuffs of a webfolder of htdocs with
>> revision number 0 and then give the repo to the users so that they have
>> a repo with all the required files/folders with 0 revision number. after
>> that they continue working with it.
> 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, then
> "svnadmin dump -rHEAD /path/to/repo > /path/to/dumpfile". This will
> dump only a single revision, representing the way the repository looks
> 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
> repository.)

Hello Ryan,

Your assumption is absolutely right. I am sorry that I could not clarify
it properly but you have done it by "template repository" . And the
solution is perfect.
millions of thanks and have a great day.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-08 10:57:18 CEST

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