Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144640606
D12678.1775970417.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12678.1775970417.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12678: Improve svn copy documentation
Attached
Detach File
Event Timeline
Log In to Comment