Version Control

Subversion

How-To Examples

Checking out the code

$ svn checkout https://65.25.157.250:11443/svn/devry devry
Error validating server certificate for 'https://minia.ravenloft.mist:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: localhost.localdomain
 - Valid: from Mar  8 02:16:34 2006 GMT until Mar  8 02:16:34 2007 GMT
 - Issuer: SomeOrganizationalUnit, SomeOrganization, SomeCity, SomeState, --
 - Fingerprint: 0e:10:c1:f6:ed:50:5f:5f:f4:6c:4b:04:61:15:04:a8:3b:3d:4a:cb
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://minia.ravenloft.mist:443> secure area
Password for 'toran':
A    rockbox/build
A    rockbox/build/archos
A    rockbox/build/lang.c
A    rockbox/build/apps
A    rockbox/build/apps/build.lang
A    rockbox/build/apps/rockbox.map
A    rockbox/build/apps/recorder
A    rockbox/build/apps/dep-apps
A    rockbox/build/autoconf.h
A    rockbox/build/comsim
A    rockbox/build/comsim/dep-commonsim
A    rockbox/build/lang.h
A    rockbox/build/sim
A    rockbox/build/sim/UI256.bmp
A    rockbox/build/sim/dep-simwin
A    rockbox/build/firmware
A    rockbox/build/firmware/dep-firmware
A    rockbox/build/firmware/sysfont.c
A    rockbox/build/firmware/common
...
...
$ cd rockbox/
$ ls -al
total 84
drwxr-xr-x  10 toran vistani 4096 Mar 25 16:40 .
drwxr-xr-x   3 toran vistani 4096 Mar 25 12:22 ..
drwxr-xr-x   8 toran vistani 4096 Mar 25 12:23 apps
drwxr-xr-x   8 toran vistani 4096 Mar 25 12:22 build
drwxr-xr-x   3 toran vistani 4096 Mar 25 12:23 docs
drwxr-xr-x   7 toran vistani 4096 Mar 25 12:24 firmware
drwxr-xr-x   3 toran vistani 4096 Mar 25 12:24 fonts
drwxr-xr-x   7 toran vistani 4096 Mar 25 16:40 .svn
-rw-r--r--   1 toran vistani    0 Mar 25 16:40 test1
drwxr-xr-x   4 toran vistani 4096 Mar 25 12:22 tools
drwxr-xr-x   6 toran vistani 4096 Mar 25 12:24 uisimulator

Getting the current updates

$ svn update
A    test.txt
Updated to revision 2.

Added a new file

$ svn add test2
A         test2

Renaming A File

$ svn rename test3 test1
A         test1
D         test3

Deleting A File

$ svn del test.txt
D         test.txt

Viewing the current status

$ svn status
A  +   test1
D      test3
D      test.txt

Commiting your changes

I had to set this environment variable first. It may not be needed on other systems.

$ export SVN_EDITOR=vi
$ svn commit -m "This is a test"
Deleting       test.txt
Adding         test1
Deleting       test3

Committed revision 5.

How to fix checked out repos location:

find ./ -name entries -exec sed -i 's+file:///data/db/+https://65.25.157.250:11443/+' {} \;
/var/www/sites/dokuwiki-2011-05-25a/data/pages/projects/devry/vervsioncontrol.txt · Last modified: 2009/04/11 22:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki