Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can use a personal branch and switch that file for this effect. Like this:</p> <pre><code> svn cp ^/trunk ^/branches/your_name -m "Creating a personal branch." cd working_copy_of_trunk/sub_path/ svn switch ^/branches/your_name/sub_path/your_file your_file </code></pre> <p>Note that:</p> <ol> <li>You can check the switched status with the 'S' appearing on the fifth column with command: <code>svn status</code></li> <li>You will never work on the branch, your working_copy_of_trunk still is synchronized against the repository trunk directory except the files you have switched, so whenever you commit changes on your_file, commits for that file will be done on your branch and not on the trunk.</li> <li><p>The copy have been done complete server side, and this is the recommended way with svn. Complete server side copy is instantaneous and will not spent extra space on the server. However, it is also recommended that people do not checkout the top directory containing trunk/ tags/ and branches/ but directly trunk/ otherwise all files will be duplicates locally when updating from this top dir. If this is the case rather subtitute the first command with :</p> <p>svn cp --parents ^/trunk/sub_path/your_file ^/branches/your_name/sub_path/your_file</p> <p>Finally if for any reason you do not want to copy your file elsewhere on your repository server, then you may still combine this approach with an external server and svn:external keywords (not really recommended).</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload