User Tools

Site Tools


docs:svn:branches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:svn:branches [2015/09/14 08:25] – EGNQCGISDqhZaIZLZ 146.185.234.48docs:svn:branches [2016/03/15 00:09] (current) – old revision restored 91.89.129.106
Line 1: Line 1:
-http://freevideoslutchat.ml/#3182 free video slut chat+ 
 +docs: 
 +http://svnbook.red-bean.com/en/1.6/svn.branchmerge.using.html 
 + 
 +creating a test repository: 
 + 
 + @svnrepo: 
 +     mksvnrepo -p testbranching -g lihas 
 +  
 + @workstation: 
 +     REPO=https://svn.example.com/svn/testbranching 
 +     mkdir testbranching 
 +     mksvnproject -p testbranching 
 +     cd testbranching 
 +     date >  testfile 
 +     svn add testfile ; svn -m "" commit 
 +     date >> testfile ; svn -m "" commit 
 +     date >> testfile ; svn -m "" commit 
 +     date >> testfile ; svn -m "" commit 
 +     date >> testfile ; svn -m "" commit 
 + 
 +This test repository is not very suitable for branchingso  
 +it has to be converted first: 
 + 
 +<code> 
 + 
 +    mkdir trunk 
 +    svn add trunk    ; svn -m "+trunk" commit 
 +    mkdir branches 
 +    svn add branches ; svn -m "+branches" commit 
 + 
 +    svn mv "$REPO/testfile" $REPO/trunk -m "mv to trunk" 
 +    -> 
 +        Committed revision 6. 
 + 
 +    <test> 
 +    svn update 
 +    -> 
 +        D    testfile 
 +        A    trunk/testfile 
 +    => OK 
 +    </test> 
 + 
 +    rm -rf .svn trunk branches 
 +    svn checkout $REPO/trunk . 
 + 
 +    # jetzt ist der branch "trunk" in dem verzeichnis ausgecheckt. 
 + 
 +    svn cp $REPO/trunk $REPO/branches/v4 -m "cp branches/v4" 
 +    -> 
 +        Committed revision 8 
 +    => OK 
 + 
 +    svn checkout $REPO/branches/v4 ../testbranching-v4 
 + 
 +    cd .. 
 + 
 +    echo "minor change" >> testbranching/testfile 
 +    echo "major change" >> testbranching-v4/testfile 
 + 
 +    svn commit -m "minor change" testbranching/testfile 
 +    svn commit -m "major change" testbranching-v4/testfile 
 + 
 +</code> 
docs/svn/branches.1442211955.txt.gz · Last modified: 2015/09/14 08:25 by 146.185.234.48