{"id":97,"date":"2008-11-25T07:47:06","date_gmt":"2008-11-25T12:47:06","guid":{"rendered":"http:\/\/www.cfchimp.com\/wordpress\/?p=97"},"modified":"2024-12-05T12:22:14","modified_gmt":"2024-12-05T17:22:14","slug":"rename-a-subversion-repository","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2008\/11\/rename-a-subversion-repository\/","title":{"rendered":"Rename a Subversion Repository"},"content":{"rendered":"<p><b>The scenario:<\/b> You have a folder called code-repo where you keep all your svn repositories (let&#8217;s assume it is located in the root c:\/ on a Windoze system).&nbsp; You have a repository named xproject.&nbsp; For some reason you need to rename the repository.&nbsp; Let&#8217;s say it needs to by yproject.&nbsp; There are 3 steps to rename the repository and retain all the history you have in the repo.<\/p>\n<ol>\n<li>Create an svn dump file of the xproject repo: <code>svnadmin dump C:\\code-repo\\xproject &gt; c:\\xproject.dmp<\/code><\/li>\n<li>Create the new yproject svn repo: <code>svnadmin create C:\\code-repo\\yproject<\/code><\/li>\n<li>Load the dump of the old repository into the new one: <code>svnadmin load C:\\code-repo\\yproject &lt; C:\\xproject.dmp<\/code><\/li>\n<\/ol>\n<p>Sweet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The scenario: You have a folder called code-repo where you keep all your svn repositories (let&#8217;s assume it is located in the root c:\/ on a Windoze system).&nbsp; You have a repository named xproject.&nbsp; For some reason you need to rename the repository.&nbsp; Let&#8217;s say it needs to by yproject.&nbsp; There are 3 steps to &#8230; <a title=\"Rename a Subversion Repository\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2008\/11\/rename-a-subversion-repository\/\" aria-label=\"Read more about Rename a Subversion Repository\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[17],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-developer","tag-subversion"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-1z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}