Page MenuHomeFreeBSD

D12678.id34070.diff
No OneTemporary

D12678.id34070.diff

Index: head/en_US.ISO8859-1/articles/committers-guide/article.xml
===================================================================
--- head/en_US.ISO8859-1/articles/committers-guide/article.xml
+++ head/en_US.ISO8859-1/articles/committers-guide/article.xml
@@ -960,14 +960,15 @@
<para>This command creates a copy of
<filename>foo.c</filename> named <filename>bar.c</filename>,
- with the new file also under version control:</para>
+ with the new file also under version control and with the full
+ history of <filename>foo.c</filename>:</para>
<screen>&prompt.user; <userinput>svn copy <replaceable>foo.c</replaceable> <replaceable>bar.c</replaceable></userinput></screen>
- <para>The example above is equivalent to:</para>
-
- <screen>&prompt.user; <userinput>cp foo.c bar.c</userinput>
-&prompt.user; <userinput>svn add bar.c</userinput></screen>
+ <para>This is usually preferred to copying the file with
+ <command>cp</command> and adding it to the repository with
+ <command>svn add</command> because this way the new file does not
+ inherit the original one's history.</para>
<para>To move and rename a file:</para>

File Metadata

Mime Type
text/plain
Expires
Tue, Jun 16, 11:00 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34005852
Default Alt Text
D12678.id34070.diff (1 KB)

Event Timeline