Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: how to import without changing revision number ?

subversion
Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

Re: how to import without changing revision number ?

Author ryandesign
Full name Ryan Schmidt
Date 2009-10-08 01:43:13 PDT
Message 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.)

« Previous message in topic | 4 of 8 | Next message in topic »

Messages

Show all messages in topic

how to import without changing revision number ? "J dot Bakshi" <joydeep at infoservices dot in> "J dot Bakshi" <joydeep at infoservices dot in> 2009-10-08 00:22:52 PDT
     Re: how to import without changing revision number ? Jake Stone <jake dot the dot stone at gmail dot com> Jake Stone <jake dot the dot stone at gmail dot com> 2009-10-08 00:29:43 PDT
         Re: how to import without changing revision number ? "J dot Bakshi" <joydeep at infoservices dot in> "J dot Bakshi" <joydeep at infoservices dot in> 2009-10-08 00:53:46 PDT
             Re: how to import without changing revision number ? ryandesign Ryan Schmidt 2009-10-08 01:43:13 PDT
                 Re: how to import without changing revision number ? "J dot Bakshi" <joydeep at infoservices dot in> "J dot Bakshi" <joydeep at infoservices dot in> 2009-10-08 01:56:23 PDT
                     Re: how to import without changing revision number ? ryandesign Ryan Schmidt 2009-10-08 02:01:15 PDT
                         Re: how to import without changing revision number ? "J dot Bakshi" <joydeep at infoservices dot in> "J dot Bakshi" <joydeep at infoservices dot in> 2009-10-08 04:19:49 PDT
     Re: how to import without changing revision number ? Nicolai Scheer <scope at planetavent dot de> Nicolai Scheer <scope at planetavent dot de> 2009-10-08 00:34:55 PDT
Messages per page: