A. Updating file or document in SVN
1.
Get the latest version of a file
by SVN Update
·
Right click
on the SVN folder or file that you’re interested in
·
Select SVN Update
Ø
Latest
version of this file or contents of the folder is retrieved to your computer
2.
Updating a file
·
Follow step
#1 to get the latest version
·
Lock this file to avoid concurrent
updates or many people updating on the same version of this document.
a.
Right click on this file
b.
Select TortoiseSVN à Get Lock
c.
Enter your
notes for this locking activity.
·
This file is
effectively locked for editing by this user. If another user tried to lock this file for editing, he would get an
error message to inform him that this file has been locked by the above user
[user id is included in the message].
·
Edit the
file, then commit
it to the SVN repository by
§
Right click on this file
§
Select SVN Commit
§
Enter your
notes about your updates to this file/document.
·
By “SVN Commit”,
this file is automatically unlocked by Tortoise SVN.
3.
Unlock a file or document without
editing it
§
After you had
locked a file, but you decided not to update this file and wanted release the
lock for others to update this file,
a.
Right click on this file
b.
Select TortoiseSVN à Release Lock
B. Initial set up your folder/computer with documents stored
in SVNDocs
1.
You need SVN
client installed on your computer. Open a request for IT support to install
this.
2.
From your
Desktop à Right Click à SVN Check Out
3. Checking
out documents
Enter the repository url: svn://xxx.yyy.zzz.abc/SVNDocs (for all
documents in SVNDocs), then Specify a
folder on your PC to hold checkout docs.
If you don’t want to retrieve all documents [all clients], you can
specify the client folder that you’re interested in, e.g. to get documents for a
product documents, aProductFolder
only, replace the repository url above by:
svn:// xxx.yyy.zzz.abc/SVNDocs/aProductFolder
No comments:
Post a Comment