Page MenuHomeFreeBSD

D12678.1775970417.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D12678.1775970417.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
Sun, Apr 12, 5:06 AM (4 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28328750
Default Alt Text
D12678.1775970417.diff (1 KB)

Event Timeline