:: HINT COPY PASTE THE WHOLE TEST THE :: STANDS FOR COMMENTS IN CMD AND WILL NOT BE INCLUDED
::SOURCE:
::http://www.abbeyworkshop.com/howto/misc/svn01/
:: Setting up a Subversion Server under Windows
::ADD THE subversion bin directory to your PATH environmental variable
::
::ADD THE FOLLOWING ENVIRONMENTAL VARIABLE ENV
SVN_EDITOR
::AND THE VALUE the path to your favorite text editor with " " around the path !!!
"C:\Program Files\TextPad 5\textpad.exe"
pause
::GET HELP FOR SVN
svn help
pause
::GET HELP FOR SVN COMMAND
svn help revert
pause
::CREATE NEW REPOSITORY
svnadmin create d:/svn
pause
::EDIT THE USER NAME AND THE PASS IN THE REPOSITORY
START /MAX TEXTPAD "D:\svn\conf\svnserve.conf"
pause
::uncoment the following lines
[general]
anon-access = read
auth-access = write
password-db = passwd
::NOW MAKE THE DIRECTORY STRUCTURE
mkdir D:\svn\poc
mkdir D:\svn\poc\branches
mkdir D:\svn\poc\tags
mkdir D:\svn\poc\trunk
::uncomment the following lines ( replace for you users and passwords )
start /max textpad D:\svn\conf\passwd :
[users]
user1 = pass1
user2 = pass2
:: Start the subversion server by issuing this command in the command window:
:: THE CMD /C will start new version of the cmd.exe
start /max CMD /C "svnserve --daemon --root d:\SVN"
::JUST CHANGE TO THE D:\ DRIVE
d:
::NOW CHANGE TO THE DIRECTORY OF your project
:: ASSUMING THAT THE PROJECT IS BELLLOW THE D:\poc folder
cd D:\
::import for first time the project name
svn import poc file:///d:/svn/poc -m "Log Message"
::TO START USING THE VERSION CONTROL FEATURES CHECK OUT A PROJECT INTO YOUR LOCAL WORKING DIRECTORY, CREATE THE DIRECTORY TO WHICH
mkdir D:\temp\poc
::NOW GO TO THE WORKING DIRECTORY
mkdir D:\temp\poc
cd D:\temp\poc
::now checkout the poc project
svn checkout file:///d:/svn/poc/trunk poc
::TO GET A LIST OF THE CURRENT PROJECTS STORED IN A REPOSITORY, YOU CAN USE THE FOLLOWING COMMAND
svn list --verbose file:///svn/poc
svn status
::SUBVERSION DOES NOT TRACK THE VERSION NUMBERS FOR INDIVIDUAL PROJECTS AUTOMATICALLY. INSTEAD, IT TRACKS EACH UPDATE TO THE REPOSITORY AND TRACKS THE VERSIONS OF THESE UPDATES. TO CREATE INTERIM PROJECT RELEASES, YOU MUST CREATE "TAGS" WHICH IDENTIFY A SPECIFY VERSION OF A PROJECT. THIS IS DONE BY MAKING A VIRTUAL COPY OF A PROJECT IN THE TAGS DIRECTORY. FOR EXAMPLE
svn copy http://ysg/svn/poc/trunk http://ysg/svn/poc/tags/0.1.0 -m "Tagging the 0.1.0 release of the poc"
::THIS CREATES A SORT OF BOOKMARK OR SNAPSHOT WHICH RECORDS THE CURRENT STATE OF THE PROJECT. THEN, YOU CAN CHECKOUT THE PROJECT IN THIS STATE AT ANY TIME BY SIMPLY REFERRING TO THAT RELEASE NUMBER.
::TO GET A LIST OF THE RELEASES FOR A PROJECT.
svn list http://localhost/svn/repos/poc/tags 0.1.0/
ipconfig
svn list http://192.168.0.153/svn/repos/poc/tags 0.1.0/
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 month ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!