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