Verify the SVN Workspace

After creating the Subversion local working copy to hold the working copies of your package files, you can verify that it functions correctly before attempting to use it with Enterprise Architect. You need to be able to add files to Subversion, lock the files and commit changes to those files.

Verify correct operation of a Subversion working copy folder

Step

Action

See also

1

Use Windows to open a command prompt window.

 

 

2

Select the directory you specified as the working copy, in the Subversion checkout command when preparing the SVN workspace. For example:

 

C:\> cd mySVNWorkSpace

 

 

Create a Local Working Copy

3

Create a test file, such as Test.txt, containing the text Subversion Test. For example:

 

C:\> echo Subversion Test > Test.txt

 

 

 

4

Execute each of the following Subversion commands:

svn add Test.txt
svn commit -m"Commit comment" Test.txt
svn update Test.txt
svn lock Test.txt
Use your preferred editor to modify the file and save the changes
svn commit -m"Second commit comment" Test.txt

 

The commands should execute without any errors and without prompting the user for any extra input.

 

 

Notes

Your environment must be set up such that you can perform these operations without ever being prompted for user ID or password; for further information, please see the Caching Client Credentials topic in the official Subversion documentation

Learn more