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

Re: How to migrate only HEAD revision to a new repository

From: Lars Tiefland <ltiefland_at_gmail.com>
Date: Sat, 7 Nov 2009 23:41:35 +0100

2009/11/7 Vadym Chepkov <chepkov_at_yahoo.com>

> Hi,
>
> It seems like a trivial task, but I wasn't able to find a proper solution.
> We store a big set of configuration files in an svn repository. Now I want
> to start a fresh repository and migrate all these files into a new
> repository, but without preserving history, only the HEAD of this directory.
> I know I could just export/import into an new repository, but this wouldn't
> preserve all my custom properties and standard properties, like
> svn:keywords, svn:eol-style, etc. How I can accomplish this task properly?
> Thank you.
>
> Sincerely yours,
> Vadym Chepkov
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2415379
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subversion.tigris.org].
>

Hi,

svnadmin dump /path/to/old_repository/ -rHEAD > head.txt

followed by a

svnadmin load /path/to/new_repository < head.txt

is your friend.

-- 
Live Long And Prosper,
Lars Tiefland
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2415482
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-08 00:50:52 CET

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

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