x
Search Posts:
BLOG POST #28 SHOW ALL

ROUGH CODE MANAGEMENT SAMPLE

user@machine:~/working_copies$ svnadmin create /home/user/repo/test
user@machine:~/working_copies$ svn checkout file:///home/user/repo/test
Checked out revision 0.
user@machine:~/working_copies$ cd test
user@machine:~/working_copies/test$ nano core
...
user@machine:~/working_copies/test$ svn add *
A         core
user@machine:~/working_copies/test$ svn commit
Adding         core
Transmitting file data .
Committed revision 1.



user@machine:~/working_copies$ svn checkout file:///home/user/repo/test_extended
Checked out revision 0.
user@machine:~/working_copies$ cd test_extended/
user@machine:~/working_copies/test_extended$ nano extension
...
user@machine:~/working_copies/test_extended$ svn add *
A         extension
user@machine:~/working_copies/test_extended$ svn commit
Adding         extension
Transmitting file data .
Committed revision 1.



user@machine:~/working_copies$ svn export file:///home/user/repo/test ./test_extended --force
A    test_extended
A    test_extended/core
Exported revision 1.
user@machine:~/working_copies$ cd test_extended
user@machine:~/working_copies/test_extended$ svn status
?       core
user@machine:~/working_copies/test_extended$ nano extension
...
user@machine:~/working_copies/test_extended$ nano core
...
user@machine:~/working_copies/test_extended$ svn commit
Sending        extension
Transmitting file data .
Committed revision 2.
user@machine:~/working_copies/test_extended$ exit