Tortoise Subversion : Java Glossary

go to home page T words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2009 Roedy Green, Canadian Mind Products
Tortoise Subversion  Tortoise Subversion
Tortoise Subversion 1.6.6 Last revised/verified: 2009-10-22 is a subversion client that works inside Explorer letting you do your work with right clicks. It is not quite a full-featured, but it is simpler since is uses the familiar directory displays.

gmane.comp.version-control.subversion.tortoisesvn.user  is a newsgroup to discuss TortoiseSVN. It is carried free on newsserver news.gmane.org. You will need a newsreader to access it, not a browser.

Steps

Here are the basic TortoiseSVN operations:
  1. Create the repository.
  2. Configure your global-ignores.
  3. Configure your auto-props in C:\Users\User\AppDate\Roaming\Subversion\config, acessible via right click TortoiseSVN ⇒ Settings ⇒ edit something like this:
  4. Import a directory tree into the repository. As with all version control systems, it takes some experimenting so that when you import a directory or file, it goes where you expect it to in the repository tree. One of the easiest ways to get started is to use the repo-browser, navigate in the repository of the parent of the directory you want to add and select add folder.
  5. Checkout part of the repository, usually to a different spot on disk from where you imported it from.
  6. Make a change to some of the checked out files.
  7. Use Update to fetch any recent changes to the repository made by other people. Subversion will attempt to merge your changes with those of other people. You will have to look its attempt over and correct any errors.
  8. Commit the merged changes to record them in the repository.
  9. Add a file, group of files or dir to the repository that are not represented there (perhaps out of date) already.
  10. Commit the add. The files are not copied to the repository until you do the commit of all previous adds in one fell swoop.
  11. Delete a file from the checked out files.
  12. Commit the deletion. This will mark the file as deleted in the repository, but keep the previous update history.
  13. Use the Repo-Browser delete of a file or directory. This will delete all history of this file or directory from the respository.

Global Ignores

The TortoiseSVN client in 100% responsible for deciding what files and directories will be included/excluded from the the repository. The server accepts everything. You can specify a set of global excludes, or as Subversion calls them ignores, like this: *.class *.com *.digest *.exe *.jar *.log *.log.html *.lst *.map *.obj *.raw *.ser *.sln *.table *.tmp *.zip */javadoc */jetpdb Debug javadoc jetpdb Release temp.* temp?.* temp?.*. Note how you must specify directories to exclude twice, once with and once without the /. Otherwise, when they are the direct child folder of the import directory they will not match since there is no / in the name. This is the side effect of the way Tortoise does filename pattern matching with regexes rather than wildcards.

You can specify the excludes in the global ignore settings, or in the Subversion configuration file with:
global-ignores = *.class *.com *.digest *.exe *.jar *.log *.log.html *.lst *.map *.obj *.raw *.ser *.sln *.table *.tmp *.zip */javadoc */jetpdb Debug javadoc jetpdb Release temp.* temp?.* temp?.*
or after you have done a checkout, add by right clicking on a file or directory you do not want to include, and selecting add to ignore list. Oddly, you can’t make such file-by-file two-click exclusions prior to or during the import. Adding ignores won’t delete any existing files or directory from the repository. It is merely a list of what you want to ignore, not what everyone has to ignore.

Files

TortoiseSVN will create a .svn directory in any directory you have checked out. Don’t delete or modify any of the files in it. It is considerably bigger than the equivalent .cvs directory.

It creates *.r0 and *.r108 files corresponding to *.png images in your checkout directory, not the .svn directory! I don’t know why it does this or what these are for. It is rather improper behaviour in my opinion.

Tips

Deleting

If you accidentally add a file to the repository, you can un-add it if you have not committed yet.

If you want to delete the file on your disk and mark it as deleted in the repository, use SVN delete then commit.

If you want to keep the file on your disk, but no longer track it in the replository, use SVD delete and add to ignore list, then commit.

If you want to delete all record of the file of ever having existing from the repository, find it is the repo-browser, and delete it and use delete to delete it from your hard disk.

Disadvantages of Tortoise Subversion


CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/tortoisesubversion.html J:\mindprod\jgloss\tortoisesubversion.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.107]
You are visitor number 11.