awips2/pdf/NWS_Documentation/Subversion/1. 7 svn-book-html-chunk/SVC3C0~1.HTM
2017-09-26 21:29:08 -06:00

110 lines
5.2 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>svnadmin setuuid</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2" />
<style type="text/css">
body { background-image: url('images/draft.png');
background-repeat: no-repeat;
background-position: top left;
/* The following properties make the watermark "fixed" on the page. */
/* I think that's just a bit too distracting for the reader... */
/* background-attachment: fixed; */
/* background-position: center center; */
}</style>
<link rel="home" href="index.html" title="Version Control with Subversion [DRAFT]" />
<link rel="up" href="svn.ref.svnadmin.html#svn.ref.svnadmin.c" title="svnadmin Subcommands" />
<link rel="prev" href="svn.ref.svnadmin.c.setrevprop.html" title="svnadmin setrevprop" />
<link rel="next" href="svn.ref.svnadmin.c.upgrade.html" title="svnadmin upgrade" />
</head>
<body>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">svnadmin setuuid</th>
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="svn.ref.svnadmin.c.setrevprop.html">Prev</a> </td>
<th width="60%" align="center">svnadmin Subcommands</th>
<td width="20%" align="right"> <a accesskey="n" href="svn.ref.svnadmin.c.upgrade.html">Next</a></td>
</tr>
</table>
<hr />
</div>
<div class="refentry" title="svnadmin setuuid">
<a id="svn.ref.svnadmin.c.setuuid"></a>
<div class="titlepage"></div>
<a id="idp43875712" class="indexterm"></a>
<div class="refnamediv">
<h2>Name</h2>
<p>svnadmin setuuid — Reset the repository UUID.</p>
</div>
<div class="refsect1" title="Synopsis">
<a id="idp43878800"></a>
<h2>Synopsis</h2>
<p>
<code class="literal">svnadmin setuuid REPOS_PATH [NEW_UUID]</code>
</p>
</div>
<div class="refsect1" title="Description">
<a id="idp43880432"></a>
<h2>Description</h2>
<p>Reset the repository UUID for the repository located
at <em class="replaceable"><code>REPOS_PATH</code></em>.
If <em class="replaceable"><code>NEW_UUID</code></em> is provided, use
that as the new repository UUID; otherwise, generate a
brand-new UUID for the repository.</p>
</div>
<div class="refsect1" title="Options">
<a id="idp43882704"></a>
<h2>Options</h2>
<p>None</p>
</div>
<div class="refsect1" title="Examples">
<a id="idp43883920"></a>
<h2>Examples</h2>
<p>If you've <span class="command"><strong>svnsync</strong></span>ed <code class="filename">/var/svn/repos</code>
to <code class="filename">/var/svn/repos-new</code> and intend to use <code class="filename">repos-new</code> as your
canonical repository, you may want to change the UUID for
<code class="filename">repos-new</code> to the UUID of <code class="filename">repos</code> so that your users don't
have to check out a new working copy to accommodate the
change:</p>
<div class="informalexample">
<pre class="screen">
$ svnadmin setuuid /var/svn/repos-new 2109a8dd-854f-0410-ad31-d604008985ab
</pre>
</div>
<p>As you can see, <span class="command"><strong>svnadmin setuuid</strong></span>
has no output upon success.</p>
</div>
</div>
<div class="navfooter">
<hr />
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left"><a accesskey="p" href="svn.ref.svnadmin.c.setrevprop.html">Prev</a> </td>
<td width="20%" align="center">
<a accesskey="u" href="svn.ref.svnadmin.html#svn.ref.svnadmin.c">Up</a>
</td>
<td width="40%" align="right"> <a accesskey="n" href="svn.ref.svnadmin.c.upgrade.html">Next</a></td>
</tr>
<tr>
<td width="40%" align="left" valign="top">svnadmin setrevprop </td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>
<td width="40%" align="right" valign="top"> svnadmin upgrade</td>
</tr>
</table>
</div>
<div xmlns="" id="svn-footer">
<hr />
<p>You are reading <em>Version Control with Subversion</em> (for Subversion 1.7), by Ben Collins-Sussman, Brian W. Fitzpatrick, and C. Michael Pilato.<br />
This work is licensed under the <a href="http://creativecommons.org/licenses/by/2.0/">Creative Commons Attribution License v2.0</a>.<br />
To submit comments, corrections, or other contributions to the text, please visit <a href="http://www.svnbook.com/">http://www.svnbook.com/</a>.</p>
</div>
</body>
</html>