Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/articles/committers-guide/article.xml
Show First 20 Lines • Show All 954 Lines • ▼ Show 20 Lines | &prompt.user; <userinput>svn add <replaceable>bar</replaceable></userinput></screen> | ||||
<screen>&prompt.user; <userinput>svn rm <replaceable>bar</replaceable></userinput></screen> | <screen>&prompt.user; <userinput>svn rm <replaceable>bar</replaceable></userinput></screen> | ||||
</sect3> | </sect3> | ||||
<sect3 xml:id="svn-daily-use-copying-and-moving"> | <sect3 xml:id="svn-daily-use-copying-and-moving"> | ||||
<title>Copying and Moving Files</title> | <title>Copying and Moving Files</title> | ||||
<para>This command creates a copy of | <para>This command creates a copy of | ||||
<filename>foo.c</filename> named <filename>bar.c</filename>, | <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> | <screen>&prompt.user; <userinput>svn copy <replaceable>foo.c</replaceable> <replaceable>bar.c</replaceable></userinput></screen> | ||||
<para>The example above is equivalent to:</para> | <para>This is usually preferred to copying the file with | ||||
wblock: This sentence long and has a lot of information. Better to split.
Also, best to avoid… | |||||
<command>cp</command> and adding it to the repository with | |||||
<screen>&prompt.user; <userinput>cp foo.c bar.c</userinput> | <command>svn add</command> because this way the new file does not | ||||
&prompt.user; <userinput>svn add bar.c</userinput></screen> | inherit the original one's history.</para> | ||||
<para>To move and rename a file:</para> | <para>To move and rename a file:</para> | ||||
<screen>&prompt.user; <userinput>svn move <replaceable>foo.c</replaceable> <replaceable>bar.c</replaceable></userinput></screen> | <screen>&prompt.user; <userinput>svn move <replaceable>foo.c</replaceable> <replaceable>bar.c</replaceable></userinput></screen> | ||||
</sect3> | </sect3> | ||||
<sect3 xml:id="svn-daily-use-log-and-annotate"> | <sect3 xml:id="svn-daily-use-log-and-annotate"> | ||||
<title>Log and Annotate</title> | <title>Log and Annotate</title> | ||||
▲ Show 20 Lines • Show All 4,328 Lines • Show Last 20 Lines |
This sentence long and has a lot of information. Better to split.
Also, best to avoid possessives, which are rarely needed.
Suggested: