This tool, to be used before committing your work, should help you locate problems in translation files. Please consider it as work-in-progress, as we are still working on it.
First of all, it will help you find missing accelerators - Luebbe's translation status page shows counts but not strings themselves, so the table below will help you fix these problems.
The analysis also includes some other useful lists, it checks for instance for correct new line styles, untranslated strings and spelling mistakes. As we prefer to err on the side of caution, you may find a lot of false positives. Anyway I hope this will help you improve the quality of your translation.
Oto
Please follow this link if you think you may help with translation.
-> TortoiseSVN translation
You can upload file for check before you make actual commit, so you can fix errors in one commit.
Make sure you are going to check translation against proper branch.
Last update: September 05 2010 17:08 CET (GMT+1/GMT+2(DST))
Go to STABLE.
Language |
GUI check |
DOC |
Author(s) |
||||||||
Flag |
PAR!! |
ACC! |
NLS |
UNT |
FUZ |
ESC |
Note |
![]() |
![]() |
||
| Greek | 2654 |
8 |
2654/8 | - | George Marselis, Joseph Megkousoglou, John Stratoudakis, Stavros Labrou, Vasilios Will | ||||||
This test is necessary to pass or you can expect crashing of TSVN - specially true when you use longer type as is in English like %s instead of %d, %ld instead of %d, etc. Also having more parameters lead to crash TSVN. When TSVN not crash, the information is still wrong. For example number instead of text.
PASS
This is accessibility test. Passing this test is recommended. If you are interesting in more details about accelerator key overlapping I may enable such test for your language, but in fact there not too much to do against it. According Luebbe and Stefan there is no problem about it you just have to use accelerator more time to select element and then use enter or space for activate button.
PASS
This tests if new line style from pot match localized new line style. This test may have false positives when English text has new line style inconsistence. Using more lines for Native when English use just one is also alowed for most of translation even here reported.
PASS
This tests if all strings has been translated. Translated mean that there in native string set. If English and native are same it is not marked as not translated, this just can happen.
| Index | Line | English | Line |
| 1 | 65 | version control | 82 |
| 2 | 69 | Version control is the art of managing changes to information. It has long been a critical tool for programmers, who typically spend their time making small changes to software and then undoing or checking some of those changes the next day. Imagine a team of such developers working concurrently - and perhaps even simultaneously on the very same files! - and you can see why a good system is needed to |
86 |
| 3 | 77 | TortoiseSVN is a free open-source Windows client for the time machine. |
94 |
| 4 | 81 | Some version control systems are also software configuration management (SCM) systems. These systems are specifically tailored to manage trees of source code, and have many features that are specific to software development - such as natively understanding programming languages, or supplying tools for building software. Subversion, however, is not one of these systems; it is a general system that can be used to manage |
98 |
| 5 | 109 | And you are not limited to using the Windows Explorer; TortoiseSVN's context menus work in many other file managers, and also in the File/Open dialog which is common to most standard Windows applications. You should, however, bear in mind that TortoiseSVN is intentionally developed as an extension for the Windows Explorer. Thus it is possible that in other applications the integration is not as complete and e.g. the icon overlays may not be shown. | 127 |
| 6 | 113 | Icon overlays | 131 |
| 7 | 117 | The status of every versioned file and folder is indicated by small overlay icons. That way you can see right away what the status of your working copy is. | 135 |
| 8 | 121 | Graphical User Interface | 139 |
| 9 | 125 | When you list the changes to a file or folder, you can click on a revision to see the comments for that commit. You can also see a list of changed files - just double click on a file to see exactly what changed. | 143 |
| 10 | 129 | The commit dialog lists all the items that will be included in a commit, and each item has a checkbox so you can choose which items you want to include. Unversioned files can also be listed, in case you forgot to add that new file. | 147 |
| 11 | 133 | Easy access to Subversion commands | 151 |
| 12 | 137 | All Subversion commands are available from the explorer context menu. TortoiseSVN adds its own submenu there. | 155 |
| 13 | 141 | Since TortoiseSVN is a Subversion client, we would also like to show you some of the features of Subversion itself: | 159 |
| 14 | 145 | Directory versioning | 163 |
| 15 | 149 | CVS only tracks the history of individual files, but Subversion implements a virtualversioned filesystem that tracks changes to whole directory trees over time. Files |
167 |
| 16 | 153 | Atomic commits | 171 |
| 17 | 157 | A commit either goes into the repository completely, or not at all. This allows developers to construct and commit changes as logical chunks. | 175 |
| 18 | 161 | Versioned metadata | 179 |
| 19 | 165 | Each file and directory has an invisible set of propertiesattached. You can invent and store any arbitrary key/value pairs you wish. Properties are versioned over time, just like file contents. |
183 |
| 20 | 169 | Choice of network layers | 187 |
| 21 | 173 | Subversion has an abstracted notion of repository access, making it easy for people to implement new network mechanisms. Subversion's advancednetwork server is a module for the Apache web server, which speaks a variant of HTTP called WebDAV/DeltaV. This gives Subversion a big advantage in stability and interoperability, and provides various key features for free: authentication, authorization, wire compression, and repository browsing, for example. A smaller, standalone Subversion server process is also available. This server speaks a custom protocol which can be easily tunneled over ssh. |
191 |
| 22 | 177 | Consistent data handling | 195 |
| 23 | 181 | Subversion expresses file differences using a binary differencing algorithm, which works identically on both text (human-readable) and binary (human-unreadable) files. Both types of files are stored equally compressed in the repository, and differences are transmitted in both directions across the network. | 199 |
| 24 | 185 | Efficient branching and tagging | 203 |
| 25 | 189 | The cost of branching and tagging need not be proportional to the project size. Subversion creates branches and tags by simply copying the project, using a mechanism similar to a hard-link. Thus these operations take only a very small, constant amount of time, and very little space in the repository. | 207 |
| 26 | 193 | License | 211 |
| 27 | 197 | TortoiseSVN is an Open Source project developed under the GNU General Public License (GPL). It is free to download and free to use, either personally or commercially, on any number of PCs. | 215 |
| 28 | 201 | Although most people just download the installer, you also have full read access to the source code of this program. You can browse it on this link |
219 |
| 29 | 205 | Development | 223 |
| 30 | 217 | In 2002, Tim Kemp found that Subversion was a very good version control system, but it lacked a good GUI client. The idea for a Subversion client as a Windows shell integration was inspired by the similar client for CVS named TortoiseCVS. Tim studied the source code of TortoiseCVS and used it as a base for TortoiseSVN. He then started the project, registered the domain |
236 |
| 31 | 221 | Around that time, Stefan Küng was looking for a good and free version control system and found Subversion and the source for TortoiseSVN. Since TortoiseSVN was still not ready for use, he joined the project and started programming. He soon rewrote most of the existing code and started adding commands and features, up to a point where nothing of the original code remained. | 240 |
| 32 | 225 | As Subversion became more stable it attracted more and more users who also started using TortoiseSVN as their Subversion client. The user base grew quickly (and is still growing every day). That's when Lübbe Onken offered to help out with some nice icons and a logo for TortoiseSVN. He now takes care of the website and manages the many translations. | 244 |
| 33 | 269 | for the log cache and revision graph | 290 |
| 34 | 277 | for the great introduction to Subversion and its chapter 2 which we copied here | 298 |
| 35 | 285 | for some of the styles which are reused in this documentation | 306 |
| 36 | 293 | for the patches, bug reports and new ideas, and for helping others by answering questions on our mailing list | 314 |
| 37 | 313 | This |
335 |
| 38 | 317 | The |
339 |
| 39 | 321 | In |
343 |
| 40 | 325 | The chapter on |
347 |
| 41 | 329 | The |
351 |
| 42 | 333 | 355 | |
| 43 | 337 | The |
359 |
| 44 | 341 | The section on |
363 |
| 45 | 345 | The |
367 |
| 46 | 353 | To make reading the docs easier, the names of all the screens and Menus from TortoiseSVN are marked up in a different font. The |
375 |
| 47 | 357 | A menu choice is indicated with an arrow. |
379 |
| 48 | 361 | Where a local context menu appears within one of the TortoiseSVN dialogs, it is shown like this: |
383 |
| 49 | 365 | User Interface Buttons are indicated like this: Press |
387 |
| 50 | 369 | User Actions are indicated using a bold font. |
391 |
| 51 | 373 | System output and keyboard input is indicated with a |
395 |
| 52 | 385 | Places where you have to be careful what you are doing. | 407 |
| 53 | 389 | Where extreme care has to be taken. Data corruption or other nasty things may occur if these warnings are ignored. | 411 |
| 54 | 394 | Getting Started | 416 |
| 55 | 398 | This section is aimed at people who would like to find out what TortoiseSVN is all about and give it a test drive. It explains how to install TortoiseSVN and set up a local repository, and it walks you through the most commonly used operations. | 420 |
| 56 | 402 | Installing TortoiseSVN | 424 |
| 57 | 406 | System requirements | 428 |
| 58 | 410 | TortoiseSVN runs on Windows XP or higher and is available in both 32-bit and 64-bit flavours. If you are running 64-bit Windows you may want to install both versions. | 432 |
| 59 | 414 | Support for Windows 98, Windows ME and Windows NT4 was dropped in version 1.2.0 and Windows 2000 support was dropped in 1.7.0. You can still download and install older versions if you need them. | 436 |
| 60 | 418 | Installation | 440 |
| 61 | 422 | install | 444 |
| 62 | 426 | TortoiseSVN comes with an easy to use installer. Double click on the installer file and follow the instructions. The installer will take care of the rest. Don't forget to reboot after installation. | 448 |
| 63 | 430 | You need Administrator privileges to install TortoiseSVN. | 452 |
| 64 | 434 | Language packs are available which translate the TortoiseSVN user interface into many different languages. Please check |
456 |
| 65 | 438 | If you encounter any problems during or after installing TortoiseSVN please refer to our online FAQ at |
460 |
| 66 | 442 | Basic Concepts | 464 |
| 67 | 446 | Before we get stuck into working with some real files, it is important to get an overview of how subversion works and the terms that are used. | 468 |
| 68 | 453 | The Repository | 475 |
| 69 | 457 | Subversion uses a central database which contains all your version-controlled files with their complete history. This database is referred to as the |
479 |
| 70 | 466 | This is where you do the real work. Every developer has his own working copy, sometimes known as a sandbox, on his local PC. You can pull down the latest version from the repository, work on it locally without affecting anyone else, then when you are happy with the changes you made commit them back to the repository. | 488 |
| 71 | 470 | A Subversion working copy does not contain the history of the project, but it does keep a copy of the files as they exist in the repository before you started making changes. This means that it is easy to check exactly what changes you have made. | 492 |
| 72 | 475 | The TortoiseSVN menu for unversioned folders | 497 |
| 73 | 479 | You also need to know where to find TortoiseSVN because there is not much to see from the Start Menu. This is because TortoiseSVN is a Shell extension, so first of all, start Windows Explorer. Right click on a folder in Explorer and you should see some new entries in the context menu like this: |
501 |
| 74 | 483 | Go for a Test Drive | 505 |
| 75 | 487 | This section shows you how to try out some of the most commonly used features on a small test repository. Naturally it doesn't explain everything - this is just the Quick Start Guide after all. Once you are up and running you should take the time to read the rest of this user guide, which takes you through things in much more detail. It also explains more about setting up a proper Subversion server. | 509 |
| 76 | 495 | For a real project you will have a repository set up somewhere safe and a Subversion server to control it. For the purposes of this tutorial we are going to use Subversion's local repository feature which allows direct access to a repository created on your hard drive without needing a server at all. | 518 |
| 77 | 499 | First create a new empty directory on your PC. It can go anywhere, but in this tutorial we are going to call it |
522 |
| 78 | 503 | The local repository feature is very useful for test and evaluation but unless you are working as a sole developer on one PC you should always use a proper Subversion server. It is tempting in a small company to avoid the work of setting up a server and just access your repository on a network share. Don't ever do that. You will lose data. Read |
526 |
| 79 | 507 | Importing a Project | 530 |
| 80 | 512 | The Import dialog | 535 |
| 81 | 516 | Now we have a repository, but it is completely empty at the moment. Let's assume I have a set of files in |
539 |
| 82 | 520 | The other important feature of this dialog is the Import the Widget1 project. Click on |
543 |
| 83 | 528 | Now that we have a project in our repository, we need to create a working copy to use for day-to-day work. Note that the act of importing a folder does not automatically turn that folder into a working copy. The Subversion term for creating a fresh working copy is |
552 |
| 84 | 532 | You will notice that the appearance of this folder is different from our original folder. Every file has a green check mark in the bottom left corner. These are TortoiseSVN's status icons which are only present in a working copy. The green state indicates that the file is unchanged from the version in the repository. | 556 |
| 85 | 536 | Making Changes | 560 |
| 86 | 540 | Time to get to work. In the |
564 |
| 87 | 544 | File Difference Viewer | 568 |
| 88 | 548 | But what are the changes? Right click on one of the changed files and select |
572 |
| 89 | 552 | OK, so we are happy with the changes, let's update the repository. This action is referred to as a |
576 |
| 90 | 556 | Adding More Files | 580 |
| 91 | 560 | As the project develops you will need to add new files - let's say you add some new features in |
584 |
| 92 | 564 | Now when you go to commit the folder, the new file shows up as |
588 |
| 93 | 568 | Viewing the Project History | 592 |
| 94 | 572 | The Log Dialog | 596 |
| 95 | 576 | One of the most useful features of TortoiseSVN is the Log dialog. This shows you a list of all the commits you made to a file or folder, and shows those detailed commit messages that you entered ;-) |
600 |
| 96 | 580 | The top pane shows a list of revisions committed along with the start of the commit message. If you select one of these revisions, the middle pane will show the full log message for that revision and the bottom pane will show a list of changed files and folders. | 604 |
| 97 | 584 | Each of these panes has a context menu which provides you with lots more ways of using the information. In the bottom pane you can |
608 |
| 98 | 588 | Undoing Changes | 612 |
| 99 | 592 | One feature of all revision control systems is that they let you undo changes that you made previously. As you would expect, TortoiseSVN makes this easy to access. | 616 |
| 100 | 596 | If you want to get rid of changes that you have not yet committed and reset your file to the way it was before you started editing, |
620 |
| 101 | 600 | If you want to undo the effects of a particular revision, start with the Log dialog and find the offending revision. Select |
624 |
| 102 | 604 | Moving On ... | 628 |
| 103 | 608 | This guide has given you a very quick tour of some of TortoiseSVN's most important and useful features, but of course there is far more that we haven't covered. We strongly recommend that you take the time to read the rest of this manual, especially |
632 |
| 104 | 612 | We have taken a lot of trouble to make sure that it is both informative and easy to read, but we recognise that there is a lot of it! Take your time and don't be afraid to try things out on a test repository as you go along. The best way to learn is by using it. | 636 |
| 105 | 616 | Basic Version-Control Concepts | 640 |
| 106 | 620 | Subversion book | 644 |
| 107 | 624 | This chapter is a slightly modified version of the same chapter in the Subversion book. An online version of the Subversion book is available here: |
648 |
| 108 | 628 | This chapter is a short, casual introduction to Subversion. If you're new to version control, this chapter is definitely for you. We begin with a discussion of general version control concepts, work our way into the specific ideas behind Subversion, and show some simple examples of Subversion in use. | 652 |
| 109 | 632 | Even though the examples in this chapter show people sharing collections of program source code, keep in mind that Subversion can manage any sort of file collection - it's not limited to helping computer programmers. | 656 |
| 110 | 637 | repository | 661 |
| 111 | 641 | Subversion is a centralized system for sharing information. At its core is a |
665 |
| 112 | 645 | A Typical Client/Server System | 669 |
| 113 | 649 | So why is this interesting? So far, this sounds like the definition of a typical file server. And indeed, the repository |
673 |
| 114 | 653 | When a client reads data from the repository, it normally sees only the latest version of the filesystem tree. But the client also has the ability to view what did this directory contain last Wednesday?, or who was the last person to change this file, and what changes did they make?These are the sorts of questions that are at the heart of any |
677 |
| 115 | 657 | Versioning Models | 681 |
| 116 | 661 | All version control systems have to solve the same fundamental problem: how will the system allow users to share information, but prevent them from accidentally stepping on each other's feet? It's all too easy for users to accidentally overwrite each other's changes in the repository. | 685 |
| 117 | 665 | The Problem of File-Sharing | 689 |
| 118 | 669 | Consider this scenario: suppose we have two co-workers, Harry and Sally. They each decide to edit the same repository file at the same time. If Harry saves his changes to the repository first, then it's possible that (a few moments later) Sally could accidentally overwrite them with her own new version of the file. While Harry's version of the file won't be lost forever (because the system remembers every change), any changes Harry made |
693 |
| 119 | 673 | The Problem to Avoid | 697 |
| 120 | 678 | The Lock-Modify-Unlock Solution | 702 |
| 121 | 682 | Many version control systems use a |
706 |
| 122 | 686 | The problem with the lock-modify-unlock model is that it's a bit restrictive, and often becomes a roadblock for users: | 710 |
| 123 | 690 | 714 | |
| 124 | 694 | 718 | |
| 125 | 698 | 722 | |
| 126 | 703 | The Copy-Modify-Merge Solution | 727 |
| 127 | 707 | Subversion, CVS, and other version control systems use a |
731 |
| 128 | 711 | Here's an example. Say that Harry and Sally each create working copies of the same project, copied from the repository. They work concurrently, and make changes to the same file |
735 |
| 129 | 715 | ...Copy-Modify-Merge Continued | 739 |
| 130 | 720 | conflict | 744 |
| 131 | 724 | But what if Sally's changes |
748 |
| 132 | 728 | The copy-modify-merge model may sound a bit chaotic, but in practice, it runs extremely smoothly. Users can work in parallel, never waiting for one another. When they work on the same files, it turns out that most of their concurrent changes don't overlap at all; conflicts are infrequent. And the amount of time it takes to resolve conflicts is far less than the time lost by a locking system. | 752 |
| 133 | 732 | In the end, it all comes down to one critical factor: user communication. When users communicate poorly, both syntactic and semantic conflicts increase. No system can force users to communicate perfectly, and no system can detect semantic conflicts. So there's no point in being lulled into a false promise that a locking system will somehow prevent conflicts; in practice, locking seems to inhibit productivity more than anything else. | 756 |
| 134 | 736 | There is one common situation where the lock-modify-unlock model comes out better, and that is where you have unmergeable files. For example if your repository contains some graphic images, and two people change the image at the same time, there is no way for those changes to be merged together. Either Harry or Sally will lose their changes. | 760 |
| 135 | 740 | What does Subversion Do? | 764 |
| 136 | 744 | Subversion uses the copy-modify-merge solution by default, and in many cases this is all you will ever need. However, as of Version 1.2, Subversion also supports file locking, so if you have unmergeable files, or if you are simply forced into a locking policy by management, Subversion will still provide the features you need. | 768 |
| 137 | 748 | Subversion in Action | 772 |
| 138 | 752 | Working Copies | 776 |
| 139 | 756 | working copy | 780 |
| 140 | 760 | You've already read about working copies; now we'll demonstrate how the Subversion client creates and uses them. | 784 |
| 141 | 764 | A Subversion working copy is an ordinary directory tree on your local system, containing a collection of files. You can edit these files however you wish, and if they're source code files, you can compile your program from them in the usual way. Your working copy is your own private work area: Subversion will never incorporate other people's changes, nor make your own changes available to others, until you explicitly tell it to do so. | 788 |
| 142 | 768 | After you've made some changes to the files in your working copy and verified that they work properly, Subversion provides you with commands to |
792 |
| 143 | 772 | A working copy also contains some extra files, created and maintained by Subversion, to help it carry out these commands. In particular, each directory in your working copy contains a subdirectory named |
796 |
| 144 | 776 | A typical Subversion repository often holds the files (or source code) for several projects; usually, each project is a subdirectory in the repository's filesystem tree. In this arrangement, a user's working copy will usually correspond to a particular subtree of the repository. | 800 |
| 145 | 780 | For example, suppose you have a repository that contains two software projects. | 804 |
| 146 | 784 | The Repository's Filesystem | 808 |
| 147 | 788 | In other words, the repository's root directory has two subdirectories: |
812 |
| 148 | 792 | To get a working copy, you must |
816 |
| 149 | 796 | Suppose you make changes to |
820 |
| 150 | 800 | To publish your changes to others, you can use Subversion's |
824 |
| 151 | 804 | Now your changes to |
828 |
| 152 | 808 | Suppose you have a collaborator, Sally, who checked out a working copy of |
832 |
| 153 | 812 | To bring her project up to date, Sally can ask Subversion to |
836 |
| 154 | 816 | Note that Sally didn't need to specify which files to update; Subversion uses the information in the |
840 |
| 155 | 820 | Repository URLs | 844 |
| 156 | 824 | Subversion repositories can be accessed through many different methods - on local disk, or through various network protocols. A repository location, however, is always a URL. The URL schema indicates the access method: | 848 |
| 157 | 828 | Repository Access URLs | 852 |
| 158 | 832 | Schema | 856 |
| 159 | 836 | Access Method | 860 |
| 160 | 844 | Direct repository access on local or network drive. | 868 |
| 161 | 853 | Access via WebDAV protocol to Subversion-aware Apache server. | 877 |
| 162 | 861 | Same as |
885 |
| 163 | 876 | Unauthenticated TCP/IP access via custom protocol to a |
900 |
| 164 | 884 | authenticated, encrypted TCP/IP access via custom protocol to a |
908 |
| 165 | 888 | For the most part, Subversion's URLs use the standard syntax, allowing for server names and port numbers to be specified as part of the URL. The |
912 |
| 166 | 892 | Also, users of the standardsyntax for accessing repositories that are on the same machine, but on a different drive than the client's current working drive. Either of the two following URL path syntaxes will work where |
916 |
| 167 | 896 | \n file:///X:/path/to/repos\n ...\n file:///X|/path/to/repos\n ...\n |
920 |
| 168 | 901 | Note that a URL uses ordinary slashes even though the native (non-URL) form of a path on Windows uses backslashes. | 930 |
| 169 | 905 | You can safely access a FSFS repository via a network share, but you |
934 |
| 170 | 910 | Do not create or access a Berkeley DB repository on a network share. It |
939 |
| 171 | 914 | Revisions | 943 |
| 172 | 919 | revision | 948 |
| 173 | 923 | A |
952 |
| 174 | 927 | In the repository, each commit is treated as an atomic transaction: either all the commits changes take place, or none of them take place. Subversion retains this atomicity in the face of program crashes, system crashes, network problems, and other users' actions. | 956 |
| 175 | 931 | Each time the repository accepts a commit, this creates a new state of the filesystem tree, called a |
960 |
| 176 | 935 | A nice way to visualize the repository is as a series of trees. Imagine an array of revision numbers, starting at 0, stretching from left to right. Each revision number has a filesystem tree hanging below it, and each tree is a snapshotof the way the repository looked after each commit. |
964 |
| 177 | 939 | Global Revision Numbers | 968 |
| 178 | 943 | Unlike those of many other version control systems, Subversion's revision numbers apply to |
972 |
| 179 | 947 | It's important to note that working copies do not always correspond to any single revision in the repository; they may contain files from several different revisions. For example, suppose you check out a working copy from a repository whose most recent revision is 4: | 976 |
| 180 | 956 | At the moment, this working directory corresponds exactly to revision 4 in the repository. However, suppose you make a change to |
993 |
| 181 | 965 | Suppose that, at this point, Sally commits a change to |
1010 |
| 182 | 974 | Sally's changes to |
1027 |
| 183 | 978 | How Working Copies Track the Repository | 1031 |
| 184 | 982 | For each file in a working directory, Subversion records two essential pieces of information in the |
1035 |
| 185 | 986 | what revision your working file is based on (this is called the file's |
1039 |
| 186 | 990 | a timestamp recording when the local copy was last updated by the repository. | 1043 |
| 187 | 994 | Given this information, by talking to the repository, Subversion can tell which of the following four states a working file is in: | 1047 |
| 188 | 998 | Unchanged, and current | 1051 |
| 189 | 1002 | The file is unchanged in the working directory, and no changes to that file have been committed to the repository since its working revision. A |
1055 |
| 190 | 1006 | Locally changed, and current | 1059 |
| 191 | 1010 | The file has been changed in the working directory, and no changes to that file have been committed to the repository since its base revision. There are local changes that have not been committed to the repository, thus a |
1063 |
| 192 | 1014 | Unchanged, and out-of-date | 1067 |
| 193 | 1018 | The file has not been changed in the working directory, but it has been changed in the repository. The file should eventually be updated, to make it current with the public revision. A |
1071 |
| 194 | 1022 | Locally changed, and out-of-date | 1075 |
| 195 | 1026 | The file has been changed both in the working directory, and in the repository. A |
1079 |
| 196 | 1030 | Summary | 1083 |
| 197 | 1034 | We've covered a number of fundamental Subversion concepts in this chapter: | 1087 |
| 198 | 1038 | We've introduced the notions of the central repository, the client working copy, and the array of repository revision trees. | 1091 |
| 199 | 1042 | We've seen some simple examples of how two collaborators can use Subversion to publish and receive changes from one another, using the 'copy-modify-merge' model. | 1095 |
| 200 | 1046 | We've talked a bit about the way Subversion tracks and manages information in a working copy. | 1099 |
| 201 | 1050 | No matter which protocol you use to access your repositories, you always need to create at least one repository. This can either be done with the Subversion command line client or with TortoiseSVN. | 1103 |
| 202 | 1054 | If you haven't created a Subversion repository yet, it's time to do that now. | 1107 |
| 203 | 1058 | Repository Creation | 1111 |
| 204 | 1062 | create repository | 1115 |
| 205 | 1066 | You can create a repository with the FSFS backend or with the older Berkeley Database (BDB) format. The FSFS format is generally faster and easier to administer, and it works on network shares and Windows 98 without problems. The BDB format was once considered more stable simply because it has been in use for longer, but since FSFS has now been in use in the field for several years, that argument is now rather weak. Read |
1119 |
| 206 | 1070 | Creating a Repository with the Command Line Client | 1123 |
| 207 | 1075 | Create | 1128 |
| 208 | 1079 | Create an empty folder with the name SVN (e.g. |
1132 |
| 209 | 1083 | Create another folder |
1136 |
| 210 | 1087 | Open the command prompt (or DOS-Box), change into svnadmin create --fs-type bdb MyNewRepository\n svnadmin create --fs-type fsfs MyNewRepository\n |
1140 |
| 211 | 1091 | Now you've got a new repository located at |
1149 |
| 212 | 1095 | Creating The Repository With TortoiseSVN | 1153 |
| 213 | 1099 | Open the windows explorer | 1157 |
| 214 | 1103 | Create a new folder and name it e.g. |
1161 |
| 215 | 1107 | 1165 | |
| 216 | 1111 | A repository is then created inside the new folder. |
1169 |
| 217 | 1115 | You will also be asked whether you want to create a directory structure within the repository. Find out about layout options in |
|
| 218 | 1119 | TortoiseSVN will set a custom folder icon when it creates a repository so you can identify local repositories more easily. If you create a repository using the official command line client this folder icon is not assigned. | |
| 219 | 1123 | TortoiseSVN no longer offers the option to create BDB repositories, although you can still use the command line client to create them. FSFS repositories are generally easier for you to maintain, and also makes it easier for us to maintain TortoiseSVN due to compatibility issues between the different BDB versions. | 1173 |
| 220 | 1127 | TortoiseSVN does not support |
1177 |
| 221 | 1131 | Of course we also recommend that you don't use |
1181 |
| 222 | 1135 | Local Access to the Repository | 1185 |
| 223 | 1139 | Access | 1189 |
| 224 | 1143 | UNC paths | 1193 |
| 225 | 1147 | To access your local repository you need the path to that folder. Just remember that Subversion expects all repository paths in the form |
1197 |
| 226 | 1151 | To access a repository located on a network share you can either use drive mapping, or you can use the UNC path. For UNC paths, the form is |
1201 |
| 227 | 1155 | Prior to SVN 1.2, UNC paths had to be given in the more obscure form |
1205 |
| 228 | 1159 | Do not create or access a Berkeley DB repository on a network share. It |
1209 |
| 229 | 1163 | Accessing a Repository on a Network Share | 1213 |
| 230 | 1167 | Network share | 1217 |
| 231 | 1171 | Although in theory it is possible to put a FSFS repository on a network share and have multiple users access it using |
1221 |
| 232 | 1175 | Firstly you are giving every user direct write access to the repository, so any user could accidentally delete the entire repository or make it unusable in some other way. | 1225 |
| 233 | 1179 | Secondly not all network file sharing protocols support the locking that Subversion requires, so you may find your repository gets corrupted. It may not happen straight away, but one day two users will try to access the repository at the same time. | 1229 |
| 234 | 1183 | Thirdly the file permissions have to be set just so. You may just about get away with it on a native Windows share, but SAMBA is particularly difficult. | 1233 |
| 235 | 1187 | 1237 | |
| 236 | 1191 | Repository Layout | 1241 |
| 237 | 1195 | Before you import your data into the repository you should first think about how you want to organize your data. If you use one of the recommended layouts you will later have it much easier. | 1245 |
| 238 | 1199 | There are some standard, recommended ways to organize a repository. Most people create a main lineof development, a |
1249 |
| 239 | 1208 | Because this layout is so commonly used, when you create a new repository using TortoiseSVN, it will also offer to create the directory structure for you. | |
| 240 | 1212 | If a repository contains multiple projects, people often index their layout by branch: | 1266 |
| 241 | 1216 | \n /trunk/paint\n /trunk/calc\n /branches/paint\n /branches/calc\n /tags/paint\n /tags/calc\n |
1270 |
| 242 | 1221 | ...or by project: | 1282 |
| 243 | 1225 | \n /paint/trunk\n /paint/branches\n /paint/tags\n /calc/trunk\n /calc/branches\n /calc/tags\n |
1286 |
| 244 | 1230 | Indexing by project makes sense if the projects are not closely related and each one is checked out individually. For related projects where you may want to check out all projects in one go, or where the projects are all tied together in a single distribution package, it is often better to index by branch. This way you have only one trunk to checkout, and the relationships between the sub-projects is more easily visible. | 1298 |
| 245 | 1234 | If you adopt a top level |
1302 |
| 246 | 1238 | For unrelated projects you may prefer to use separate repositories. When you commit changes, it is the revision number of the whole repository which changes, not the revision number of the project. Having 2 unrelated projects share a repository can mean large gaps in the revision numbers. The Subversion and TortoiseSVN projects appear at the same host address, but are completely separate repositories allowing independent development, and no confusion over build numbers. | 1306 |
| 247 | 1242 | Of course, you're free to ignore these common layouts. You can create any sort of variation, whatever works best for you or your team. Remember that whatever you choose, it's not a permanent commitment. You can reorganize your repository at any time. Because branches and tags are ordinary directories, TortoiseSVN can move or rename them however you wish. | 1310 |
| 248 | 1246 | Switching from one layout to another is just a matter of issuing a series of server-side moves; If you don't like the way things are organized in the repository, just juggle the directories around. | 1314 |
| 249 | 1250 | create a new empty folder on your hard drive | 1318 |
| 250 | 1254 | create your desired top-level folder structure inside that folder - don't put any files in it yet! | 1322 |
| 251 | 1258 | import this structure into the repository via a |
1326 |
| 252 | 1262 | So if you haven't already created a basic folder structure inside your repository you should do that now. There are two ways to achieve this. If you simply want to create a |
1330 |
| 253 | 1266 | Note that the name of the folder you are importing does not appear in the repository, only its contents. For example, create the following folder structure: C:\\Temp\\New\\trunk\n C:\\Temp\\New\\branches\n C:\\Temp\\New\\tags\n /trunk\n /branches\n /tags\n |
1334 |
| 254 | 1270 | Repository Backup | 1347 |
| 255 | 1274 | backup | 1351 |
| 256 | 1278 | Whichever type of repository you use, it is vitally important that you maintain regular backups, and that you verify the backup. If the server fails, you may be able to access a recent version of your files, but without the repository all your history is lost forever. | 1355 |
| 257 | 1282 | The simplest (but not recommended) way is just to copy the repository folder onto the backup medium. However, you have to be absolutely sure that no process is accessing the data. In this context, access means |
1359 |
| 258 | 1286 | The recommended method is to run svnadmin hotcopy path/to/repository path/to/backup --clean-logs\n |
1363 |
| 259 | 1290 | The |
1370 |
| 260 | 1294 | Server side hook scripts | 1374 |
| 261 | 1298 | hooks | 1378 |
| 262 | 1303 | hook scripts | 1383 |
| 263 | 1307 | server side hook scripts | 1387 |
| 264 | 1311 | A hook script is a program triggered by some repository event, such as the creation of a new revision or the modification of an unversioned property. Each hook is handed enough information to tell what that event is, what target(s) it's operating on, and the username of the person who triggered the event. Depending on the hook's output or return status, the hook program may continue the action, stop it, or suspend it in some way. Please refer to the chapter on |
1391 |
| 265 | 1315 | These hook scripts are executed by the server that hosts the repository. TortoiseSVN also allows you to configure client side hook scripts that are executed locally upon certain events. See |
1395 |
| 266 | 1319 | Sample hook scripts can be found in the rem Only allow log messages to be changed.\n if \"%4\" == \"svn:log\" exit 0\n echo Property '%4' cannot be changed >&2\n exit 1\n |
1399 |
| 267 | 1323 | Overriding Hooks | 1409 |
| 268 | 1327 | If a hook script rejects your commit then its decision is final. But you can build an override mechanism into the script itself using the You didn't say the magic word:-) |
1413 |
| 269 | 1331 | Checkout Links | 1417 |
| 270 | 1335 | checkout link | 1421 |
| 271 | 1339 | TortoiseSVN link | 1425 |
| 272 | 1343 | link | 1429 |
| 273 | 1347 | website | 1433 |
| 274 | 1351 | If you want to make your Subversion repository available to others you may want to include a link to it from your website. One way to make this more accessible is to include a |
1437 |
| 275 | 1355 | When you install TortoiseSVN, it registers a new |
1441 |
| 276 | 1359 | \n <a href=\"tsvn:http://project.domain.org/svn/trunk\">\n </a>\n |
1445 |
| 277 | 1364 | To include such a link in your own html page, you need to add code which looks something like this: |
1453 |
| 278 | 1368 | \n <a href=\"tsvn:http://project.domain.org/svn/trunk\">\n <img src=TortoiseCheckout.png></a>\n |
1457 |
| 279 | 1373 | Of course it would look even better if you included a suitable picture. You can use the |
1465 |
| 280 | 1377 | \n <a href=\"tsvn:http://project.domain.org/svn/trunk?100\">\n </a>\n |
1469 |
| 281 | 1382 | You can also make the link point to a specific revision, for example |
1477 |
| 282 | 1386 | Accessing the Repository | 1481 |
| 283 | 1390 | To use TortoiseSVN (or any other Subversion client), you need a place where your repositories are located. You can either store your repositories locally and access them using the |
1485 |
| 284 | 1394 | If you are using a public hosting service such as |
1489 |
| 285 | 1398 | If you don't have a server and you work alone, or if you are just evaluating Subversion and TortoiseSVN in isolation, then local repositories are probably your best choice. Just create a repository on your own PC as described earlier in |
1493 |
| 286 | 1402 | If you were thinking about setting up a multi-user repository on a network share, think again. Read |
1497 |
| 287 | 1406 | The next sections are a step-by-step guide on how you can set up such a server on a Windows machine. Of course you can also set up a server on a Linux machine, but that is beyond the scope of this guide. More detailed information on the Subversion server options, and how to choose the best architecture for your situation, can be found in the Subversion book under |
1501 |
| 288 | 1410 | Svnserve Based Server | 1505 |
| 289 | 1419 | Subversion includes Svnserve - a lightweight stand-alone server which uses a custom protocol over an ordinary TCP/IP connection. It is ideal for smaller installations, or where a full blown Apache server cannot be used. | 1514 |
| 290 | 1423 | In most cases svnserve is easier to setup and runs faster than the Apache based server, although it doesn't have some of the advanced features. And now that SASL support is included it is easy to secure as well. | 1518 |
| 291 | 1427 | Installing svnserve | 1522 |
| 292 | 1431 | Get the latest version of Subversion from |
1526 |
| 293 | 1435 | If you already have a version of Subversion installed, and svnserve is running, you will need to stop it before continuing. | 1530 |
| 294 | 1439 | Run the Subversion installer. If you run the installer on your server (recommended) you can skip step 4. | 1534 |
| 295 | 1443 | Open the windows-explorer, go to the installation directory of Subversion (usually |
1538 |
| 296 | 1447 | Running svnserve | 1542 |
| 297 | 1451 | Now that svnserve is installed, you need it running on your server. The simplest approach is to run the following from a DOS shell or create a windows shortcut: svnserve.exe --daemon\n |
1546 |
| 298 | 1455 | If you have not yet created a repository, follow the instructions given with the Apache server setup |
1553 |
| 299 | 1459 | To test that svnserve is working, use |
1557 |
| 300 | 1463 | Assuming your repository is located in svn://localhost/repos/TestRepo\n |
1561 |
| 301 | 1467 | You can also increase security and save time entering URLs with svnserve by using the --root switch to set the root location and restrict access to a specified directory on the server: svnserve.exe --daemon --root drive:\\path\\to\\repository\\root\n svnserve.exe --daemon --root c:\\repos\n svn://localhost/TestRepo\n |
1568 |
| 302 | 1471 | Svnserve will service any number of repositories. Just locate them somewhere below the root folder you just defined, and access them using a URL relative to that root. | 1579 |
| 303 | 1475 | Run svnserve as a Service | 1583 |
| 304 | 1479 | Running svnserve as a user is usually not the best way. It means always having a user logged in on your server, and remembering to restart it after a reboot. A better way is to run svnserve as a windows service. Starting with Subversion 1.4, svnserve can be installed as a native windows service. | 1587 |
| 305 | 1483 | To install svnserve as a native windows service, execute the following command all on one line to create a service which is automatically started when windows starts. sc create svnserve binpath= \"c:\\svnserve\\svnserve.exe --service\n --root c:\\repos\" displayname= \"Subversion\" depend= tcpip\n start= auto\n sc create svnserve binpath= \"\n \\\"C:\\Program Files\\Subversion\\bin\\svnserve.exe\\\"\n --service --root c:\\repos\" displayname= \"Subversion\"\n depend= tcpip start= auto\n sc description svnserve \"Subversion server (svnserve)\"\n |
1591 |
| 306 | 1487 | Note the rather unusual command line format used by |
1607 |
| 307 | 1491 | Microsoft now recommend services to be run as under either the Local Service or Network Service account. Refer to obj= \"NT AUTHORITY\\LocalService\"\n |
1611 |
| 308 | 1495 | Once you have installed the service, you need to go to the services manager to start it (this time only; it will start automatically when the server reboots). | 1618 |
| 309 | 1499 | For more detailed information, refer to |
1622 |
| 310 | 1503 | If you installed an earlier version of svnserve using the svnservice -remove\n |
1626 |
| 311 | 1507 | Basic Authentication with svnserve | 1633 |
| 312 | 1511 | The default svnserve setup provides anonymous read-only access. This means that you can use an |
1637 |
| 313 | 1515 | To enable write access to a repository, you need to edit the |
1641 |
| 314 | 1519 | You can enable anonymous write access by simply setting: [general]\n anon-access = write\n |
1645 |
| 315 | 1523 | One way to overcome this is to create a password database: [general]\n anon-access = none\n auth-access = write\n password-db = userfile\n [users]\n username = password\n ...\n |
1653 |
| 316 | 1527 | If you maintain multiple repositories using the same password database, the use of an authentication realm will make life easier for users, as TortoiseSVN can cache your credentials so that you only have to enter them once. More information can be found in the Subversion book, specifically in the sections |
1667 |
| 317 | 1531 | Better Security with SASL | 1671 |
| 318 | 1539 | What is SASL? | 1679 |
| 319 | 1543 | The Cyrus Simple Authentication and Security Layer is open source software written by Carnegie Mellon University. It adds generic authentication and encryption capabilities to any network protocol, and as of Subversion 1.5 and later, both the svnserve server and TortoiseSVN client know how to make use of this library. | 1683 |
| 320 | 1547 | For a more complete discussion of the options available, you should look at the Subversion book in the section |
1687 |
| 321 | 1551 | SASL Authentication | 1691 |
| 322 | 1555 | To activate specific SASL mechanisms on the server, you'll need to do three things. First, create a use-sasl = true\n |
1695 |
| 323 | 1559 | Second, create a file called |
1702 |
| 324 | 1563 | Thirdly, create two new registry entries to tell SASL where to find things. Create a registry key named |
1706 |
| 325 | 1567 | Edit the pwcheck_method: auxprop\n auxprop_plugin: sasldb\n mech_list: DIGEST-MD5\n sasldb_path: C:\\TortoiseSVN\\sasldb\n |
1710 |
| 326 | 1571 | If svnserve was already running, you will need to restart it to ensure it reads the updated configuration. | 1720 |
| 327 | 1575 | Now that everything is set up, all you need to do is create some users and passwords. To do this you need the saslpasswd2 -c -f C:\\TortoiseSVN\\sasldb -u realm username\n |
1724 |
| 328 | 1579 | You can list the usernames stored in the database using the |
1731 |
| 329 | 1583 | SASL Encryption | 1735 |
| 330 | 1587 | To enable or disable different levels of encryption, you can set two values in your repository's [sasl]\n use-sasl = true\n min-encryption = 128\n max-encryption = 256\n |
1739 |
| 331 | 1591 | The |
1749 |
| 332 | 1595 | Authentication with svn+ssh | 1753 |
| 333 | 1599 | Another way to authenticate users with a svnserve based server is to use a secure shell (SSH) to tunnel requests through. It is not as simple to set up as SASL, but it may be useful is some cases. | 1757 |
| 334 | 1603 | With this approach, svnserve is not run as a daemon process, rather, the secure shell starts svnserve for you, running it as the SSH authenticated user. To enable this, you need a secure shell daemon on your server. | 1761 |
| 335 | 1607 | A basic method for setting up your server is given in SSH. |
1765 |
| 336 | 1611 | Further information about svnserve can be found in the |
1769 |
| 337 | 1615 | Path-based Authorization with svnserve | 1773 |
| 338 | 1619 | Starting with Subversion 1.3, svnserve supports the same [general]\n authz-db = authz\n |
1777 |
| 339 | 1623 | Apache Based Server | 1785 |
| 340 | 1631 | The most flexible of all possible server setups for Subversion is the Apache based one. Although a bit more complicated to set up, it offers benefits that other servers cannot: | 1793 |
| 341 | 1640 | The Apache based Subversion server uses the WebDAV protocol which is supported by many other programs as well. You could e.g. mount such a repository as a Web folderin the Windows explorer and then access it like any other folder in the file system. |
1802 |
| 342 | 1644 | Browsing The Repository | 1806 |
| 343 | 1648 | You can point your browser to the URL of your repository and browse the contents of it without having a Subversion client installed. This gives access to your data to a much wider circle of users. | 1810 |
| 344 | 1653 | Authentication | 1815 |
| 345 | 1657 | You can use any authentication mechanism Apache supports, including SSPI and LDAP. | 1819 |
| 346 | 1661 | Security | 1823 |
| 347 | 1665 | Since Apache is very stable and secure, you automatically get the same security for your repository. This includes SSL encryption. | 1827 |
| 348 | 1669 | Installing Apache | 1831 |
| 349 | 1673 | Please note that Windows XP without the service pack 1 will lead to bogus network data and could therefore corrupt your repository! | 1835 |
| 350 | 1677 | Download the latest version of the Apache web server from |
1839 |
| 351 | 1681 | The msi installer for Apache can be found by clicking on |
1843 |
| 352 | 1685 | Once you have the Apache2 installer you can double click on it and it will guide you through the installation process. Make sure that you enter the server-URL correctly (if you don't have a DNS name for your server just enter the IP-address). I recommend to install Apache |
1847 |
| 353 | 1689 | Now test if the Apache web server is running correctly by pointing your web browser to |
1851 |
| 354 | 1693 | If you decide to install Apache as a service, be warned that by default it will run as the local system account. It would be a more secure practice for you to create a separate account for Apache to run as. | 1855 |
| 355 | 1697 | Make sure that the account on the server that Apache is running as has an explicit entry in the repository directory's access control list (right-click directory | properties | security), with full control. Otherwise, users will not be able to commit their changes. | 1859 |
| 356 | 1701 | Even if Apache runs as local system, you still need such an entry (which will be the SYSTEM account in this case). | 1863 |
| 357 | 1705 | If Apache does not have this permission set up, your users will get Access deniederror messages, which show up in the Apache error log as error 500. |
1867 |
| 358 | 1709 | The first thing you need before installing Apache is a computer with Windows 2000, Windows XP+SP1, Windows 2003, Vista or Server 2008. |
1871 |
| 359 | 1713 | Installing Subversion | 1875 |
| 360 | 1717 | Download the latest version of the Subversion Win32 binaries for Apache. Be sure to get the right version to integrate with your version of Apache, otherwise you will get an obscure error message when you try to restart. If you have Apache 2.2.x go to |
1879 |
| 361 | 1721 | Run the Subversion installer and follow the instructions. If the Subversion installer recognized that you've installed Apache, then you're almost done. If it couldn't find an Apache server then you have to do some additional steps. | 1883 |
| 362 | 1726 | mod_authz_svn | 1888 |
| 363 | 1730 | Using the windows explorer, go to the installation directory of Subversion (usually |
1892 |
| 364 | 1734 | Copy the file |
1896 |
| 365 | 1738 | Edit Apache's configuration file (usually |
1900 |
| 366 | 1742 | Uncomment (remove the ' #LoadModule dav_fs_module modules/mod_dav_fs.so\n #LoadModule dav_module modules/mod_dav.so\n LoadModule dav_svn_module modules/mod_dav_svn.so\n LoadModule authz_svn_module modules/mod_authz_svn.so\n |
1904 |
| 367 | 1746 | Configuration | 1915 |
| 368 | 1750 | At the end of the config file add the following lines: <Location /svn>\n DAV svn\n SVNListParentPath on\n SVNParentPath D:\\SVN\n #SVNIndexXSLT \"/svnindex.xsl\"\n AuthType Basic\n AuthName \"Subversion repositories\"\n AuthUserFile passwd\n #AuthzSVNAccessFile svnaccessfile\n Require valid-user\n </Location>\n |
1919 |
| 369 | 1754 | To create the bin\\htpasswd -c passwd <username>\n bin\\htpasswd passwd <username>\n |
1936 |
| 370 | 1758 | Restart the Apache service again. | 1945 |
| 371 | 1762 | Point your browser to |
1949 |
| 372 | 1766 | Now you have set up Apache and Subversion, but Apache doesn't know how to handle Subversion clients like TortoiseSVN yet. To get Apache to know which URL will be used for Subversion repositories you have to edit the Apache configuration file (usually located in |
1953 |
| 373 | 1780 | Apache |
1967 |
| 374 | 1784 | Setting | 1971 |
| 375 | 1788 | Explanation | 1975 |
| 376 | 1796 | means that the Subversion repositories are available from the URL |
1983 |
| 377 | 1800 | tells Apache which module will be responsible to serve that URL - in this case the Subversion module. | 1987 |
| 378 | 1804 | For Subversion version 1.3 and higher, this directive enables listing all the available repositories under |
1991 |
| 379 | 1812 | tells Subversion to look for repositories below |
1999 |
| 380 | 1816 | Used to make the browsing with a web browser prettier. | 2003 |
| 381 | 1820 | is to activate basic authentication, i.e. Username/password | 2007 |
| 382 | 1824 | is used as an information whenever an authentication dialog pops up to tell the user what the authentication is for | 2011 |
| 383 | 1828 | specifies which password file to use for authentication | 2015 |
| 384 | 1832 | Location of the Access file for paths inside a Subversion repository | 2019 |
| 385 | 1836 | specifies that only users who entered a correct username/password are allowed to access the URL | 2023 |
| 386 | 1840 | If you want your repository to have read access for everyone but write access only for specific users you can change the line Require valid-user\n <LimitExcept GET PROPFIND OPTIONS REPORT>\n Require valid-user\n </LimitExcept>\n |
2027 |
| 387 | 1844 | Using a #AuthzSVNAccessFile svnaccessfile\n |
2038 |
| 388 | 1848 | To make browsing the repository with a web browser 'prettier', uncomment the line #SVNIndexXSLT \"/svnindex.xsl\"\n |
2045 |
| 389 | 1852 | You can get those three files directly from our source repository at |
2052 |
| 390 | 1856 | The XSL file from the TortoiseSVN repository has a nice gimmick: if you browse the repository with your web browser, then every folder in your repository has an icon on the right shown. If you click on that icon, the TortoiseSVN checkout dialog is started for this URL. | 2056 |
| 391 | 1860 | A short explanation of what you just entered: |
2060 |
| 392 | 1864 | Multiple Repositories | 2064 |
| 393 | 1868 | Index of projects | 2068 |
| 394 | 1872 | If you used the |
2072 |
| 395 | 1876 | If you are using Subversion 1.3 or later, you can use the |
2076 |
| 396 | 1880 | Path-Based Authorization | 2080 |
| 397 | 1884 | Authorization | 2084 |
| 398 | 1888 | The |
2088 |
| 399 | 1892 | An example file would look like this: [groups]\n admin = john, kate\n devteam1 = john, rachel, sally\n devteam2 = kate, peter, mark\n docs = bob, jane, mike\n training = zak\n # Default access rule for ALL repositories\n # Everyone can read, admins can write, Dan German is excluded.\n [/]\n * = r\n @admin = rw\n dangerman =\n # Allow developers complete access to their project repos\n [proj1:/]\n @devteam1 = rw\n [proj2:/]\n @devteam2 = rw\n [bigproj:/]\n @devteam1 = rw\n @devteam2 = rw\n trevor = rw\n # Give the doc people write access to all the docs folders\n [/trunk/doc]\n @docs = rw\n # Give trainees write access in the training repository only\n [TrainingRepos:/]\n @training = rw\n |
2092 |
| 400 | 1896 | Note that checking every path can be an expensive operation, particularly in the case of the revision log. The server checks every changed path in each revision and checks it for readability, which can be time-consuming on revisions which affect large numbers of files. | 2125 |
| 401 | 1900 | Authentication and authorization are separate processes. If a user wants to gain access to a repository path, she has to meet |
2129 |
| 402 | 1904 | Authentication With a Windows Domain | 2133 |
| 403 | 1908 | Windows domain | 2137 |
| 404 | 1912 | domaincontroller | 2141 |
| 405 | 1916 | As you might have noticed you need to make a username/password entry in the |
2145 |
| 406 | 1920 | But there's a solution for that problem - at least if you're accessing the repository from inside a LAN with a windows domain controller: |
2149 |
| 407 | 1932 | The original SSPI module was offered by Syneapps including source code. But the development for it has been stopped. But don't despair, the community has picked it up and improved it. It has a new home on |
2161 |
| 408 | 1936 | Download the module which matches your apache version, then copy the file |
2165 |
| 409 | 1940 | Edit the Apache config file: add the line LoadModule sspi_auth_module modules/mod_auth_sspi.so\n LoadModule auth_module modules/mod_auth.so\n |
2169 |
| 410 | 1944 | To make the Subversion location use this type of authentication you have to change the line AuthType Basic\n AuthType SSPI\n SSPIAuth On\n SSPIAuthoritative On\n SSPIDomain <domaincontroller>\n SSPIOmitDomain on\n SSPIUsernameCase lower\n SSPIPerRequestAuth on\n SSPIOfferBasic On\n |
2178 |
| 411 | 1948 | Note that if you are authenticating using SSPI, then you don't need the |
2195 |
| 412 | 1952 | The SSPI authentication is only enabled for SSL secured connections (https). If you're only using normal http connections to your server, it won't work. | 2199 |
| 413 | 1956 | To enable SSL on your server, see the chapter: |
2203 |
| 414 | 1960 | Subversion |
2207 |
| 415 | 1964 | In Microsoft's world, Windows domains and user names are not case sensitive. Even so, some network administrators like to create user accounts in CamelCase (e.g. |
2211 |
| 416 | 1968 | This difference can bite you when using SSPI authentication as the windows domain and user names are passed to Subversion in the same case as the user types them in at the prompt. Internet Explorer often passes the username to Apache automatically using whatever case the account was created with. | 2215 |
| 417 | 1972 | The end result is that you may need at least two entries in your |
2219 |
| 418 | 1976 | Apache's Error and Access logs are your best friend in deciphering problems such as these as they will help you determine the username string passed onto Subversion's |
2223 |
| 419 | 1980 | Multiple Authentication Sources | 2227 |
| 420 | 1984 | Multiple authentication | 2231 |
| 421 | 1988 | It is also possible to have more than one authentication source for your Subversion repository. To do this, you need to make each authentication type non-authoritative, so that Apache will check multiple sources for a matching username/password. | 2235 |
| 422 | 1992 | A common scenario is to use both Windows domain authentication and a |
2239 |
| 423 | 1996 | To enable both Windows domain and AuthBasicAuthoritative Off\n SSPIAuthoritative Off\n |
2243 |
| 424 | 2000 | Here is an example of the full Apache configuration for combined Windows domain and <Location /svn>\n DAV svn\n SVNListParentPath on\n SVNParentPath D:\\SVN\n \n AuthName \"Subversion repositories\"\n AuthzSVNAccessFile svnaccessfile.txt\n \n # NT Domain Logins.\n AuthType SSPI\n SSPIAuth On\n SSPIAuthoritative Off\n SSPIDomain <domaincontroller>\n SSPIOfferBasic On\n \n # Htpasswd Logins.\n AuthType Basic\n AuthBasicAuthoritative Off\n AuthUserFile passwd\n \n Require valid-user\n </Location>\n |
2251 |
| 425 | 2004 | Securing the server with SSL | 2279 |
| 426 | 2012 | Even though Apache 2.2.x has OpenSSL support, it is not activated by default. You need to activate this manually. | 2287 |
| 427 | 2016 | In the apache config file, uncomment the lines: #LoadModule ssl_module modules/mod_ssl.so\n #Include conf/extra/httpd-ssl.conf\n SSLMutex \"file:C:/Program Files/Apache Software Foundation/\\\n Apache2.2/logs/ssl_mutex\"\n SSLMutex default\n |
2291 |
| 428 | 2020 | Next you need to create an SSL certificate. To do that open a command prompt (DOS-Box) and change to the Apache folder (e.g. bin\\openssl req -config conf\\openssl.cnf -new -out my-server.csr\n |
2305 |
| 429 | 2024 | Normally the bin\\openssl genrsa -out conf\\privkey.pem 2048\n |
2312 |
| 430 | 2028 | Next type the commands bin\\openssl rsa -in conf\\privkey.pem -out conf\\server.key\n bin\\openssl req -new -key conf\\server.key -out conf\\server.csr \\\n -config conf\\openssl.cnf\n bin\\openssl x509 -in conf\\server.csr -out conf\\server.cert\n -req -signkey conf\\server.key -days 4000\n bin\\openssl x509 -in conf\\server.cert -out conf\\server.der.crt\n -outform DER\n |
2319 |
| 431 | 2032 | Restart the Apache service. | 2335 |
| 432 | 2036 | Point your browser to |
2339 |
| 433 | 2040 | SSL and Internet Explorer | 2343 |
| 434 | 2044 | If you're securing your server with SSL and use authentication against a windows domain you will encounter that browsing the repository with the Internet Explorer doesn't work anymore. Don't worry - this is only the Internet Explorer not able to authenticate. Other browsers don't have that problem and TortoiseSVN and any other Subversion client are still able to authenticate. | 2347 |
| 435 | 2048 | define a separate |
2351 |
| 436 | 2052 | Offer browsing with unencrypted authentication (without SSL) too. Strangely IE doesn't have any problems with authenticating if the connection is not secured with SSL. | 2355 |
| 437 | 2056 | In the SSL \"standard\" setup there's often the following statement in Apache's virtual SSL host: SetEnvIf User-Agent \".*MSIE.*\" \\\n nokeepalive ssl-unclean-shutdown \\\n downgrade-1.0 force-response-1.0\n |
2359 |
| 438 | 2060 | If you still want to use IE to browse the repository you can either: |
2368 |
| 439 | 2064 | Forcing SSL access | 2372 |
| 440 | 2068 | When you've set up SSL to make your repository more secure, you might want to disable the normal access via non-SSL (http) and only allow https access. To do this, you have to add another directive to the Subversion |
2376 |
| 441 | 2072 | An example <Location /svn>\n DAV svn\n SVNParentPath D:\\SVN\n SSLRequireSSL\n AuthType Basic\n AuthName \"Subversion repositories\"\n AuthUserFile passwd\n #AuthzSVNAccessFile svnaccessfile\n Require valid-user\n </Location>\n |
2380 |
| 442 | 2076 | Using client certificates with virtual SSL hosts | 2396 |
| 443 | 2080 | Sent to the TortoiseSVN mailing list by Nigel Green. Thanks! | 2400 |
| 444 | 2084 | In some server configurations you may need to setup a single server containing 2 virtual SSL hosts: The first one for public web access, with no requirement for a client certificate. The second one to be secure with a required client certificate, running a Subversion server. | 2404 |
| 445 | 2088 | Adding an |
2408 |
| 446 | 2092 | The solution is to add the following directive to the virtual host directory that you want to lock down for Subversion: SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n |
2412 |
| 447 | 2096 | To summarise, the relevant lines of the Apache configuration are: SSLVerifyClient Optional\n \n ### Virtual host configuration for the PUBLIC host\n ### (not requiring a certificate)\n \n <VirtualHost 127.0.0.1:443>\n <Directory \"pathtopublicfileroot\">\n </Directory>\n </VirtualHost>\n \n ### Virtual host configuration for SUBVERSION\n ### (requiring a client certificate)\n <VirtualHost 127.0.0.1:443>\n <Directory \"subversion host root path\">\n SSLRequire %{SSL_CLIENT_VERIFY} eq \"SUCCESS\"\n </Directory>\n \n <Location /svn>\n DAV svn\n SVNParentPath /pathtorepository\n </Location>\n </VirtualHost>\n |
2419 |
| 448 | 2100 | Daily Use Guide | 2447 |
| 449 | 2104 | This document describes day to day usage of the TortoiseSVN client. It is |
2451 |
| 450 | 2108 | If you need an introduction to version control with Subversion, then we recommend you read the fantastic book: |
2455 |
| 451 | 2112 | This document is also a work in progress, just as TortoiseSVN and Subversion are. If you find any mistakes, please report them to the mailing list so we can update the documentation. Some of the screenshots in the Daily Use Guide (DUG) might not reflect the current state of the software. Please forgive us. We're working on TortoiseSVN in our free time. | 2459 |
| 452 | 2116 | You should have installed TortoiseSVN already. | 2463 |
| 453 | 2120 | You should be familiar with version control systems. | 2467 |
| 454 | 2124 | You should know the basics of Subversion. | 2471 |
| 455 | 2128 | You should have set up a server and/or have access to a Subversion repository. | 2475 |
| 456 | 2132 | In order to get the most out of the Daily Use Guide: |
2479 |
| 457 | 2138 | Icon Overlays | 2485 |
| 458 | 2143 | Explorer showing icon overlays | 2490 |
| 459 | 2147 | 2494 | |
| 460 | 2151 | Context Menus | 2498 |
| 461 | 2155 | context menu | 2502 |
| 462 | 2159 | right-click | 2506 |
| 463 | 2163 | Context menu for a directory under version control | 2510 |
| 464 | 2167 | 2514 | |
| 465 | 2171 | Some commands which are very rarely used are only available in the extended context menu. To bring up the extended context menu, hold down the |
2518 |
| 466 | 2175 | Explorer file menu for a shortcut in a versioned folder | 2522 |
| 467 | 2179 | In some cases you may see several TortoiseSVN entries. This is not a bug! |
2526 |
| 468 | 2183 | If you are using Windows 2000 you will find that the context menus are shown as plain text, without the menu icons shown above. We are aware that this was working in previous versions, but Microsoft has changed the way its icon handlers work for Vista, requiring us to use a different display method which unfortunately does not work on Windows 2000. | 2530 |
| 469 | 2188 | Drag and Drop | 2535 |
| 470 | 2192 | drag handler | 2539 |
| 471 | 2196 | drag-n-drop | 2543 |
| 472 | 2200 | right drag | 2547 |
| 473 | 2205 | Right drag menu for a directory under version control | 2552 |
| 474 | 2209 | 2556 | |
| 475 | 2213 | Common Shortcuts | 2560 |
| 476 | 2221 | Help, of course. | 2568 |
| 477 | 2229 | Refresh the current view. This is perhaps the single most useful one-key command. For example ... In Explorer this will refresh the icon overlays on your working copy. In the commit dialog it will re-scan the working copy to see what may need to be committed. In the Revision Log dialog it will contact the repository again to check for more recent changes. | 2576 |
| 478 | 2237 | Select all. This can be used if you get an error message and want to copy and paste into an email. Use Ctrl-A to select the error message and then ... | 2584 |
| 479 | 2245 | ... Copy the selected text. | 2592 |
| 480 | 2249 | Some common operations have well-known Windows shortcuts, but do not appear on buttons or in menus. If you can't work out how to do something obvious, like refreshing a view, check here. |
2596 |
| 481 | 2253 | authentication | 2600 |
| 482 | 2257 | authentication cache | 2604 |
| 483 | 2261 | Authentication Dialog | 2608 |
| 484 | 2265 | 2612 | |
| 485 | 2269 | 2616 | |
| 486 | 2273 | 2620 | |
| 487 | 2277 | If the repository that you are trying to access is password protected, an authentication Dialog will show up. |
2624 |
| 488 | 2281 | If you want to clear the authentication cache for all servers, you can do so from the |
2628 |
| 489 | 2285 | If you want to clear authentication for one realm only then you will have to dig into those directories, find the file which contains the information you want to clear and delete the file. | 2632 |
| 490 | 2289 | Some people like to have the authentication data deleted when they log off Windows, or on shutdown. The way to do that is to use a shutdown script to delete the @echo off\n rmdir /s /q \"%APPDATA%\\Subversion\\auth\"\n |
2636 |
| 491 | 2293 | For more information on how to set up your server for authentication and access control, refer to |
2644 |
| 492 | 2297 | Maximizing Windows | 2648 |
| 493 | 2301 | maximize | 2652 |
| 494 | 2305 | Many of TortoiseSVN's dialogs have a lot of information to display, but it is often useful to maximize only the height, or only the width, rather than maximizing to fill the screen. As a convenience, there are shortcuts for this on the |
2656 |
| 495 | 2309 | Importing Data Into A Repository | 2660 |
| 496 | 2313 | import | 2664 |
| 497 | 2317 | add files to repository | 2668 |
| 498 | 2324 | Import | 2675 |
| 499 | 2328 | temporary files | 2679 |
| 500 | 2332 | If you are importing into an existing repository which already contains some projects, then the repository structure will already have been decided. If you are importing data into a new repository, then it is worth taking the time to think about how it will be organised. Read |
2683 |
| 501 | 2336 | There is no way to select files and folders to include, aside from using the global ignore settings. | 2687 |
| 502 | 2340 | The folder imported does not become a working copy. You have to do a checkout to copy the files back from the server. | 2691 |
| 503 | 2344 | It is easy to import to the wrong folder level in the repository. | 2695 |
| 504 | 2348 | This section describes the Subversion import command, which was designed for importing a directory hierarchy into the repository in one shot. Although it does the job, it has several shortcomings: |
2699 |
| 505 | 2352 | Remove all files which are not needed to build the project (temporary files, files which are generated by a compiler e.g. *.obj, compiled binaries, ...) | 2703 |
| 506 | 2356 | Organize the files in folders and sub-folders. Although it is possible to rename/move files later it is highly recommended to get your project's structure straight before importing! | 2707 |
| 507 | 2360 | Before you import your project into a repository you should: |
2711 |
| 508 | 2364 | Now select the top-level folder of your project directory structure in the windows explorer and |
2715 |
| 509 | 2368 | In this dialog you have to enter the URL of the repository location where you want to import your project. It is very important to realise that the local folder you are importing does not itself appear in the repository, only its content. For example if you have a structure: C:\\Projects\\Widget\\source\n C:\\Projects\\Widget\\doc\n C:\\Projects\\Widget\\images\n |
2719 |
| 510 | 2372 | The import message is used as a log message. | 2728 |
| 511 | 2376 | By default, files and folders which match the global-ignore patterns are |
2732 |
| 512 | 2380 | As soon as you press |
2736 |
| 513 | 2384 | Import in Place | 2740 |
| 514 | 2388 | import in place | 2744 |
| 515 | 2392 | Use the repository browser to create a new project folder directly in the repository. | 2748 |
| 516 | 2396 | Checkout the new folder over the top of the folder you want to import. You will get a warning that the local folder is not empty. Now you have a versioned top level folder with unversioned content. | 2752 |
| 517 | 2400 | Use |
2756 |
| 518 | 2404 | Commit the top level folder, and you have a new versioned tree, and a local working copy, created from your existing folder. | 2760 |
| 519 | 2408 | Assuming you already have a repository, and you want to add a new folder structure to it, just follow these steps: |
2764 |
| 520 | 2412 | Special Files | 2768 |
| 521 | 2416 | special files | 2772 |
| 522 | 2420 | Sometimes you need to have a file under version control which contains user specific data. That means you have a file which every developer/user needs to modify to suit his/her local setup. But versioning such a file is difficult because every user would commit his/her changes every time to the repository. | 2776 |
| 523 | 2424 | In such cases we suggest to use |
2780 |
| 524 | 2428 | As an example, you can have a look at TortoiseSVN's build script. It calls a file named |
2784 |
| 525 | 2432 | So as not to disturb the users, we also added the file |
2788 |
| 526 | 2436 | Checking Out A Working Copy | 2792 |
| 527 | 2440 | checkout | 2796 |
| 528 | 2444 | create working copy | 2800 |
| 529 | 2448 | To obtain a working copy you need to do a |
2804 |
| 530 | 2452 | The Checkout dialog | 2808 |
| 531 | 2456 | Select a directory in windows explorer where you want to place your working copy. |
2812 |
| 532 | 2460 | Checkout Depth | 2816 |
| 533 | 2464 | Fully recursive | 2820 |
| 534 | 2468 | Checkout the entire tree, including all child folders and sub-folders. | 2824 |
| 535 | 2472 | Immediate children, including folders | 2828 |
| 536 | 2476 | Checkout the specified directory, including all files and child folders, but do not populate the child folders. | 2832 |
| 537 | 2480 | Only file children | 2836 |
| 538 | 2484 | Checkout the specified directory, including all files but do not checkout any child folders. | 2840 |
| 539 | 2488 | Only this item | 2844 |
| 540 | 2492 | Checkout the directory only. Do not populate it with files or child folders. | 2848 |
| 541 | 2498 | Working copy | 2854 |
| 542 | 2502 | Retain the depth specified in the working copy. This option is not used in the checkout dialog, but it is the default in all other dialogs which have a depth setting. | 2858 |
| 543 | 2506 | Exclude | 2862 |
| 544 | 2510 | Used to reduce working copy depth after a folder has already been populated. This option is only available in the |
2866 |
| 545 | 2514 | You can choose the |
2870 |
| 546 | 2518 | If you check out a sparse working copy (i.e., by choosing something other than |
2874 |
| 547 | 2522 | In windows explorer, |
|
| 548 | 2526 | In the check for modifications dialog, first click on the button |
2882 |
| 549 | 2530 | This feature is very useful when you only want to checkout parts of a large tree, but you want the convenience of updating a single working copy. Suppose you have a large tree which has sub-folders |
2886 |
| 550 | 2534 | Checkout the parent folder with depth Only this itemYou now have an empty top level folder. |
2890 |
| 551 | 2538 | Select the new folder and use |
2894 |
| 552 | 2542 | Right click on |
2898 |
| 553 | 2546 | Repeat the same process for |
2902 |
| 554 | 2550 | Navigate to |
2906 |
| 555 | 2554 | Changing working copy depth | 2910 |
| 556 | 2558 | Once you have checked out a working copy to a particular depth you can change that depth later to get more or less content using |
2914 |
| 557 | 2562 | Using an older server | 2918 |
| 558 | 2566 | Pre-1.5 servers do not understand the working copy depth request, so they cannot always deal with requests efficiently. The command will still work, but an older server may send all the data, leaving the client to filter out what is not required, which may mean a lot of network traffic. If possible you should upgrade your server to 1.5. | 2922 |
| 559 | 2570 | If the project contains references to external projects which you do |
2926 |
| 560 | 2574 | If |
2930 |
| 561 | 2578 | It is recommended that you check out only the |
2934 |
| 562 | 2582 | Exporting | 2938 |
| 563 | 2586 | Sometimes you may want to create a local copy without any of those |
2942 |
| 564 | 2590 | Committing Your Changes To The Repository | 2946 |
| 565 | 2594 | commit | 2950 |
| 566 | 2598 | send changes | 2954 |
| 567 | 2602 | check in | 2958 |
| 568 | 2606 | Sending the changes you made to your working copy is known as |
2962 |
| 569 | 2610 | The Commit Dialog | 2966 |
| 570 | 2614 | The Commit dialog | 2970 |
| 571 | 2618 | If your working copy is up to date and there are no conflicts, you are ready to commit your changes. Select any file and/or folders you want to commit, then |
2974 |
| 572 | 2622 | The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file. If you want to include an unversioned file, just check that file to add it to the commit. | 2978 |
| 573 | 2627 | Items which have been switched to a different repository path are also indicated using an |
2983 |
| 574 | 2631 | Commit files or folders? | 2987 |
| 575 | 2635 | When you commit files, the commit dialog shows only the files you have selected. When you commit a folder the commit dialog will select the changed files automatically. If you forget about a new file you created, committing the folder will find it anyway. Committing a folder does |
2991 |
| 576 | 2639 | If you have modified files which have been included from a different repository using |
2995 |
| 577 | 2643 | Many unversioned files in the commit dialog | 2999 |
| 578 | 2647 | add the file (or a wildcard extension) to the list of files to exclude on the settings page. This will affect every working copy you have. | 3003 |
| 579 | 2651 | add the file to the |
3007 |
| 580 | 2655 | If you think that the commit dialog shows you too many unversioned (e.g. compiler generated or editor backup) files, there are several ways to handle this. You can: |
3011 |
| 581 | 2659 | 3015 | |
| 582 | 2663 | You can select or deselect items by clicking on the checkbox to the left of the item. For directories you can use |
3019 |
| 583 | 2667 | The columns displayed in the bottom pane are customizable. If you |
3023 |
| 584 | 2671 | By default when you commit changes, any locks that you hold on files are released automatically after the commit succeeds. If you want to keep those locks, make sure the |
3027 |
| 585 | 2675 | You can drag files into the commit dialog from elsewhere, so long as the working copies are checked out from the same repository. For example, you may have a huge working copy with several explorer windows open to look at distant folders of the hierarchy. If you want to avoid committing from the top level folder (with a lengthy folder crawl to check for changes) you can open the commit dialog for one folder and drag in items from the other windows to include within the same atomic commit. | 3031 |
| 586 | 2679 | You can drag unversioned files which reside within a working copy into the commit dialog, and they will be SVN added automatically. | 3035 |
| 587 | 2684 | Repairing External Renames | 3040 |
| 588 | 2689 | Sometimes files get renamed outside of Subversion, and they show up in the file list as a missing file and an unversioned file. To avoid losing the history you need to notify Subversion about the connection. Simply select both the old name (missing) and the new name (unversioned) and use |
3045 |
| 589 | 2694 | Repairing External Copies | 3050 |
| 590 | 2699 | If you made a copy of a file but forgot to use the Subversion command to do so, you can repair that copy so the new file doesn't lose its history. Simply select both the old name (normal or modified) and the new name (unversioned) and use |
3055 |
| 591 | 2704 | Change Lists | 3060 |
| 592 | 2708 | The commit dialog supports Subversion's changelist feature to help with grouping related files together. Find out about this feature in |
3064 |
| 593 | 2712 | Excluding Items from the Commit List | 3068 |
| 594 | 2716 | Sometimes you have versioned files that change frequently but that you really don't want to commit. Sometimes this indicates a flaw in your build process - why are those files versioned? should you be using template files? But occasionally it is inevitable. A classic reason is that your IDE changes a timestamp in the project file every time you build. The project file has to be versioned as it includes all the build settings, but it doesn't need to be committed just because the timestamp changed. | 3072 |
| 595 | 2720 | To help out in awkward cases like this, we have reserved a changelist called |
3076 |
| 596 | 2724 | Commit Log Messages | 3080 |
| 597 | 2728 | Be sure to enter a log message which describes the changes you are committing. This will help you to see what happened and when, as you browse through the project log messages at a later date. The message can be as long or as brief as you like; many projects have guidelines for what should be included, the language to use, and sometimes even a strict format. | 3084 |
| 598 | 2732 | You can apply simple formatting to your log messages using a convention similar to that used within emails. To apply styling to |
3088 |
| 599 | 2736 | The Commit Dialog Spellchecker | 3092 |
| 600 | 2740 | 3096 | |
| 601 | 2744 | The log message window also includes a filename and function auto-completion facility. This uses regular expressions to extract class and function names from the (text) files you are committing, as well as the filenames themselves. If a word you are typing matches anything in the list (after you have typed at least 3 characters, or pressed |
3100 |
| 602 | 2748 | Getting the regex just right can be tricky, so to help you sort out a suitable expression there is a test dialog which allows you to enter an expression and then type in filenames to test it against. Start it from the command prompt using the command |
3104 |
| 603 | 2752 | You can re-use previously entered log messages. Just click on |
3108 |
| 604 | 2756 | You can clear all stored commit messages from the |
3112 |
| 605 | 2760 | If you want to include the checked paths in your log message, you can use the command |
3116 |
| 606 | 2764 | Another way to insert the paths into the log message is to simply drag the files from the file list onto the edit control. | 3120 |
| 607 | 2768 | Special Folder Properties | 3124 |
| 608 | 2772 | There are several special folder properties which can be used to help give more control over the formatting of commit log messages and the language used by the spellchecker module. Read |
3128 |
| 609 | 2776 | Integration with Bug Tracking Tools | 3132 |
| 610 | 2780 | If you have activated the bug tracking system, you can set one or more Issues in the |
3136 |
| 611 | 2784 | Commit Progress | 3140 |
| 612 | 2788 | The Progress dialog showing a commit in progress | 3144 |
| 613 | 2792 | After pressing |
3148 |
| 614 | 2797 | Blue | 3153 |
| 615 | 2801 | Committing a modification. | 3157 |
| 616 | 2807 | Purple | 3163 |
| 617 | 2811 | Committing a new addition. | 3167 |
| 618 | 2817 | Dark red | 3173 |
| 619 | 2821 | Committing a deletion or a replacement. | 3177 |
| 620 | 2827 | Black | 3183 |
| 621 | 2831 | All other items. | 3187 |
| 622 | 2835 | The progress dialog uses colour coding to highlight different commit actions |
3191 |
| 623 | 2841 | This is the default colour scheme, but you can customise those colours using the settings dialog. Read |
3197 |
| 624 | 2845 | Update Your Working Copy With Changes From Others | 3201 |
| 625 | 2850 | update | 3206 |
| 626 | 2854 | fetch changes | 3210 |
| 627 | 2858 | Progress dialog showing finished update | 3214 |
| 628 | 2862 | 3218 | |
| 629 | 2866 | New item added to your WC. | 3222 |
| 630 | 2870 | Redundant item deleted from your WC, or missing item replaced in your WC. | 3226 |
| 631 | 2875 | Green | 3231 |
| 632 | 2879 | Changes from repository successfully merged with your local changes. | 3235 |
| 633 | 2884 | Bright red | 3240 |
| 634 | 2888 | Changes from repository merged with local changes, resulting in conflicts which you need to resolve. | 3244 |
| 635 | 2892 | Unchanged item in your WC updated with newer version from the repository. | 3248 |
| 636 | 2896 | The progress dialog uses colour coding to highlight different update actions |
3252 |
| 637 | 2900 | If you get any |
3256 |
| 638 | 2904 | When the update is complete, the progress dialog shows a summary of the number of items updated, added, removed, conflicted, etc. below the file list. This summary information can be copied to the clipboard using |
3260 |
| 639 | 2908 | The standard Update command has no options and just updates your working copy to the HEAD revision of the repository, which is the most common use case. If you want more control over the update process, you should use |
3264 |
| 640 | 2912 | If you update a file or folder to a specific revision, you should not make changes to those files. You will get out of dateerror messages when you try to commit them! If you want to undo changes to a file and start afresh from an earlier revision, you can rollback to a previous revision from the revision log dialog. Take a look at |
3268 |
| 641 | 2916 | 3272 | |
| 642 | 2920 | If you simply want a local copy of an old version of a file it is better to use the |
3276 |
| 643 | 2924 | Multiple Files/Folders | 3280 |
| 644 | 2928 | If you select multiple files and folders in the explorer and then select |
3284 |
| 645 | 2932 | Local File Already Exists | 3288 |
| 646 | 2936 | Sometimes when you try to update, the update fails with a message to say that there is already a local file of the same name. This typically happens when Subversion tries to checkout a newly versioned file, and finds that an unversioned file of the same name already exists in your working folder. Subversion will never overwrite an unversioned file - it might contain something you are working on, which coincidentally has the same filename as another developer has used for his newly committed file. | 3292 |
| 647 | 2940 | If you get this error message, the solution is simply to rename the local unversioned file. After completing the update, you can check whether the renamed file is still needed. | 3296 |
| 648 | 2944 | If you keep getting error messages, use |
3300 |
| 649 | 2948 | Resolving Conflicts | 3304 |
| 650 | 2952 | tree conflict | 3308 |
| 651 | 2956 | resolve | 3312 |
| 652 | 2960 | file conflicts | 3316 |
| 653 | 2964 | A file conflict occurs if two (or more) developers have changed the same few lines of a file. | 3320 |
| 654 | 2968 | tree conflicts | 3324 |
| 655 | 2972 | A tree conflict occurs when a developer moved/renamed/deleted a file or folder, which another developer either also has moved/renamed/deleted or just modified. | 3328 |
| 656 | 2976 | Once in a while, you will get a |
3332 |
| 657 | 2980 | File Conflicts | 3336 |
| 658 | 2988 | This is your file as it existed in your working copy before you updated your working copy - that is, without conflict markers. This file has your latest changes in it and nothing else. | 3344 |
| 659 | 2996 | This is the file that was the BASE revision before you updated your working copy. That is, it the file that you checked out before you made your latest edits. | 3352 |
| 660 | 3004 | This is the file that your Subversion client just received from the server when you updated your working copy. This file corresponds to the HEAD revision of the repository. | 3360 |
| 661 | 3008 | A file conflict occurs when two or more developers have changed the same few lines of a file. As Subversion knows nothing of your project, it leaves resolving the conflicts to the developers. Whenever a conflict is reported, you should open the file in question, and search for lines starting with the string <<<<<<< filename\n your changes\n =======\n code merged from repository\n >>>>>>> revision\n |
3364 |
| 662 | 3012 | You can either launch an external merge tool / conflict editor with |
3375 |
| 663 | 3016 | Afterwards execute the command |
3379 |
| 664 | 3020 | If you have conflicts with binary files, Subversion does not attempt to merge the files itself. The local file remains unchanged (exactly as you last changed it) and you have |
3383 |
| 665 | 3024 | You can use the Resolved command for multiple files if you right click on the parent folder and select |
3387 |
| 666 | 3028 | Tree Conflicts | 3391 |
| 667 | 3032 | A tree conflict occurs when a developer moved/renamed/deleted a file or folder, which another developer either also has moved/renamed/deleted or just modified. There are many different situations that can result in a tree conflict, and all of them require different steps to resolve the conflict. | 3395 |
| 668 | 3036 | When a file is deleted locally in Subversion, the file is also deleted from the local file system, so even if it is part of a tree conflict it cannot show a conflicted overlay and you cannot right click on it to resolve the conflict. Use the |
3399 |
| 669 | 3040 | TortoiseSVN can help find the right place to merge changes, but there may be additional work required to sort out the conflicts. Remember that after an update the working BASE will always contain the revision of each item as it was in the repository at the time of update. If you revert a change after updating it goes back to the repository state, not to the way it was when you started making your own local changes. | 3403 |
| 670 | 3044 | Local delete, incoming edit upon update | 3407 |
| 671 | 3048 | Developer A modifies |
3411 |
| 672 | 3052 | Developer B has simultaneously moved |
3415 |
| 673 | 3056 | 3419 | |
| 674 | 3060 | If the conflict results from a rename rather than a delete then |
3423 |
| 675 | 3065 | An update of developer B's working copy results in a tree conflict: |
3428 |
| 676 | 3069 | Developer B now has to choose whether to keep Developer A's changes. In the case of a file rename, he can merge the changes to |
3432 |
| 677 | 3073 | The conflict edit dialog offers to merge changes if it can find the original file of the renamed |
3436 |
| 678 | 3077 | Local edit, incoming delete upon update | 3440 |
| 679 | 3081 | Developer A moves |
3444 |
| 680 | 3086 | Developer B modifies |
3449 |
| 681 | 3090 | Or in the case of a folder move ... | 3453 |
| 682 | 3094 | Developer A moves parent folder |
3457 |
| 683 | 3098 | 3461 | |
| 684 | 3102 | 3465 | |
| 685 | 3106 | An update of developer B's working copy results in a tree conflict. For a simple file conflict: |
3469 |
| 686 | 3110 | 3473 | |
| 687 | 3114 | 3477 | |
| 688 | 3118 | 3481 | |
| 689 | 3122 | For a folder conflict: |
3485 |
| 690 | 3127 | Developer B now has to decide whether to go with developer A's reorganisation and merge her changes into the corresponding file in the new structure, or simply revert A's changes and keep the local file. | 3490 |
| 691 | 3131 | To merge her local changes with the reshuffle, Developer B must first find out to what filename the conflicted file |
3494 |
| 692 | 3135 | If Developer B decides that A's changes were wrong then she must choose the |
3498 |
| 693 | 3139 | Local delete, incoming delete upon update | 3502 |
| 694 | 3143 | Developer A moves |
3506 |
| 695 | 3147 | Developer B moves |
3510 |
| 696 | 3151 | 3514 | |
| 697 | 3155 | 3518 | |
| 698 | 3159 | 3522 | |
| 699 | 3163 | To resolve this conflict, Developer B has to find out to what filename the conflicted file |
3526 |
| 700 | 3168 | Then developer B has to decide which new filename of |
3531 |
| 701 | 3173 | After developer B has manually resolved the conflict, the tree conflict has to be marked as resolved with the button in the conflict editor dialog. | 3536 |
| 702 | 3177 | Local missing, incoming edit upon merge | 3540 |
| 703 | 3181 | Developer A working on trunk modifies |
3544 |
| 704 | 3185 | Developer B working on a branch moves |
3548 |
| 705 | 3189 | 3552 | |
| 706 | 3193 | 3556 | |
| 707 | 3199 | A merge of developer A's trunk changes to developer B's branch working copy results in a tree conflict: |
3562 |
| 708 | 3203 | To resolve this conflict, Developer B has to mark the file as resolved in the conflict editor dialog, which will remove it from the conflict list. She then has to decide whether to copy the missing file |
3566 |
| 709 | 3207 | Note that if you copy the missing file from the repository and then mark as resolved, your copy will be removed again. You have to resolve the conflict first. | 3570 |
| 710 | 3211 | Local edit, incoming delete upon merge | 3574 |
| 711 | 3216 | Developer A working on trunk moves |
3579 |
| 712 | 3220 | Developer B working on a branch modifies |
3583 |
| 713 | 3224 | There is an equivalent case for folder moves, but it is not yet detected in Subversion 1.6 ... | 3587 |
| 714 | 3228 | Developer A working on trunk moves parent folder |
3591 |
| 715 | 3232 | Developer B working on a branch modifies |
3595 |
| 716 | 3236 | 3599 | |
| 717 | 3240 | 3603 | |
| 718 | 3244 | To merge her local changes with the reshuffle, Developer B must first find out to what filename the conflicted file |
3607 |
| 719 | 3248 | If Developer B decides that A's changes were wrong then she must choose the |
3611 |
| 720 | 3252 | Local delete, incoming delete upon merge | 3615 |
| 721 | 3256 | Developer B working on a branch moves |
3619 |
| 722 | 3260 | 3623 | |
| 723 | 3264 | 3627 | |
| 724 | 3268 | 3631 | |
| 725 | 3272 | To resolve this conflict, Developer B has to find out to what filename the conflicted file |
3635 |
| 726 | 3276 | Other tree conflicts | 3639 |
| 727 | 3280 | There are other cases which are labelled as tree conflicts simply because the conflict involves a folder rather than a file. For example if you add a folder with the same name to both trunk and branch and then try to merge you will get a tree conflict. If you want to keep the folder from the merge target, just mark the conflict as resolved. If you want to use the one in the merge source then you need to SVN delete the one in the target first and run the merge again. If you need anything more complicated then you have to resolve manually. | 3643 |
| 728 | 3284 | Getting Status Information | 3647 |
| 729 | 3289 | status | 3652 |
| 730 | 3293 | view changes | 3656 |
| 731 | 3297 | working copy status | 3660 |
| 732 | 3301 | While you are working on your working copy you often need to know which files you have changed/added/removed or renamed, or even which files got changed and committed by others. | 3664 |
| 733 | 3306 | overlays | 3669 |
| 734 | 3310 | icons | 3673 |
| 735 | 3314 | Now that you have checked out a working copy from a Subversion repository you can see your files in the windows explorer with changed icons. This is one of the reasons why TortoiseSVN is so popular. TortoiseSVN adds a so called overlay icon to each file icon which overlaps the original file icon. Depending on the Subversion status of the file the overlay icon is different. | 3677 |
| 736 | 3318 | 3681 | |
| 737 | 3322 | 3685 | |
| 738 | 3326 | 3689 | |
| 739 | 3330 | 3693 | |
| 740 | 3334 | 3697 | |
| 741 | 3338 | 3701 | |
| 742 | 3342 | 3705 | |
| 743 | 3346 | 3709 | |
| 744 | 3350 | 3713 | |
| 745 | 3354 | In fact, you may find that not all of these icons are used on your system. This is because the number of overlays allowed by Windows is very limited and if you are also using an old version of TortoiseCVS, then there are not enough overlay slots available. TortoiseSVN tries to be a Good Citizen (TM)and limits its use of overlays to give other apps a chance too. |
3717 |
| 746 | 3358 | Now that there are more Tortoise clients around (TortoiseCVS, TortoiseHG, ...) the icon limit becomes a real problem. To work around this, the TortoiseSVN project introduced a common shared icon set, loaded as a DLL, which can be used by all Tortoise clients. Check with your client provider to see if this has been integrated yet :-) | 3721 |
| 747 | 3362 | For a description of how icon overlays correspond to Subversion status and other technical details, read |
3725 |
| 748 | 3366 | TortoiseSVN Columns In Windows Explorer | 3729 |
| 749 | 3370 | Explorer Columns | 3733 |
| 750 | 3374 | The same information which is available from the icon overlays (and much more) can be displayed as additional columns in Windows Explorer's Details View. | 3737 |
| 751 | 3378 | Simply right click on one of the headings of a column, choose Detailed View. Scroll down until the entries starting with SVN come into view. Check the ones you would like to have displayed and close the dialog by pressing |
3741 |
| 752 | 3382 | The additional columns in the Windows Explorer are not available on Vista, since Microsoft decided to not allow such columns for |
3745 |
| 753 | 3386 | If you want the current layout to be displayed in all your working copies, you may want to make this the default view. | 3749 |
| 754 | 3390 | Local and Remote Status | 3753 |
| 755 | 3394 | modifications | 3757 |
| 756 | 3399 | Check for Modifications | 3762 |
| 757 | 3403 | 3766 | |
| 758 | 3407 | If you click on the |
3770 |
| 759 | 3411 | Locally modified items. | 3774 |
| 760 | 3415 | Added items. Items which have been added with history have a |
3778 |
| 761 | 3419 | Deleted or missing items. | 3782 |
| 762 | 3423 | Items modified locally and in the repository. The changes will be merged on update. These |
3786 |
| 763 | 3427 | Items modified locally and deleted in repository, or modified in repository and deleted locally. These |
3790 |
| 764 | 3431 | Unchanged and unversioned items. | 3794 |
| 765 | 3435 | The dialog uses colour coding to highlight the status. |
3798 |
| 766 | 3439 | From the context menu of the dialog you can show a diff of the changes. Check the local changes |
3802 |
| 767 | 3443 | You can also revert changes in individual files. If you have deleted a file accidentally, it will show up as |
3806 |
| 768 | 3447 | Unversioned and ignored files can be sent to the recycle bin from here using |
3810 |
| 769 | 3451 | If you want to examine a file in detail, you can drag it from here into another application such as a text editor or IDE. | 3814 |
| 770 | 3455 | The columns are customizable. If you |
3818 |
| 771 | 3459 | If you are working on several unrelated tasks at once, you can also group files together into changelists. Read |
3822 |
| 772 | 3463 | At the bottom of the dialog you can see a summary of the range of repository revisions in use in your working copy. These are the |
3826 |
| 773 | 3467 | If you want a flat view of your working copy, i.e. showing all files and folders at every level of the folder hierarchy, then the |
3830 |
| 774 | 3471 | Viewing Diffs | 3834 |
| 775 | 3475 | diffing | 3838 |
| 776 | 3479 | Often you want to look inside your files, to have a look at what you've changed. You can accomplish this by selecting a file which has changed, and selecting |
3842 |
| 777 | 3483 | Even when not inside a working copy or when you have multiple versions of the file lying around, you can still display diffs: | 3846 |
| 778 | 3487 | Select the two files you want to compare in explorer (e.g. using |
3850 |
| 779 | 3491 | changelist | 3854 |
| 780 | 3495 | In an ideal world, you only ever work on one thing at a time, and your working copy contains only one set of logical changes. OK, back to reality. It often happens that you have to work on several unrelated tasks at once, and when you look in the commit dialog, all the changes are mixed in together. The |
3858 |
| 781 | 3499 | The changelist feature in TortoiseSVN is only available in Windows XP and later, as it depends on a shell capability which is not present in Windows 2000. Sorry, but Win2K is really quite old now, so please don't complain. | 3862 |
| 782 | 3503 | You can see changelists in several places, but the most important ones are the commit dialog and the check-for-modifications dialog. Let's start in the check-for-modifications dialog after you have worked on several features and many files. When you first open the dialog, all the changed files are listed together. Suppose you now want to organise things and group those files according to feature. | 3866 |
| 783 | 3507 | Select one or more files and use |
3870 |
| 784 | 3511 | Once you have created a changelist you can drag and drop items into it, either from another changelist, or from Windows Explorer. Dragging from Explorer can be useful as it allows you to add items to a changelist before the file is modified. You could do that from the check-for-modifications dialog, but only by displaying all unmodified files. | 3874 |
| 785 | 3515 | Commit dialog with Changelists | 3878 |
| 786 | 3519 | 3882 | |
| 787 | 3523 | On XP, there is a context menu when you right click on a group heading which gives you the choice to check or uncheck all group entries. On Vista however the context menu is not necessary. Click on the group header to select all entries, then check one of the selected entries to check all. | 3886 |
| 788 | 3527 | TortoiseSVN reserves one changelist name for its own use, namely |
3890 |
| 789 | 3531 | When you commit files belonging to a changelist then normally you would expect that the changelist membership is no longer needed. So by default, files are removed from changelists automatically on commit. If you wish to retain the file in its changelist, use the |
3894 |
| 790 | 3535 | Changelists are purely a local client feature. Creating and removing changelists will not affect the repository, nor anyone else's working copy. They are simply a convenient way for you to organise your files. | 3898 |
| 791 | 3539 | Revision Log Dialog | 3902 |
| 792 | 3543 | log | 3906 |
| 793 | 3547 | history | 3910 |
| 794 | 3551 | commit messages | 3914 |
| 795 | 3555 | log messages | 3918 |
| 796 | 3559 | For every change you make and commit, you should provide a log message for that change. That way you can later find out what changes you made and why, and you have a detailed log for your development process. | 3922 |
| 797 | 3563 | The top pane shows a list of revisions where changes to the file/folder have been committed. This summary includes the date and time, the person who committed the revision and the start of the log message. | 3926 |
| 798 | 3567 | Lines shown in blue indicate that something has been copied to this development line (perhaps from a branch). | 3930 |
| 799 | 3571 | The middle pane shows the full log message for the selected revision. | 3934 |
| 800 | 3575 | The bottom pane shows a list of all files and folders that were changed as part of the selected revision. | 3938 |
| 801 | 3579 | The Revision Log Dialog retrieves all those log messages and shows them to you. The display is divided into 3 panes. |
3942 |
| 802 | 3583 | Invoking the Revision Log Dialog | 3946 |
| 803 | 3587 | The Revision Log Dialog | 3950 |
| 804 | 3591 | From the TortoiseSVN context submenu | 3954 |
| 805 | 3595 | From the property page | 3958 |
| 806 | 3599 | From the Progress dialog after an update has finished. Then the Log dialog only shows those revisions which were changed since your last update | 3962 |
| 807 | 3603 | 3966 | |
| 808 | 3607 | If the repository is unavailable you will see the |
3970 |
| 809 | 3611 | Revision Log Actions | 3974 |
| 810 | 3615 | The top pane has an |
3978 |
| 811 | 3619 | 3982 | |
| 812 | 3623 | 3986 | |
| 813 | 3627 | 3990 | |
| 814 | 3631 | 3994 | |
| 815 | 3635 | Getting Additional Information | 3998 |
| 816 | 3639 | The Revision Log Dialog Top Pane with Context Menu | 4002 |
| 817 | 3643 | Compare with working copy | 4006 |
| 818 | 3647 | Compare the selected revision with your working copy. The default Diff-Tool is TortoiseMerge which is supplied with TortoiseSVN. If the log dialog is for a folder, this will show you a list of changed files, and allow you to review the changes made to each file individually. | 4010 |
| 819 | 3651 | Compare and blame with working BASE | 4014 |
| 820 | 3655 | Blame the selected revision, and the file in your working BASE and compare the blame reports using a visual diff tool. Read |
4018 |
| 821 | 3659 | Show changes as unified diff | 4022 |
| 822 | 3663 | View the changes made in the selected revision as a Unified-Diff file (GNU patch format). This shows only the differences with a few lines of context. It is harder to read than a visual file compare, but will show all file changes together in a compact format. | 4026 |
| 823 | 3667 | Compare with previous revision | 4030 |
| 824 | 3671 | Compare the selected revision with the previous revision. This works in a similar manner to comparing with your working copy. For folders this option will first show the changed files dialog allowing you to select files to compare. | 4034 |
| 825 | 3675 | Compare and blame with previous revision | 4038 |
| 826 | 3679 | Show the changed files dialog allowing you to select files. Blame the selected revision, and the previous revision, and compare the results using a visual diff tool. (folders only). | 4042 |
| 827 | 3684 | Save revision to... | 4047 |
| 828 | 3688 | Save the selected revision to a file so you have an older version of that file. (files only). | 4051 |
| 829 | 3693 | Open / Open with... | 4056 |
| 830 | 3697 | Open the selected file, either with the default viewer for that file type, or with a program you choose. (files only). | 4060 |
| 831 | 3702 | Blame... | 4065 |
| 832 | 3706 | Blame the file up to the selected revision. (files only). | 4069 |
| 833 | 3710 | Browse repository | 4073 |
| 834 | 3714 | Open the repository browser to examine the selected file or folder in the repository as it was at the selected revision. | 4077 |
| 835 | 3718 | Create branch/tag from revision | 4081 |
| 836 | 3722 | Create a branch or tag from a selected revision. This is useful e.g. if you forgot to create a tag and already committed some changes which weren't supposed to get into that release. | 4085 |
| 837 | 3726 | Update item to revision | 4089 |
| 838 | 3730 | Update your working copy to the selected revision. Useful if you want to have your working copy reflect a time in the past, or if there have been further commits to the repository and you want to update your working copy one step at a time. It is best to update a whole directory in your working copy, not just one file, otherwise your working copy could be inconsistent. | 4093 |
| 839 | 3734 | If you want to undo an earlier change permanently, use |
4097 |
| 840 | 3738 | Revert to this revision | 4101 |
| 841 | 3742 | Revert to an earlier revision. If you have made several changes, and then decide that you really want to go back to how things were in revision N, this is the command you need. The changes are undone in your working copy so this operation does |
4105 |
| 842 | 3747 | If your working copy is in an unmodified state, after you perform this action your working copy will show as modified. If you already have local changes, this command will merge the |
4110 |
| 843 | 3751 | What is happening internally is that Subversion performs a reverse merge of all the changes made after the selected revision, undoing the effect of those previous commits. | 4114 |
| 844 | 3755 | If after performing this action you decide that you want to |
4118 |
| 845 | 3759 | If you simply want to see what a file or folder looked like at an earlier revision, use |
4122 |
| 846 | 3764 | Revert changes from this revision | 4127 |
| 847 | 3768 | Undo changes from which were made in the selected revision. The changes are undone in your working copy so this operation does |
4131 |
| 848 | 3772 | What is happening internally is that Subversion performs a reverse merge of that one revision, undoing its effect from a previous commit. | 4135 |
| 849 | 3776 | You can |
4139 |
| 850 | 3780 | Merge revision to... | 4143 |
| 851 | 3784 | Merge the selected revision(s) into a different working copy. A folder selection dialog allows you to choose the working copy to merge into, but after that there is no confirmation dialog, nor any opportunity to try a test merge. It is a good idea to merge into an unmodified working copy so that you can revert the changes if it doesn't work out! This is a useful feature if you want to merge selected revisions from one branch to another. | 4147 |
| 852 | 3788 | Checkout... | 4151 |
| 853 | 3792 | Make a fresh checkout of the selected folder at the selected revision. This brings up a dialog for you to confirm the URL and revision, and select a location for the checkout. | 4155 |
| 854 | 3796 | Export... | 4159 |
| 855 | 3800 | Export the selected file/folder at the selected revision. This brings up a dialog for you to confirm the URL and revision, and select a location for the export. | 4163 |
| 856 | 3804 | Edit author / log message | 4167 |
| 857 | 3808 | Edit the log message or author attached to a previous commit. Read |
4171 |
| 858 | 3812 | Show revision properties | 4175 |
| 859 | 3816 | View and edit any revision property, not just log message and author. Refer to |
4179 |
| 860 | 3821 | Copy to clipboard | 4184 |
| 861 | 3825 | Copy the log details of the selected revisions to the clipboard. This will copy the revision number, author, date, log message and the list of changed items for each revision. | 4188 |
| 862 | 3830 | Search log messages... | 4193 |
| 863 | 3834 | Search log messages for the text you enter. This searches the log messages that you entered and also the action summaries created by Subversion (shown in the bottom pane). The search is not case sensitive. | 4197 |
| 864 | 3838 | 4201 | |
| 865 | 3842 | Top Pane Context Menu for 2 Selected Revisions | 4205 |
| 866 | 3846 | Compare revisions | 4209 |
| 867 | 3850 | Compare the two selected revisions using a visual difference tool. The default Diff-Tool is TortoiseMerge which is supplied with TortoiseSVN. | 4213 |
| 868 | 3854 | If you select this option for a folder, a further dialog pops up listing the changed files and offering you further diff options. Read more about the Compare Revisions dialog in |
4217 |
| 869 | 3858 | Blame revisions | 4221 |
| 870 | 3862 | Blame the two revisions and compare the blame reports using a visual difference tool. Read |
4225 |
| 871 | 3866 | Show differences as unified diff | 4229 |
| 872 | 3870 | View the differences between the two selected revisions as a Unified-Diff file. This works for files and folders. | 4233 |
| 873 | 3874 | Copy log messages to clipboard as described above. | 4237 |
| 874 | 3878 | Search log messages as described above. | 4241 |
| 875 | 3882 | 4245 | |
| 876 | 3886 | If you select two or more revisions (using the usual |
4249 |
| 877 | 3890 | You can also choose to merge the selected revisions to another working copy, as described above. | 4253 |
| 878 | 3894 | If all selected revisions have the same author, you can edit the author of all those revisions in one go. | 4257 |
| 879 | 3898 | The Log Dialog Bottom Pane with Context Menu | 4261 |
| 880 | 3902 | Show changes | 4265 |
| 881 | 3906 | Show changes made in the selected revision for the selected file. | 4269 |
| 882 | 3910 | Blame changes | 4273 |
| 883 | 3914 | Blame the selected revision and the previous revision for the selected file, and compare the blame reports using a visual diff tool. Read |
4277 |
| 884 | 3918 | Show as unified diff | 4281 |
| 885 | 3922 | Show file changes in unified diff format. This context menu is only available for files shown as |
4285 |
| 886 | 3927 | Open the selected file, either with the default viewer for that file type, or with a program you choose. | 4290 |
| 887 | 3931 | Opens the Blame dialog, allowing you to blame up to the selected revision. | 4294 |
| 888 | 3935 | Revert the changes made to the selected file in that revision. | 4298 |
| 889 | 3939 | Show properties | 4302 |
| 890 | 3943 | View the Subversion properties for the selected item. | 4306 |
| 891 | 3947 | Show log | 4310 |
| 892 | 3951 | Show the revision log for the selected single file. | 4314 |
| 893 | 3955 | Get merge logs | 4318 |
| 894 | 3959 | Show the revision log for the selected single file, including merged changes. Find out more in |
4322 |
| 895 | 3963 | Save the selected revision to a file so you have an older version of that file. | 4326 |
| 896 | 3967 | 4330 | |
| 897 | 3971 | You may notice that sometimes we refer to changes and other times to differences. What's the difference? | 4334 |
| 898 | 3975 | Subversion uses revision numbers to mean 2 different things. A revision generally represents the state of the repository at a point in time, but it can also be used to represent the changeset which created that revision, eg. Done in r1234means that the changes committed in r1234 implement feature X. To make it clearer which sense is being used, we use two different terms. |
4338 |
| 899 | 3979 | If you select two revisions N and M, the context menu will offer to show the |
4342 |
| 900 | 3983 | If you select a single revision N, the context menu will offer to show the |
4346 |
| 901 | 3987 | The bottom pane shows the files changed in all selected revisions, so the context menu always offers to show |
4350 |
| 902 | 3991 | Getting more log messages | 4354 |
| 903 | 3995 | For a large repository there may be hundreds or even thousands of changes and fetching them all could take a long time. Normally you are only interested in the more recent changes. By default, the number of log messages fetched is limited to 100, but you can change this value in |
4358 |
| 904 | 3999 | When the |
4362 |
| 905 | 4003 | Normally you will want to leave this option unchecked. TortoiseSVN remembers the state of the checkbox, so it will respect your preference. | 4366 |
| 906 | 4007 | When the Show Log dialog is invoked from within the Merge dialog, the box is always checked by default. This is because merging is most often looking at changes on branches, and going back beyond the root of the branch does not make sense in that instance. | 4370 |
| 907 | 4011 | Note that Subversion currently implements renaming as a copy/delete pair, so renaming a file or folder will also cause the log display to stop if this option is checked. | 4374 |
| 908 | 4015 | The Log dialog does not always show all changes ever made for a number of reasons: |
4378 |
| 909 | 4019 | If you want to see more log messages, click the |
4382 |
| 910 | 4023 | Next to this button there is a multi-function button which remembers the last option you used it for. Click on the arrow to see the other options offered. | 4386 |
| 911 | 4027 | Use |
4390 |
| 912 | 4031 | Use |
4394 |
| 913 | 4035 | Current Working Copy Revision | 4398 |
| 914 | 4039 | Because the log dialog shows you the log from HEAD, not from the current working copy revision, it often happens that there are log messages shown for content which has not yet been updated in your working copy. To help make this clearer, the commit message which corresponds to the revision you have in your working copy is shown in bold. | 4402 |
| 915 | 4043 | When you show the log for a folder the revision highlighted is the highest revision found anywhere within that folder, which requires a crawl of the working copy. The crawl takes place within a separate thread so as not to delay showing the log, but as a result highlighting for folders may not appear immediately. | 4406 |
| 916 | 4047 | Merge Tracking Features | 4410 |
| 917 | 4051 | merge tracking log | 4414 |
| 918 | 4055 | Subversion 1.5 and later keeps a record of merges using properties. This allows us to get a more detailed history of merged changes. For example, if you develop a new feature on a branch and then merge that branch back to trunk, the feature development will show up on the trunk log as a single commit for the merge, even though there may have been 1000 commits during branch development. | 4418 |
| 919 | 4059 | The Log Dialog Showing Merge Tracking Revisions | 4422 |
| 920 | 4063 | If you want to see the detail of which revisions were merged as part of that commit, use the |
4426 |
| 921 | 4067 | Of course, merging is never simple! During feature development on the branch there will probably be occasional merges back from trunk to keep the branch in sync with the main line code. So the merge history of the branch will also include another layer of merge history. These different layers are shown in the log dialog using indentation levels. | 4430 |
| 922 | 4071 | Changing the Log Message and Author | 4434 |
| 923 | 4075 | edit log/author | 4438 |
| 924 | 4079 | revision properties | 4442 |
| 925 | 4083 | revprops | 4446 |
| 926 | 4087 | Revision properties are completely different from the Subversion properties of each item. Revprops are descriptive items which are associated with one specific revision number in the repository, such as log message, commit date and committer name (author). | 4450 |
| 927 | 4091 | Sometimes you might want to change a log message you once entered, maybe because there's a spelling error in it or you want to improve the message or change it for other reasons. Or you want to change the author of the commit because you forgot to set up authentication or... | 4454 |
| 928 | 4095 | Subversion lets you change revision properties any time you want. But since such changes can't be undone (those changes are not versioned) this feature is disabled by default. To make this work, you must set up a pre-revprop-change hook. Please refer to the chapter on |
4458 |
| 929 | 4099 | Once you've set up your server with the required hooks, you can change the author and log message (or any other revprop) of any revision, using the context menu from the top pane of the Log dialog. You can also edit a log message using the context menu for the middle pane. | 4462 |
| 930 | 4103 | Because Subversion's revision properties are not versioned, making modifications to such a property (for example, the |
4466 |
| 931 | 4107 | Filtering Log Messages | 4470 |
| 932 | 4111 | filter | 4474 |
| 933 | 4115 | If you want to restrict the log messages to show only those you are interested in rather than scrolling through a list of hundreds, you can use the filter controls at the top of the Log Dialog. The start and end date controls allow you to restrict the output to a known date range. The search box allows you to show only messages which contain a particular phrase. | 4478 |
| 934 | 4119 | Click on the search icon to select which information you want to search in, and to choose |
4482 |
| 935 | 4123 | Simple sub-string search works in a manner similar to a search engine. Strings to search for are separated by spaces, and all strings must match. You can use a leading Alice Bob -Eve\n !Alice Bob\n !-Alice -Bob\n \"Alice and Bob\"\n Alice and Bob \"\"\n \"Alice says \"\"hi\"\" to Bob\"\n Alice says \"hi\" to Bob |
4486 |
| 936 | 4127 | Describing the use of regular expression searches is beyond the scope of this manual, but you can find online documentation and a tutorial at |
4503 |
| 937 | 4131 | Note that these filters act on the messages already retrieved. They do not control downloading of messages from the repository. | 4507 |
| 938 | 4135 | You can also filter the path names in the bottom pane using the |
4511 |
| 939 | 4139 | Sometimes your working practices will require log messages to follow a particular format, which means that the text describing the changes is not visible in the abbreviated summary shown in the top pane. The property |
4515 |
| 940 | 4143 | No Log Formatting from Repository Browser | 4519 |
| 941 | 4147 | Because the formatting depends upon accessing subversion properties, you will only see the results when using a checked out working copy. Fetching properties remotely is a slow operation, so you will not see this feature in action from the repo browser. | 4523 |
| 942 | 4151 | Statistical Information | 4527 |
| 943 | 4155 | statistics | 4531 |
| 944 | 4159 | The |
4535 |
| 945 | 4163 | Statistics Page | 4539 |
| 946 | 4167 | This page gives you all the numbers you can think of, in particular the period and number of revisions covered, and some min/max/average values. | 4543 |
| 947 | 4171 | Commits by Author Page | 4547 |
| 948 | 4175 | Commits-by-Author Histogram | 4551 |
| 949 | 4179 | Commits-by-Author Pie Chart | 4555 |
| 950 | 4183 | 4559 | |
| 951 | 4187 | Where there are a few major authors and many minor contributors, the number of tiny segments can make the graph more difficult to read. The slider at the bottom allows you to set a threshold (as a percentage of total commits) below which any activity is grouped into an |
4563 |
| 952 | 4191 | Commits by date Page | 4567 |
| 953 | 4195 | Commits-by-date Graph | 4571 |
| 954 | 4199 | 4575 | |
| 955 | 4203 | When there are several authors, you will get many lines on the graph. There are two views available here: |
4579 |
| 956 | 4207 | By default the analysis is case-sensitive, so users |
4583 |
| 957 | 4211 | Note that the statistics cover the same period as the Log dialog. If that is only displaying one revision then the statistics will not tell you very much. | 4587 |
| 958 | 4215 | Offline Mode | 4591 |
| 959 | 4219 | Go Offline Dialog | 4595 |
| 960 | 4223 | 4599 | |
| 961 | 4227 | Offline for now | 4603 |
| 962 | 4231 | Complete the current operation in offline mode, but retry the repository next time log data is requested. | 4607 |
| 963 | 4235 | Permanently offline | 4611 |
| 964 | 4239 | Remain in offline mode until a repository check is specifically requested. See |
4615 |
| 965 | 4243 | Cancel | 4619 |
| 966 | 4247 | If you don't want to continue the operation with possibly stale data, just cancel. | 4623 |
| 967 | 4251 | Here you have three options: |
4627 |
| 968 | 4255 | The |
4631 |
| 969 | 4260 | Refreshing the View | 4636 |
| 970 | 4264 | If you want to check the server again for newer log messages, you can simply refresh the view using |
4640 |
| 971 | 4268 | If you are using the log cache and you think the message content or author may have changed, you can use |
4644 |
| 972 | 4272 | Viewing Differences | 4648 |
| 973 | 4277 | diff | 4653 |
| 974 | 4281 | compare | 4657 |
| 975 | 4285 | One of the commonest requirements in project development is to see what has changed. You might want to look at the differences between two revisions of the same file, or the differences between two separate files. TortoiseSVN provides a built-in tool named |
4661 |
| 976 | 4289 | File Differences | 4665 |
| 977 | 4293 | Local changes | 4669 |
| 978 | 4297 | If you want to see what changes |
4673 |
| 979 | 4301 | Difference to another branch/tag | 4677 |
| 980 | 4305 | If you want to see what has changed on trunk (if you are working on a branch) or on a specific branch (if you are working on trunk), you can use the explorer context menu. Just hold down the |
4681 |
| 981 | 4309 | You can also use the repository browser and select two trees to diff, perhaps two tags, or a branch/tag and trunk. The context menu there allows you to compare them using |
4685 |
| 982 | 4313 | Difference from a previous revision | 4689 |
| 983 | 4317 | If you want to see the difference between a particular revision and your working copy, use the Revision Log dialog, select the revision of interest, then select |
4693 |
| 984 | 4321 | If you want to see the difference between the last committed revision and your working copy, assuming that the working copy hasn't been modified, just right click on the file. Then select |
4697 |
| 985 | 4325 | Difference between two previous revisions | 4701 |
| 986 | 4329 | If you want to see the difference between two revisions which are already committed, use the Revision Log dialog and select the two revisions you want to compare (using the usual |
4705 |
| 987 | 4333 | If you did this from the revision log for a folder, a Compare Revisions dialog appears, showing a list of changed files in that folder. Read more in |
4709 |
| 988 | 4337 | All changes made in a commit | 4713 |
| 989 | 4341 | If you want to see the changes made to all files in a particular revision in one view, you can use Unified-Diff output (GNU patch format). This shows only the differences with a few lines of context. It is harder to read than a visual file compare, but will show all the changes together. From the Revision Log dialog select the revision of interest, then select |
4717 |
| 990 | 4345 | Difference between files | 4721 |
| 991 | 4349 | If you want to see the differences between two different files, you can do that directly in explorer by selecting both files (using the usual |
4725 |
| 992 | 4353 | Difference between WC file/folder and a URL | 4729 |
| 993 | 4357 | If you want to see the differences between a file in your working copy, and a file in any Subversion repository, you can do that directly in explorer by selecting the file then holding down the |
4733 |
| 994 | 4361 | Difference with blame information | 4737 |
| 995 | 4365 | If you want to see not only the differences but also the author, revision and date that changes were made, you can combine the diff and blame reports from within the revision log dialog. Read |
4741 |
| 996 | 4369 | Difference between folders | 4745 |
| 997 | 4373 | The built-in tools supplied with TortoiseSVN do not support viewing differences between directory hierarchies. But if you have an external tool which does support that feature, you can use that instead. In |
4749 |
| 998 | 4377 | If you have configured a third party diff tool, you can use |
4753 |
| 999 | 4381 | Line-end and Whitespace Options | 4757 |
| 1000 | 4385 | Sometimes in the life of a project you might change the line endings from |
4761 |
| 1001 | 4389 | 4765 | |
| 1002 | 4393 | 4769 | |
| 1003 | 4397 | 4773 | |
| 1004 | 4401 | 4777 | |
| 1005 | 4405 | Naturally, any line with changed content is always included in the diff. | 4781 |
| 1006 | 4409 | Comparing Folders | 4785 |
| 1007 | 4413 | compare revisions | 4789 |
| 1008 | 4417 | export changes | 4793 |
| 1009 | 4421 | The Compare Revisions Dialog | 4797 |
| 1010 | 4425 | 4801 | |
| 1011 | 4429 | This dialog shows a list of all files which have changed and allows you to compare or blame them individually using context menu. | 4805 |
| 1012 | 4433 | You can export a |
4809 |
| 1013 | 4437 | You can also export the |
4813 |
| 1014 | 4441 | If you want to export the list of files |
4817 |
| 1015 | 4445 | The button at the top allows you to change the direction of comparison. You can show the changes need to get from A to B, or if you prefer, from B to A. | 4821 |
| 1016 | 4449 | The buttons with the revision numbers on can be used to change to a different revision range. When you change the range, the list of items which differ between the two revisions will be updated automatically. | 4825 |
| 1017 | 4453 | If the list of filenames is very long, you can use the search box to reduce the list to filenames containing specific text. Note that a simple text search is used, so if you want to restrict the list to C source files you should enter |
4829 |
| 1018 | 4457 | Diffing Images Using TortoiseIDiff | 4833 |
| 1019 | 4461 | image diff | 4837 |
| 1020 | 4469 | There are many tools available for diffing text files, including our own TortoiseMerge, but we often find ourselves wanting to see how an image file has changed too. That's why we created TortoiseIDiff. | 4845 |
| 1021 | 4473 | The image difference viewer | 4849 |
| 1022 | 4477 | 4853 | |
| 1023 | 4481 | Naturally you can also zoom in and out and pan around the image. You can also pan the image simply by left-dragging it. If you select the |
4857 |
| 1024 | 4485 | An image info box shows details about the image file, such as the size in pixels, resolution and colour depth. If this box gets in the way, use |
4861 |
| 1025 | 4489 | When the images are overlaid, the relative intensity of the images (alpha blend) is controlled by a slider control at the left side. You can click anywhere in the slider to set the blend directly, or you can drag the slider to change the blend interactively. |
4865 |
| 1026 | 4493 | The button above the slider toggles between 0% and 100% blends, and if you double click the button, the blend toggles automatically every second until you click the button again. This can be useful when looking for multiple small changes. | 4869 |
| 1027 | 4497 | Sometimes you want to see a difference rather than a blend. You might have the image files for two revisions of a printed circuit board and want to see which tracks have changed. If you disable alpha blend mode, the difference will be shown as an |
4873 |
| 1028 | 4501 | External Diff/Merge Tools | 4877 |
| 1029 | 4505 | diff tools | 4881 |
| 1030 | 4509 | merge tools | 4885 |
| 1031 | 4513 | If the tools we provide don't do what you need, try one of the many open-source or commercial programs available. Everyone has their own favourites, and this list is by no means complete, but here are a few that you might consider: | 4889 |
| 1032 | 4521 | 4897 | |
| 1033 | 4525 | Perforce Merge | 4901 |
| 1034 | 4529 | Perforce is a commercial RCS, but you can download the diff/merge tool for free. Get more information from |
4905 |
| 1035 | 4537 | KDiff3 is a free diff tool which can also handle directories. You can download it from |
4913 |
| 1036 | 4545 | ExamDiff Standard is freeware. It can handle files but not directories. ExamDiff Pro is shareware and adds a number of goodies including directory diff and editing capability. In both flavours, version 3.2 and above can handle unicode. You can download them from |
4921 |
| 1037 | 4549 | Beyond Compare | 4925 |
| 1038 | 4553 | Similar to ExamDiff Pro, this is an excellent shareware diff tool which can handle directory diffs and unicode. Download it from |
4929 |
| 1039 | 4561 | Araxis Merge is a useful commercial tool for diff and merging both files and folders. It does three-way comparison in merges and has synchronization links to use if you've changed the order of functions. Download it from |
4937 |
| 1040 | 4569 | This text editor includes syntax colouring for unified diffs, making them much easier to read. Download it from |
4945 |
| 1041 | 4577 | Notepad2 is designed as a replacement for the standard Windows Notepad program, and is based on the Scintilla open-source edit control. As well as being good for viewing unified diffs, it is much better than the Windows notepad for most jobs. Download it for free |
4953 |
| 1042 | 4581 | Read |
4957 |
| 1043 | 4585 | Adding New Files And Directories | 4961 |
| 1044 | 4589 | add | 4965 |
| 1045 | 4593 | version new files | 4969 |
| 1046 | 4598 | Explorer context menu for unversioned files | 4974 |
| 1047 | 4602 | 4978 | |
| 1048 | 4606 | After you added the files/directories to source control the file appears with a |
4982 |
| 1049 | 4610 | Many Adds | 4986 |
| 1050 | 4614 | You can also use the Add command on already versioned folders. In that case, the add dialog will show you all unversioned files inside that versioned folder. This helps if you have many new files and need to add them all at once. | 4990 |
| 1051 | 4618 | select the files you want to add | 4994 |
| 1052 | 4623 | 4999 | |
| 1053 | 4628 | release the right mouse button | 5004 |
| 1054 | 4632 | select |
5008 |
| 1055 | 4636 | To add files from outside your working copy you can use the drag-and-drop handler: |
5012 |
| 1056 | 4640 | You can also add files within a working copy simply by left-dragging and dropping them onto the commit dialog. | 5016 |
| 1057 | 4644 | If you add a file or folder by mistake, you can undo the addition before you commit using |
5020 |
| 1058 | 4648 | Copying/Moving/Renaming Files and Folders | 5024 |
| 1059 | 4652 | copy files | 5028 |
| 1060 | 4656 | rename files | 5032 |
| 1061 | 4660 | move files | 5036 |
| 1062 | 4665 | branch | 5041 |
| 1063 | 4670 | tag | 5046 |
| 1064 | 4674 | It often happens that you already have the files you need in another project in your repository, and you simply want to copy them across. You could simply copy the files and add them as described above, but that would not give you any history. And if you subsequently fix a bug in the original files, you can only merge the fix automatically if the new copy is related to the original in Subversion. | 5050 |
| 1065 | 4678 | The easiest way to copy files and folders from within a working copy is to use the right-drag menu. When you |
5054 |
| 1066 | 4682 | You can also copy or move versioned files within a working copy, or between two working copies, using the familiar cut-and-paste method. Use the standard Windows |
5058 |
| 1067 | 4686 | You can copy files and folders from your working copy to another location in the repository using |
5062 |
| 1068 | 4690 | You can locate an older version of a file or folder in the log dialog and copy it to a new location in the repository directly from the log dialog using |
5066 |
| 1069 | 4694 | You can also use the repository browser to locate content you want, and copy it into your working copy directly from the repository, or copy between two locations within the repository. Refer to |
5070 |
| 1070 | 4698 | Cannot copy between repositories | 5074 |
| 1071 | 4702 | Whilst you can copy or move files and folders |
5078 |
| 1072 | 4706 | If you are uncertain whether two URLs on the same server refer to the same or different repositories, use the repo browser to open one URL and find out where the repository root is. If you can see both locations in one repo browser window then they are in the same repository. | 5082 |
| 1073 | 4710 | Ignoring Files And Directories | 5086 |
| 1074 | 4714 | ignore | 5090 |
| 1075 | 4718 | unversioned files/folders | 5094 |
| 1076 | 4722 | 5098 | |
| 1077 | 4726 | The best way to avoid these problems is to add the derived files to the project's ignore list. That way they will never show up in the commit dialog, but genuine unversioned source files will still be flagged up. | 5102 |
| 1078 | 4730 | If you |
5106 |
| 1079 | 4734 | If you want to remove one or more items from the ignore list, |
5110 |
| 1080 | 4738 | The Global Ignore List | 5114 |
| 1081 | 4742 | Another way to ignore files is to add them to the |
5118 |
| 1082 | 4746 | Ignoring Versioned Items | 5122 |
| 1083 | 4750 | Versioned files and folders can never be ignored - that's a feature of Subversion. If you versioned a file by mistake, read unversionit. |
5126 |
| 1084 | 4754 | Pattern Matching in Ignore Lists | 5130 |
| 1085 | 4758 | globbing | 5134 |
| 1086 | 4762 | pattern matching | 5138 |
| 1087 | 4770 | Matches any string of characters, including the empty string (no characters). | 5146 |
| 1088 | 4778 | Matches any single character. | 5154 |
| 1089 | 4786 | Matches any one of the characters enclosed in the square brackets. Within the brackets, a pair of characters separated by -matches any character lexically between the two. For example |
5162 |
| 1090 | 4790 | Subversion's ignore patterns make use of filename globbing, a technique originally used in Unix to specify files using meta-characters as wildcards. The following characters have special meaning: |
5166 |
| 1091 | 4794 | Pattern matching is case sensitive, which can cause problems on Windows. You can force case insensitivity the hard way by pairing characters, eg. to ignore |
5170 |
| 1092 | 4798 | If you want an official definition for globbing, you can find it in the IEEE specifications for the shell command language |
5174 |
| 1093 | 4802 | No Paths in Global Ignore List | 5178 |
| 1094 | 4806 | You should not include path information in your pattern. The pattern matching is intended to be used against plain file names and folder names. If you want to ignore all |
5182 |
| 1095 | 4810 | Deleting, Moving and Renaming | 5186 |
| 1096 | 4814 | Explorer context menu for versioned files | 5190 |
| 1097 | 4818 | Unlike CVS, Subversion allows renaming and moving of files and folders. So there are menu entries for delete and rename in the TortoiseSVN submenu. |
5194 |
| 1098 | 4822 | Deleting files and folders | 5198 |
| 1099 | 4826 | delete | 5202 |
| 1100 | 4830 | remove | 5206 |
| 1101 | 4834 | Use |
5210 |
| 1102 | 4838 | When you deletedicon overlay. Up until you commit the change, you can get the file back using |
5214 |
| 1103 | 4842 | When you |
5218 |
| 1104 | 4846 | If you want to delete an item from the repository, but keep it locally as an unversioned file/folder, use |
5222 |
| 1105 | 4850 | If a |
5226 |
| 1106 | 4854 | If a |
5230 |
| 1107 | 4858 | Getting a deleted file or folder back | 5234 |
| 1108 | 4862 | If you have deleted a file or a folder and already committed that delete operation to the repository, then a normal |
5238 |
| 1109 | 4866 | Moving files and folders | 5242 |
| 1110 | 4872 | rename | 5248 |
| 1111 | 4876 | move | 5252 |
| 1112 | 4880 | If you want to do a simple in-place rename of a file or folder, use |
5256 |
| 1113 | 4884 | select the files or directories you want to move | 5260 |
| 1114 | 4888 | in the popup menu select |
5264 |
| 1115 | 4892 | If you want to move files around inside your working copy, perhaps to a different sub-folder, use the right-mouse drag-and-drop handler: |
5268 |
| 1116 | 4896 | Commit the parent folder | 5272 |
| 1117 | 4900 | Since renames and moves are done as a delete followed by an add you must commit the parent folder of the renamed/moved file so that the deleted part of the rename/move will show up in the commit dialog. If you don't commit the removed part of the rename/move, it will stay behind in the repository and when your co-workers update, the old file will not be removed. i.e. they will have |
5276 |
| 1118 | 4904 | You |
5280 |
| 1119 | 4908 | Another way of moving or copying files is to use the Windows copy/cut commands. Select the files you want to copy, right-click and choose |
5284 |
| 1120 | 4912 | You can also use the repository browser to move items around. Read |
5288 |
| 1121 | 4916 | Do Not SVN Move Externals | 5292 |
| 1122 | 4920 | You should |
5296 |
| 1123 | 4924 | Changing case in a filename | 5300 |
| 1124 | 4928 | case change | 5304 |
| 1125 | 4932 | Making case-only changes to a filename is tricky with Subversion on Windows, because for a short time during a rename, both filenames have to exist. As Windows has a case-insensitive file system, this does not work using the usual Rename command. | 5308 |
| 1126 | 4936 | Fortunately there are (at least) two possible methods to rename a file without losing its log history. It is important to rename it within subversion. Just renaming in the explorer will corrupt your working copy! | 5312 |
| 1127 | 4940 | Commit the changes in your working copy. | 5316 |
| 1128 | 4944 | Rename the file from UPPERcase to upperCASE directly in the repository using the repository browser. | 5320 |
| 1129 | 4948 | Update your working copy. | 5324 |
| 1130 | 4952 | Solution A) (recommended) |
5328 |
| 1131 | 4956 | Rename from UPPERcase to UPPERcase_ with the rename command in the TortoiseSVN submenu. | 5332 |
| 1132 | 4961 | Commit the changes. | 5337 |
| 1133 | 4965 | Rename from UPPERcase_ to upperCASE. | 5341 |
| 1134 | 4969 | Solution B) |
5345 |
| 1135 | 4973 | Dealing with filename case conflicts | 5349 |
| 1136 | 4977 | If the repository already contains two files with the same name but differing only in case (e.g. |
5353 |
| 1137 | 4981 | This sometimes happens when two people commit, from separate working copies, files which happen to have the same name, but with a case difference. It can also happen when files are committed from a system with a case-sensitive file system, like Linux. | 5357 |
| 1138 | 4985 | In that case, you have to decide which one of them you want to keep and delete (or rename) the other one from the repository. | 5361 |
| 1139 | 4989 | Preventing two files with the same name | 5365 |
| 1140 | 4993 | There is a server hook script available at: |
5369 |
| 1141 | 4997 | Repairing File Renames | 5373 |
| 1142 | 5001 | Sometimes your friendly IDE will rename files for you as part of a refactoring exercise, and of course it doesn't tell Subversion. If you try to commit your changes, Subversion will see the old filename as missing and the new one as an unversioned file. You could just check the new filename to get it added in, but you would then lose the history tracing, as Subversion does not know the files are related. | 5377 |
| 1143 | 5005 | A better way is to notify Subversion that this change is actually a rename, and you can do this within the |
5381 |
| 1144 | 5009 | Deleting Unversioned Files | 5385 |
| 1145 | 5013 | Usually you set your ignore list such that all generated files are ignored in Subversion. But what if you want to clear all those ignored items to produce a clean build? Usually you would set that in your makefile, but if you are debugging the makefile, or changing the build system it is useful to have a way of clearing the decks. | 5389 |
| 1146 | 5017 | TortoiseSVN provides just such an option using |
5393 |
| 1147 | 5021 | When such items are deleted, the recycle bin is used, so if you make a mistake here and delete a file that should have been versioned, you can still recover it. | 5397 |
| 1148 | 5025 | Undo Changes | 5401 |
| 1149 | 5030 | revert | 5406 |
| 1150 | 5034 | undo | 5410 |
| 1151 | 5038 | clean | 5414 |
| 1152 | 5042 | Revert dialog | 5418 |
| 1153 | 5046 | If you want to undo all changes you made in a file since the last update you need to select the file, |
5422 |
| 1154 | 5050 | If you want to undo a deletion or a rename, you need to use Revert on the parent folder as the deleted item does not exist for you to right-click on. | 5426 |
| 1155 | 5054 | If you want to undo the addition of an item, this appears in the context menu as |
5430 |
| 1156 | 5059 | The columns in this dialog can be customized in the same way as the columns in the |
5435 |
| 1157 | 5063 | Since revert is sometimes used to clean up a working copy, there is an extra button which allows you to delete unversioned items as well. When you click this button another dialog comes up listing all the unversioned items, which you can then select for deletion. | 5439 |
| 1158 | 5067 | Undoing Changes which have been Committed | 5443 |
| 1159 | 5071 | 5447 | |
| 1160 | 5075 | Revert is Slow | 5451 |
| 1161 | 5079 | When you revert changes you may find that the operation takes a lot longer than you expect. This is because the modified version of the file is sent to the recycle bin, so you can retrieve your changes if you reverted by mistake. However, if your recycle bin is full, Windows takes a long time to find a place to put the file. The solution is simple: either empty the recycle bin or deactivate the |
5455 |
| 1162 | 5086 | Cleanup | 5462 |
| 1163 | 5090 | cleanup | 5466 |
| 1164 | 5094 | If a Subversion command cannot complete successfully, perhaps due to server problems, your working copy can be left in an inconsistent state. In that case you need to use |
5470 |
| 1165 | 5098 | Cleanup has another useful side effect. If a file date changes but its content doesn't, Subversion cannot tell whether it has really changed except by doing a byte-by-byte comparison with the pristine copy. If you have a lot of files in this state it makes acquiring status very slow, which will make many dialogs slow to respond. Executing a Cleanup on your working copy will repair these brokentimestamps and restore status checks to full speed. |
5474 |
| 1166 | 5102 | Use Commit Timestamps | 5478 |
| 1167 | 5106 | Some earlier releases of Subversion were affected by a bug which caused timestamp mismatch when you check out with the |
5482 |
| 1168 | 5110 | Project Settings | 5486 |
| 1169 | 5114 | properties | 5490 |
| 1170 | 5118 | Explorer property page, Subversion tab | 5494 |
| 1171 | 5122 | 5498 | |
| 1172 | 5126 | Subversion Properties | 5502 |
| 1173 | 5130 | Subversion properties | 5506 |
| 1174 | 5134 | Subversion property page | 5510 |
| 1175 | 5138 | 5514 | |
| 1176 | 5142 | You can add your own properties, or some properties with a special meaning in Subversion. These begin with |
5518 |
| 1177 | 5150 | keywords | 5526 |
| 1178 | 5154 | expand keywords | 5530 |
| 1179 | 5158 | Date of last known commit. This is based on information obtained when you update your working copy. It does |
5534 |
| 1180 | 5162 | Revision of last known commit. | 5538 |
| 1181 | 5166 | Author who made the last known commit. | 5542 |
| 1182 | 5170 | The full URL of this file in the repository. | 5546 |
| 1183 | 5174 | A compressed combination of the previous four keywords. | 5550 |
| 1184 | 5178 | Subversion supports CVS-like keyword expansion which can be used to embed filename and revision information within the file itself. Keywords currently supported are: |
5554 |
| 1185 | 5182 | To find out how to use these keywords, look at the |
5558 |
| 1186 | 5186 | For more information about properties in Subversion see the |
5562 |
| 1187 | 5190 | Adding and Editing Properties | 5566 |
| 1188 | 5194 | Adding properties | 5570 |
| 1189 | 5198 | 5574 | |
| 1190 | 5202 | If you want to apply a property to many items at once, select the files/folders in explorer, then select |
5578 |
| 1191 | 5206 | If you want to apply the property to |
5582 |
| 1192 | 5210 | Some properties, for example |
5586 |
| 1193 | 5214 | If you wish to edit an existing property, select that property from the list of existing properties, then click on |
5590 |
| 1194 | 5218 | If you wish to remove an existing property, select that property from the list of existing properties, then click on |
5594 |
| 1195 | 5222 | The |
5598 |
| 1196 | 5226 | Edit properties at HEAD revision | |
| 1197 | 5230 | Because properties are versioned, you cannot edit the properties of previous revisions. If you look at properties from the log dialog, or from a non-HEAD revision in the repository browser, you will see a list of properties and values, but no edit controls. | |
| 1198 | 5234 | Exporting and Importing Properties | 5602 |
| 1199 | 5238 | Often you will find yourself applying the same set of properties many times, for example |
5606 |
| 1200 | 5242 | From the file or folder where the properties are already set, use |
5610 |
| 1201 | 5246 | From the folder(s) where you wish to apply these properties, use |
5614 |
| 1202 | 5250 | If you want to add properties to a tree recursively, follow the steps above, then in the property dialog select each property in turn, click on |
5618 |
| 1203 | 5254 | The Import file format is binary and proprietary to TortoiseSVN. Its only purpose is to transfer properties using Import and Export, so there is no need to edit these files. | 5622 |
| 1204 | 5258 | Binary Properties | 5626 |
| 1205 | 5262 | TortoiseSVN can handle binary property values using files. To read a binary property value, |
5630 |
| 1206 | 5266 | Although binary properties are not often used, they can be useful in some applications. For example if you are storing huge graphics files, or if the application used to load the file is huge, you might want to store a thumbnail as a property so you can obtain a preview quickly. | 5634 |
| 1207 | 5270 | Automatic property setting | 5638 |
| 1208 | 5278 | You can configure Subversion and TortoiseSVN to set properties automatically on files and folders when they are added to the repository. There are two ways of doing this. | 5646 |
| 1209 | 5282 | You can edit the subversion configuration file to enable this feature on your client. The |
5650 |
| 1210 | 5286 | An alternative method is to set the |
5654 |
| 1211 | 5290 | Whichever method you choose, you should note that auto-props are only applied to files at the time they are added to the repository. Auto-props will never change the properties of files which are already versioned. | 5658 |
| 1212 | 5294 | If you want to be absolutely sure that new files have the correct properties applied, you should set up a repository pre-commit hook to reject commits where the required properties are not set. | 5662 |
| 1213 | 5298 | Commit properties | 5666 |
| 1214 | 5302 | Subversion properties are versioned. After you change or add a property you have to commit your changes. | 5670 |
| 1215 | 5306 | Conflicts on properties | 5674 |
| 1216 | 5310 | If there's a conflict on committing the changes, because another user has changed the same property, Subversion generates a |
5678 |
| 1217 | 5314 | TortoiseSVN Project Properties | 5682 |
| 1218 | 5318 | project properties | 5686 |
| 1219 | 5322 | TortoiseSVN properties | 5690 |
| 1220 | 5326 | 5694 | |
| 1221 | 5330 | 5698 | |
| 1222 | 5334 | 5702 | |
| 1223 | 5338 | 5706 | |
| 1224 | 5342 | Subversion allows you to set autopropswhich will be applied to newly added or imported files, based on the file extension. This depends on every client having set appropriate autoprops in their subversion configuration file. |
5710 |
| 1225 | 5346 | If there is a conflict between the local autoprops and |
5714 |
| 1226 | 5350 | In the Commit dialog you have the option to paste in the list of changed files, including the status of each file (added, modified, etc). |
5718 |
| 1227 | 5354 | TortoiseSVN can use spell checker modules which are also used by OpenOffice and Mozilla. If you have those installed this property will determine which spell checker to use, i.e. in which language the log messages for your project should be written. |
5722 |
| 1228 | 5358 | You can enter this value in decimal, or in hexadecimal if prefixed with |
5726 |
| 1229 | 5362 | The property |
5730 |
| 1230 | 5366 | The value of the |
5734 |
| 1231 | 5370 | An example: [SUMMARY]in the log message and use that as the summary. |
5738 |
| 1232 | 5374 | The property |
5742 |
| 1233 | 5378 | The regular expression must match the whole reference, not just the revision number. The revision number is extracted from the matched reference string automatically. | 5746 |
| 1234 | 5382 | If this property is not set, a default regular expression is used to link revision references. | 5750 |
| 1235 | 5386 | When you want to add a new property, you can either pick one from the list in the combo box, or you can enter any property name you like. If your project uses some custom properties, and you want those properties to appear in the list in the combo box (to avoid typos when you enter a property name), you can create a list of your custom properties using |
5754 |
| 1236 | 5390 | TortoiseSVN has a few special properties of its own, and these begin with |
5758 |
| 1237 | 5395 | Some |
5763 |
| 1238 | 5399 | TortoiseSVN can integrate with some bug tracking tools. This uses project properties that start with |
5767 |
| 1239 | 5403 | It can also integrate with some web-based repository browsers, using project properties that start with |
5771 |
| 1240 | 5407 | Set the project properties on folders | 5775 |
| 1241 | 5411 | These special project properties must be set on |
5779 |
| 1242 | 5417 | For project properties |
5785 |
| 1243 | 5423 | When you add new sub-folders to a working copy using TortoiseSVN, any project properties present in the parent folder will automatically be added to the new child folder too. | 5791 |
| 1244 | 5428 | Limitations Using the Repository Browser | 5796 |
| 1245 | 5432 | Fetching properties remotely is a slow operation, so some of the features described above will not work in the repository browser as they do in a working copy. | 5800 |
| 1246 | 5436 | When you add a property using the repo browser, only the standard |
5804 |
| 1247 | 5440 | Properties cannot be set or deleted recursively using the repo browser. | 5808 |
| 1248 | 5444 | Project properties will |
5812 |
| 1249 | 5448 | 5816 | |
| 1250 | 5452 | Although TortoiseSVN's project properties are extremely useful, they only work with TortoiseSVN, and some will only work in newer versions of TortoiseSVN. If people working on your project use a variety of Subversion clients, or possibly have old versions of TortoiseSVN, you may want to use repository hooks to enforce project policies. project properties can only help to implement a policy, they cannot enforce it. | 5820 |
| 1251 | 5456 | External Items | 5824 |
| 1252 | 5460 | external repositories | 5828 |
| 1253 | 5465 | externals | 5833 |
| 1254 | 5469 | Sometimes it is useful to construct a working copy that is made out of a number of different checkouts. For example, you may want different files or subdirectories to come from different locations in a repository, or perhaps from different repositories altogether. If you want every user to have the same layout, you can define the |
5837 |
| 1255 | 5473 | External Folders | 5841 |
| 1256 | 5477 | Let's say you check out a working copy of http://sounds.red-bean.com/repos sounds\n http://graphics.red-bean.com/repos/fast%20graphics \"quick graphs\"\n -r21 http://svn.red-bean.com/repos/skin-maker skins/toolkit\n |
5845 |
| 1257 | 5481 | URLs must be properly escaped or they will not work, e.g. you must replace each space with |
5854 |
| 1258 | 5485 | If you want the local path to include spaces or other special characters, you can enclose it in double quotes, or you can use the |
5858 |
| 1259 | 5489 | Use explicit revision numbers | 5862 |
| 1260 | 5493 | You should strongly consider using explicit revision numbers in all of your externals definitions, as described above. Doing so means that you get to decide when to pull down a different snapshot of external information, and exactly which snapshot to pull. Besides the common sense aspect of not being surprised by changes to third-party repositories that you might not have any control over, using explicit revision numbers also means that as you backdate your working copy to a previous revision, your externals definitions will also revert to the way they looked in that previous revision, which in turn means that the external working copies will be updated to match they way |
5866 |
| 1261 | 5497 | Older svn:externals definitions | 5870 |
| 1262 | 5501 | The format shown here was introduced in Subversion 1.5. You may also see the older format which has the same information in a different order. The new format is preferred as it supports several useful features described below, but it will not work on older clients. The differences are shown in the |
5874 |
| 1263 | 5506 | If the external project is in the same repository, any changes you make there will be included in the commit list when you commit your main project. | 5879 |
| 1264 | 5511 | If the external project is in a different repository, any changes you make to the external project will be notified when you commit the main project, but you have to commit those external changes separately. | 5884 |
| 1265 | 5515 | If you use absolute URLs in |
5888 |
| 1266 | 5519 | To avoid such problems, Subversion clients version 1.5 and higher support relative external URLs. Four different methods of specifying a relative URL are supported. In the following examples, assume we have two repositories: one at |
5892 |
| 1267 | 5523 | Relative to parent directory | 5896 |
| 1268 | 5527 | These URLs always begin with the string ../../widgets/foo common/foo-widget\n |
5900 |
| 1269 | 5531 | Note that the URL is relative to the URL of the directory with the |
5907 |
| 1270 | 5535 | Relative to repository root | 5911 |
| 1271 | 5539 | These URLs always begin with the string ^/widgets/foo common/foo-widget\n |
5915 |
| 1272 | 5543 | You can easily refer to other repositories with the same ^/../repos-2/hammers/claw common/claw-hammer\n |
5922 |
| 1273 | 5547 | Relative to scheme | 5929 |
| 1274 | 5551 | URLs beginning with the string //example.com/svn/repos-1/widgets/foo common/foo-widget\n |
5933 |
| 1275 | 5555 | Relative to the server's hostname | 5940 |
| 1276 | 5559 | URLs beginning with the string /svn/repos-1/widgets/foo common/foo-widget\n |
5944 |
| 1277 | 5563 | You can also specify a peg revision after the URL if required, e.g. |
5951 |
| 1278 | 5567 | If you need more information how TortoiseSVN handles Properties read |
5955 |
| 1279 | 5571 | To find out about different methods of accessing common sub-projects read |
5959 |
| 1280 | 5575 | External Files | 5963 |
| 1281 | 5579 | As of Subversion 1.6 you can add single file externals to your working copy using the same syntax as for folders. However, there are some restrictions. | 5967 |
| 1282 | 5583 | The path to the file external must place the file in an existing versioned folder. In general it makes most sense to place the file directly in the folder that has |
5971 |
| 1283 | 5587 | The URL for a file external must be in the same repository as the URL that the file external will be inserted into; inter-repository file externals are not supported. | 5975 |
| 1284 | 5591 | A file external behaves just like any other versioned file in many respects, but they cannot be moved or deleted using the normal commands; the |
5979 |
| 1285 | 5595 | File externals support incomplete in Subversion 1.6 | 5983 |
| 1286 | 5599 | In subversion 1.6 it is not possible to remove a file external from your working copy once you have added it, even if you delete the |
5987 |
| 1287 | 5603 | Branching / Tagging | 5991 |
| 1288 | 5608 | copy | 5996 |
| 1289 | 5612 | mark release | 6000 |
| 1290 | 5616 | One of the features of version control systems is the ability to isolate changes onto a separate line of development. This line is known as a |
6004 |
| 1291 | 5620 | Another feature of version control systems is the ability to mark particular revisions (e.g. a release version), so you can at any time recreate a certain build or environment. This process is known as |
6008 |
| 1292 | 5624 | Subversion does not have special commands for branching or tagging, but uses so-called cheap copiesinstead. Cheap copies are similar to hard links in Unix, which means that instead of making a complete copy in the repository, an internal link is created, pointing to a specific tree/revision. As a result branches and tags are very quick to create, and take up almost no extra space in the repository. |
6012 |
| 1293 | 5628 | Creating a Branch or Tag | 6016 |
| 1294 | 5632 | The Branch/Tag Dialog | 6020 |
| 1295 | 5636 | If you have imported your project with the recommended directory structure, creating a branch or tag version is very simple: |
6024 |
| 1296 | 5640 | The default destination URL for the new branch will be the source URL on which your working copy is based. You will need to edit that URL to the new path for your branch/tag. So instead of http://svn.collab.net/repos/ProjectName/trunk\n http://svn.collab.net/repos/ProjectName/tags/Release_1.10\n |
6028 |
| 1297 | 5645 | HEAD revision in the repository | 6038 |
| 1298 | 5649 | The new branch is copied directly in the repository from the HEAD revision. No data needs to be transferred from your working copy, and the branch is created very quickly. | 6042 |
| 1299 | 5653 | Specific revision in the repository | 6046 |
| 1300 | 5657 | The new branch is copied directly in the repository but you can choose an older revision. This is useful if you forgot to make a tag when you released your project last week. If you can't remember the revision number, click the button on the right to show the revision log, and select the revision number from there. Again no data is transferred from your working copy, and the branch is created very quickly. | 6050 |
| 1301 | 5661 | The new branch is an identical copy of your local working copy. If you have updated some files to an older revision in your WC, or if you have made local changes, that is exactly what goes into the copy. Naturally this sort of complex tag may involve transferring data from your WC back to the repository if it does not exist there already. | 6054 |
| 1302 | 5665 | Now you have to select the source of the copy. Here you have three options: |
6058 |
| 1303 | 5669 | If you want your working copy to be switched to the newly created branch automatically, use the |
6062 |
| 1304 | 5673 | Press |
6066 |
| 1305 | 5677 | Note that unless you opted to switch your working copy to the newly created branch, creating a Branch or Tag does |
6070 |
| 1306 | 5681 | Other ways to create a branch or tag | 6074 |
| 1307 | 5685 | You can also create a branch or tag without having a working copy. To do that, open the repository browser. You can there drag folders to a new location. You have to hold down the |
6078 |
| 1308 | 5689 | You can also drag a folder with the right mouse button. Once you release the mouse button you can choose from the context menu whether you want the folder to be moved or copied. Of course to create a branch or tag you must copy the folder, not move it. | 6082 |
| 1309 | 5693 | Yet another way is from the log dialog. You can show the log dialog for e.g. trunk, select a revision (either the HEAD revision at the very top or an earlier revision), right-click and choose |
6086 |
| 1310 | 5697 | To Checkout or to Switch... | 6090 |
| 1311 | 5701 | switch | 6094 |
| 1312 | 5705 | ...that is (not really) the question. While a checkout downloads everything from the desired branch in the repository to your working directory, |
6098 |
| 1313 | 5709 | 6102 | |
| 1314 | 5713 | Switch your current working copy to the newly created copy in the repository. Again select the top level folder of your project and use |
6106 |
| 1315 | 5717 | In the next dialog enter the URL of the branch you just created. Select the |
6110 |
| 1316 | 5721 | Switch works just like Update in that it never discards your local changes. Any changes you have made to your working copy which have not yet been committed will be merged when you do the Switch. If you do not want this to happen then you must either commit the changes before switching, or revert your working copy to an already-committed revision (typically HEAD). | 6114 |
| 1317 | 5725 | If you want to work on trunk and branch, but don't want the expense of a fresh checkout, you can use Windows Explorer to make a copy of your trunk checkout in another folder, then |
6118 |
| 1318 | 5729 | The Switch Dialog | 6122 |
| 1319 | 5733 | To be able to work with your freshly generated branch or tag you have several ways to handle it. You can: |
6126 |
| 1320 | 5737 | Tags are typically used to create a static snapshot of the project at a particular stage. As such they are not normally used for development - that's what branches are for, which is the reason we recommended the |
6130 |
| 1321 | 5741 | It may be that you need to make further changes to a release which you have already tagged. The correct way to handle this is to create a new branch from the tag first and commit the branch. Do your Changes on this branch and then create a new tag from this new branch, e.g. |
6134 |
| 1322 | 5745 | If you modify a working copy created from a branch and commit, then all changes go to the new branch and |
6138 |
| 1323 | 5749 | Although Subversion itself makes no distinction between tags and branches, the way they are typically used differs a bit. |
6142 |
| 1324 | 5753 | Merging | 6146 |
| 1325 | 5760 | merge | 6153 |
| 1326 | 5764 | Where branches are used to maintain separate lines of development, at some stage you will want to merge the changes made on one branch back into the trunk, or vice versa. | 6157 |
| 1327 | 5768 | It is important to understand how branching and merging works in Subversion before you start using it, as it can become quite complex. It is highly recommended that you read the chapter |
6161 |
| 1328 | 5772 | The next point to note is that merging |
6165 |
| 1329 | 5776 | In general it is a good idea to perform a merge into an unmodified working copy. If you have made other changes in your WC, commit those first. If the merge does not go as you expect, you may want to revert the changes, and the |
6169 |
| 1330 | 5780 | There are three common use cases for merging which are handled in slightly different ways, as described below. The first page of the merge wizard asks you to select the method you need. | 6173 |
| 1331 | 5784 | Merge a range of revisions | 6177 |
| 1332 | 5788 | This method covers the case when you have made one or more revisions to a branch (or to the trunk) and you want to port those changes across to a different branch. | 6181 |
| 1333 | 5792 | What you are asking Subversion to do is this: Calculate the changes necessary to get [FROM] revision 1 of branch A [TO] revision 7 of branch A, and apply those changes to my working copy (of trunk or branch B). |
6185 |
| 1334 | 5797 | Reintegrate a branch | 6190 |
| 1335 | 5801 | This method covers the case when you have made a feature branch as discussed in the Subversion book. All trunk changes have been ported to the feature branch, week by week, and now the feature is complete you want to merge it back into the trunk. Because you have kept the feature branch synchronized with the trunk, the latest versions of branch and trunk will be absolutely identical except for your branch changes. | 6194 |
| 1336 | 5805 | This is a special case of the tree merge described below, and it requires only the URL to merge from (normally) your development branch. It uses the merge-tracking features of Subversion to calculate the correct revision ranges to use, and perform additional checks which ensure that the branch has been fully updated with trunk changes. This ensures that you don't accidentally undo work that others have committed to trunk since you last synchronized changes. | 6198 |
| 1337 | 5809 | After the merge, all branch development has been completely merged back into the main development line. The branch is now redundant and can be deleted. | 6202 |
| 1338 | 5813 | Once you have performed a reintegrate merge you should not continue to use it for development. The reason for this is that if you try to resynchronize your existing branch from trunk later on, merge tracking will see your reintegration as a trunk change that has not yet been merged into the branch, and will try to merge the branch-to-trunk merge back into the branch! The solution to this is simply to create a new branch from trunk to continue the next phase of your development. | 6206 |
| 1339 | 5817 | Merge two different trees | 6210 |
| 1340 | 5821 | This is a more general case of the reintegrate method. What you are asking Subversion to do is: Calculate the changes necessary to get [FROM] the head revision of the trunk [TO] the head revision of the branch, and apply those changes to my working copy (of the trunk).The net result is that trunk now looks exactly like the branch. |
6214 |
| 1341 | 5825 | If your server/repository does not support merge-tracking then this is the only way to merge a branch back to trunk. Another use case occurs when you are using vendor branches and you need to merge the changes following a new vendor drop into your trunk code. For more information read the chapter on |
6218 |
| 1342 | 5829 | Merging a Range of Revisions | 6222 |
| 1343 | 5833 | revision range | 6226 |
| 1344 | 5837 | The Merge Wizard - Select Revision Range | 6230 |
| 1345 | 5841 | 6234 | |
| 1346 | 5845 | In the |
6238 |
| 1347 | 5849 | There is an important difference in the way a revision range is specified with TortoiseSVN compared to the command line client. The easiest way to visualise it is to think of a fence with posts and fence panels. | 6242 |
| 1348 | 5853 | With the command line client you specify the changes to merge using two fence postrevisions which specify the |
6246 |
| 1349 | 5857 | With TortoiseSVN you specify the changeset to merge using fence panels. The reason for this becomes clear when you use the log dialog to specify revisions to merge, where each revision appears as a changeset. |
6250 |
| 1350 | 5861 | If you are merging revisions in chunks, the method shown in the subversion book will have you merge 100-200 this time and 200-300 next time. With TortoiseSVN you would merge 100-200 this time and 201-300 next time. | 6254 |
| 1351 | 5865 | This difference has generated a lot of heat on the mailing lists. We acknowledge that there is a difference from the command line client, but we believe that for the majority of GUI users it is easier to understand the method we have implemented. | 6258 |
| 1352 | 5869 | The easiest way to select the range of revisions you need is to click on |
6262 |
| 1353 | 5873 | If you want to merge changes back |
6266 |
| 1354 | 5877 | If you have already merged some changes from this branch, hopefully you will have made a note of the last revision merged in the log message when you committed the change. In that case, you can use |
6270 |
| 1355 | 5881 | If you are using the merge tracking features of Subversion, you do not need to remember which revisions have already been merged - Subversion will record that for you. If you leave the revision range blank, all revisions which have not yet been merged will be included. Read |
6274 |
| 1356 | 5885 | If other people may be committing changes then be careful about using the HEAD revision. It may not refer to the revision you think it does if someone else made a commit after your last update. | 6278 |
| 1357 | 5889 | Click |
6282 |
| 1358 | 5893 | reintegrate | 6286 |
| 1359 | 5897 | The Merge Wizard - Reintegrate Merge | 6290 |
| 1360 | 5901 | 6294 | |
| 1361 | 5905 | In the |
6298 |
| 1362 | 5909 | There are some conditions which apply to a reintegrate merge. Firstly, the server must support merge tracking. The working copy must be of depth infinite (no sparse checkouts), and it must not have any local modifications, switched items or items that have been updated to revisions other than HEAD. All changes to trunk made during branch development must have been merged across to the branch (or marked as having been merged). The range of revisions to merge will be calculated automatically. | 6302 |
| 1363 | 5913 | Merging Two Different Trees | 6306 |
| 1364 | 5917 | two trees | 6310 |
| 1365 | 5921 | The Merge Wizard - Tree Merge | 6314 |
| 1366 | 5925 | 6318 | |
| 1367 | 5929 | In the |
6322 |
| 1368 | 5933 | In the |
6326 |
| 1369 | 5937 | In both the |
6330 |
| 1370 | 5941 | You can also use |
6334 |
| 1371 | 5945 | Merge Options | 6338 |
| 1372 | 5949 | This page of the wizard lets you specify advanced options, before starting the merge process. Most of the time you can just use the default settings. | 6342 |
| 1373 | 5953 | You can specify the depth to use for the merge, i.e. how far down into your working copy the merge should go. The depth terms used are described in |
6346 |
| 1374 | 5957 | Most of the time you want merge to take account of the file's history, so that changes relative to a common ancestor are merged. Sometimes you may need to merge files which are perhaps related, but not in your repository. For example you may have imported versions 1 and 2 of a third party library into two separate directories. Although they are logically related, Subversion has no knowledge of this because it only sees the tarballs you imported. If you attempt to merge the difference between these two trees you would see a complete removal followed by a complete add. To make Subversion use only path-based differences rather than history-based differences, check the |
6350 |
| 1375 | 5961 | You can specify the way that line ending and whitespace changes are handled. These options are described in |
6354 |
| 1376 | 5965 | The checkbox marked |
6358 |
| 1377 | 5969 | If you are using merge tracking and you want to mark a revision as having been merged, without actually doing the merge here, check the |
6362 |
| 1378 | 5973 | Now everything is set up, all you have to do is click on the |
6366 |
| 1379 | 5977 | The merge progress dialog shows each stage of the merge, with the revision ranges involved. This may indicate one more revision than you were expecting. For example if you asked to merge revision 123 the progress dialog will report Merging revisions 122 through 123. To understand this you need to remember that Merge is closely related to Diff. The merge process works by generating a list of differences between two points in the repository, and applying those differences to your working copy. The progress dialog is simply showing the start and end points for the diff. |
6370 |
| 1380 | 5981 | Reviewing the Merge Results | 6374 |
| 1381 | 5985 | The merge is now complete. It's a good idea to have a look at the merge and see if it's as expected. Merging is usually quite complicated. Conflicts often arise if the branch has drifted far from the trunk. | 6378 |
| 1382 | 5989 | For Subversion clients and servers prior to 1.5, no merge information is stored and merged revisions have to be tracked manually. When you have tested the changes and come to commit this revision, your commit log message should |
6382 |
| 1383 | 5993 | If your server and all clients are running Subversion 1.5 or higher, the merge tracking facility will record the revisions merged and avoid a revision being merged more than once. This makes your life much simpler as you can simply merge the entire revision range each time and know that only new revisions will actually be merged. | 6386 |
| 1384 | 5997 | Branch management is important. If you want to keep this branch up to date with the trunk, you should be sure to merge often so that the branch and trunk do not drift too far apart. Of course, you should still avoid repeated merging of changes, as explained above. | 6390 |
| 1385 | 6001 | If you have just merged a feature branch back into the trunk, the trunk now contains all the new feature code, and the branch is obsolete. You can now delete it from the repository if required. | 6394 |
| 1386 | 6005 | Subversion can't merge a file with a folder and vice versa - only folders to folders and files to files. If you click on a file and open up the merge dialog, then you have to give a path to a file in that dialog. If you select a folder and bring up the dialog, then you must specify a folder URL for the merge. | 6398 |
| 1387 | 6009 | Merge Tracking | 6402 |
| 1388 | 6013 | merge tracking | 6406 |
| 1389 | 6017 | You can avoid the danger of merging the same revision twice (repeated merge problem). Once a revision is marked as having been merged, future merges which include that revision in the range will skip over it. | 6410 |
| 1390 | 6021 | When you merge a branch back into trunk, the log dialog can show you the branch commits as part of the trunk log, giving better traceability of changes. | 6414 |
| 1391 | 6025 | When you show the log dialog from within the merge dialog, revisions already merged are shown in grey. | 6418 |
| 1392 | 6029 | When showing blame information for a file, you can choose to show the original author of merged revisions, rather than the person who did the merge. | 6422 |
| 1393 | 6033 | You can mark revisions as |
6426 |
| 1394 | 6037 | Subversion 1.5 introduced facilities for merge tracking. When you merge changes from one tree into another, the revision numbers merged are stored and this information can be used for several different purposes. |
6430 |
| 1395 | 6041 | Merge tracking information is stored in the |
6434 |
| 1396 | 6045 | Find out more about merge tracking from Subversion's |
6438 |
| 1397 | 6049 | Handling Conflicts during Merge | 6442 |
| 1398 | 6053 | merge conflicts | 6446 |
| 1399 | 6057 | The Merge Conflict Callback Dialog | 6450 |
| 1400 | 6061 | Merging does not always go smoothly. Sometimes there is a conflict, and if you are merging multiple ranges, you generally want to resolve the conflict before merging of the next range starts. TortoiseSVN helps you through this process by showing the |
6454 |
| 1401 | 6065 | Choosing |
|
| 1402 | 6069 | Normally you will want to look at the conflicts and resolve them yourself. In that case, choose the |
|
| 1403 | 6073 | The last option is to postpone resolution and continue with merging. You can choose to do that for the current conflicted file, or for all files in the rest of the merge. However, if there are further changes in that file, it will not be possible to complete the merge. | 6466 |
| 1404 | 6077 | It is likely that some of the changes will have merged smoothly, while other local changes conflict with changes already committed to the repository. All changes which can be merged are merged. The Merge Conflict Callback dialog gives you three different ways of handling the lines which are in conflict. |
|
| 1405 | 6081 | If you do not want to use this interactive callback, there is a checkbox in the merge progress dialog |
6474 |
| 1406 | 6085 | Merge a Completed Branch | 6478 |
| 1407 | 6089 | merge reintegrate | 6482 |
| 1408 | 6093 | The Merge reintegrate Dialog | 6486 |
| 1409 | 6097 | If you want to merge all changes from a feature branch back to trunk, then you can use the |
6490 |
| 1410 | 6101 | Feature Branch Maintenance | 6494 |
| 1411 | 6105 | When you develop a new feature on a separate branch it is a good idea to work out a policy for re-integration when the feature is complete. If other work is going on in |
6498 |
| 1412 | 6109 | If the feature is relatively simple and development will not take long then you can adopt a simple approach, which is to keep the branch entirely separate until the feature is complete, then merge the branch changes back into trunk. In the merge wizard this would be a simple |
6502 |
| 1413 | 6113 | If the feature is going to take longer and you need to account for changes in |
6506 |
| 1414 | 6117 | Locking | 6510 |
| 1415 | 6121 | locking | 6514 |
| 1416 | 6125 | readonly | 6518 |
| 1417 | 6129 | You are using unmergeablefiles, for example, graphics files. If two people change the same file, merging is not possible, so one of you will lose their changes. |
6522 |
| 1418 | 6133 | Your company has always used a locking revision control system in the past and there has been a management decision that locking is best. |
6526 |
| 1419 | 6137 | Subversion generally works best without locking, using the Copy-Modify-Mergemethods described earlier in |
6530 |
| 1420 | 6141 | Firstly you need to ensure that your Subversion server is upgraded to at least version 1.2. Earlier versions do not support locking at all. If you are using |
6534 |
| 1421 | 6145 | How Locking Works in Subversion | 6538 |
| 1422 | 6149 | By default, nothing is locked and anyone who has commit access can commit changes to any file at any time. Others will update their working copies periodically and changes in the repository will be merged with local changes. | 6542 |
| 1423 | 6153 | If you |
6546 |
| 1424 | 6157 | However, other users will not necessarily know that you have taken out a lock. Unless they check the lock status regularly, the first they will know about it is when their commit fails, which in most cases is not very useful. To make it easier to manage locks, there is a new Subversion property |
6550 |
| 1425 | 6161 | Locks are recorded by working copy location as well as by owner. If you have several working copies (at home, at work) then you can only hold a lock in |
6554 |
| 1426 | 6165 | If one of your co-workers acquires a lock and then goes on holiday without releasing it, what do you do? Subversion provides a means to force locks. Releasing a lock held by someone else is referred to as |
6558 |
| 1427 | 6169 | Locks are recorded in the repository, and a lock token is created in your local working copy. If there is a discrepancy, for example if someone else has broken the lock, the local lock token becomes invalid. The repository is always the definitive reference. | 6562 |
| 1428 | 6173 | Getting a Lock | 6566 |
| 1429 | 6177 | The Locking Dialog | 6570 |
| 1430 | 6181 | Select the file(s) in your working copy for which you want to acquire a lock, then select the command |
6574 |
| 1431 | 6185 | If you select a folder and then use |
6578 |
| 1432 | 6189 | Releasing a Lock | 6582 |
| 1433 | 6193 | To make sure you don't forget to release a lock you don't need any more, locked files are shown in the commit dialog and selected by default. If you continue with the commit, locks you hold on the selected files are removed, even if the files haven't been modified. If you don't want to release a lock on certain files, you can uncheck them (if they're not modified). If you want to keep a lock on a file you've modified, you have to enable the |
6586 |
| 1434 | 6197 | To release a lock manually, select the file(s) in your working copy for which you want to release the lock, then select the command |
6590 |
| 1435 | 6201 | Checking Lock Status | 6594 |
| 1436 | 6205 | The Check for Modifications Dialog | 6598 |
| 1437 | 6209 | 6602 | |
| 1438 | 6213 | From the context menu here, you can also get and release locks, as well as breaking and stealing locks held by others. | 6606 |
| 1439 | 6217 | Avoid Breaking and Stealing Locks | 6610 |
| 1440 | 6221 | If you break or steal someone else's lock without telling them, you could potentially cause loss of work. If you are working with unmergeable file types and you steal someone else's lock, once you release the lock they are free to check in their changes and overwrite yours. Subversion doesn't lose data, but you have lost the team-working protection that locking gave you. | 6614 |
| 1441 | 6225 | Making Non-locked Files Read-Only | 6618 |
| 1442 | 6229 | As mentioned above, the most effective way to use locking is to set the |
6622 |
| 1443 | 6233 | If you operate a policy where every file has to be locked then you may find it easier to use Subversion's auto-props feature to set the property automatically every time you add new files. Read |
6626 |
| 1444 | 6237 | The Locking Hook Scripts | 6630 |
| 1445 | 6241 | When you create a new repository with Subversion 1.2 or higher, four hook templates are created in the repository |
6634 |
| 1446 | 6245 | It is a good idea to install a |
6638 |
| 1447 | 6249 | You might also use hooks to disallow breaking or stealing of locks, or perhaps limit it to a named administrator. Or maybe you want to email the owner when one of their locks is broken or stolen. | 6642 |
| 1448 | 6253 | Read |
6646 |
| 1449 | 6257 | Creating and Applying Patches | 6650 |
| 1450 | 6261 | patch | 6654 |
| 1451 | 6265 | unified diff | 6658 |
| 1452 | 6269 | For open source projects (like this one) everyone has read access to the repository, and anyone can make a contribution to the project. So how are those contributions controlled? If just anyone could commit changes, the project would be permanently unstable and probably permanently broken. In this situation the change is managed by submitting a |
6662 |
| 1453 | 6273 | Patch files are simply Unified-Diff files showing the differences between your working copy and the base revision. | 6666 |
| 1454 | 6277 | Creating a Patch File | 6670 |
| 1455 | 6281 | First you need to make |
6674 |
| 1456 | 6285 | The Create Patch dialog | 6678 |
| 1457 | 6289 | you can now select the files you want included in the patch, just as you would with a full commit. This will produce a single file containing a summary of all the changes you have made to the selected files since the last update from the repository. | 6682 |
| 1458 | 6293 | You can produce separate patches containing changes to different sets of files. Of course, if you create a patch file, make some more changes to the |
6686 |
| 1459 | 6297 | Just save the file using a filename of your choice. Patch files can have any extension you like, but by convention they should use the |
6690 |
| 1460 | 6301 | You can also save the patch to the clipboard instead of to a file. You might want to do this so that you can paste it into an email for review by others. Or if you have two working copies on one machine and you want to transfer changes from one to the other, a patch on the clipboard is a convenient way of doing this. | 6694 |
| 1461 | 6305 | Applying a Patch File | 6698 |
| 1462 | 6309 | Patch files are applied to your working copy. This should be done from the same folder level as was used to create the patch. If you are not sure what this is, just look at the first line of the patch file. For example, if the first file being worked on was |
6702 |
| 1463 | 6313 | In order to apply a patch file to your working copy, you need to have at least read access to the repository. The reason for this is that the merge program must reference the changes back to the revision against which they were made by the remote developer. | 6706 |
| 1464 | 6317 | From the context menu for that folder, click on All files. If you previously saved a patch to the clipboard, you can use |
6710 |
| 1465 | 6321 | Alternatively, if the patch file has a |
6714 |
| 1466 | 6325 | These two methods just offer different ways of doing the same thing. With the first method you select the WC and browse to the patch file. With the second you select the patch file and browse to the WC. | 6718 |
| 1467 | 6329 | Once you have selected the patch file and working copy location, TortoiseMerge runs to merge the changes from the patch file with your working copy. A small window lists the files which have been changed. Double click on each one in turn, review the changes and save the merged files. | 6722 |
| 1468 | 6333 | The remote developer's patch has now been applied to your working copy, so you need to commit to allow everyone else to access the changes from the repository. | 6726 |
| 1469 | 6337 | Who Changed Which Line? | 6730 |
| 1470 | 6341 | blame | 6734 |
| 1471 | 6345 | annotate | 6738 |
| 1472 | 6349 | praise | 6742 |
| 1473 | 6353 | Sometimes you need to know not only what lines have changed, but also who exactly changed specific lines in a file. That's when the |
6746 |
| 1474 | 6357 | This command lists, for every line in a file, the author and the revision the line was changed. | 6750 |
| 1475 | 6361 | Blame for Files | 6754 |
| 1476 | 6365 | The Annotate / Blame Dialog | 6758 |
| 1477 | 6369 | 6762 | |
| 1478 | 6373 | By default the blame file is viewed using |
6766 |
| 1479 | 6377 | You can specify the way that line ending and whitespace changes are handled. These options are described in |
6770 |
| 1480 | 6381 | Once you press |
6774 |
| 1481 | 6389 | 6782 | |
| 1482 | 6393 | If you |
6786 |
| 1483 | 6397 | The revision comments (log message) are shown in a hint box whenever the mouse hovers over the blame info column. If you want to copy the log message for that revision, use the context menu which appears when you right click on the blame info column. | 6790 |
| 1484 | 6401 | You can search within the Blame report using |
6794 |
| 1485 | 6405 | You can also jump to a specific line number using |
6798 |
| 1486 | 6409 | When the mouse is over the blame info columns, a context menu is available which helps with comparing revisions and examining history, using the revision number of the line under the mouse as a reference. |
6802 |
| 1487 | 6413 | If you need a better visual indicator of where the oldest and newest changes are, select |
6806 |
| 1488 | 6417 | If you are using Merge Tracking, where lines have changed as a result of merging from another path, TortoiseBlame will show the revision and author of the last change in the original file rather than the revision where the merge took place. These lines are indicated by showing the revision and author in italics. If you do not want merged lines shown in this way, uncheck the |
6810 |
| 1489 | 6421 | If you want to see the paths involved in the merge, select |
6814 |
| 1490 | 6425 | The settings for TortoiseBlame can be accessed using |
6818 |
| 1491 | 6429 | Blame Differences | 6822 |
| 1492 | 6433 | One of the limitations of the Blame report is that it only shows the file as it was in a particular revision, and shows the last person to change each line. Sometimes you want to know what change was made, as well as who made it. What you need here is a combination of the diff and blame reports. | 6826 |
| 1493 | 6437 | Blame Revisions | 6830 |
| 1494 | 6441 | In the top pane, select 2 revisions, then select |
6834 |
| 1495 | 6445 | Blame Changes | 6838 |
| 1496 | 6449 | Select one revision in the top pane, then pick one file in the bottom pane and select |
6842 |
| 1497 | 6453 | Compare and Blame with Working BASE | 6846 |
| 1498 | 6457 | Show the log for a single file, and in the top pane, select a single revision, then select |
6850 |
| 1499 | 6461 | The revision log dialog includes several options which allow you to do this. |
6854 |
| 1500 | 6466 | The Repository Browser | 6859 |
| 1501 | 6470 | repo-browser | 6863 |
| 1502 | 6474 | server-side actions | 6867 |
| 1503 | 6478 | server viewer | 6871 |
| 1504 | 6482 | Sometimes you need to work directly on the repository, without having a working copy. That's what the |
6875 |
| 1505 | 6486 | The repository browser looks very similar to the Windows explorer, except that it is showing the content of the repository at a particular revision rather than files on your computer. In the left pane you can see a directory tree, and in the right pane are the contents of the selected directory. At the top of the Repository Browser Window you can enter the URL of the repository and the revision you want to browse. | 6879 |
| 1506 | 6490 | Just like Windows explorer, you can click on the column headings in the right pane if you want to set the sort order. And as in explorer there are context menus available in both panes. | 6883 |
| 1507 | 6494 | Save an unversioned copy of the file to your hard drive. | 6887 |
| 1508 | 6498 | Show the revision log for that file, or show a graph of all revisions so you can see where the file came from. | 6891 |
| 1509 | 6502 | Blame the file, to see who changed which line and when. | 6895 |
| 1510 | 6506 | Delete or rename the file. | 6899 |
| 1511 | 6510 | Make a copy of the file, either to a different part of the repository, or to a working copy rooted in the same repository. | 6903 |
| 1512 | 6514 | View/Edit the file's properties. | 6907 |
| 1513 | 6518 | The context menu for a file allows you to: |
6911 |
| 1514 | 6522 | Show the revision log for that folder, or show a graph of all revisions so you can see where the folder came from. | 6915 |
| 1515 | 6526 | Export the folder to a local unversioned copy on your hard drive. | 6919 |
| 1516 | 6530 | Checkout the folder to produce a local working copy on your hard drive. | 6923 |
| 1517 | 6534 | Create a new folder in the repository. | 6927 |
| 1518 | 6538 | Add files or folders directly to the repository. | 6931 |
| 1519 | 6542 | Delete or rename the folder. | 6935 |
| 1520 | 6546 | Make a copy of the folder, either to a different part of the repository, or to a working copy rooted in the same repository. This can also be used to create a branch/tag without the need to have a working copy checked out. | 6939 |
| 1521 | 6550 | View/Edit the folder's properties. | 6943 |
| 1522 | 6554 | Mark the folder for comparison. A marked folder is shown in bold. | 6947 |
| 1523 | 6558 | Compare the folder with a previously marked folder, either as a unified diff, or as a list of changed files which can then be visually diffed using the default diff tool. This can be particularly useful for comparing two tags, or trunk and branch to see what changed. | 6951 |
| 1524 | 6562 | The context menu for a folder allows you to: |
6955 |
| 1525 | 6566 | If you select two folders in the right pane, you can view the differences either as a unified-diff, or as a list of files which can be visually diffed using the default diff tool. | 6959 |
| 1526 | 6570 | If you select multiple folders in the right pane, you can checkout all of them at once into a common parent folder. | 6963 |
| 1527 | 6574 | If you select 2 tags which are copied from the same root (typically |
6967 |
| 1528 | 6578 | You can use |
6971 |
| 1529 | 6582 | You can also use the repository browser for drag-and-drop operations. If you drag a folder from explorer into the repo-browser, it will be imported into the repository. Note that if you drag multiple items, they will be imported in separate commits. | 6975 |
| 1530 | 6586 | If you want to move an item within the repository, just plussymbol on it, just as it does in Explorer. |
6979 |
| 1531 | 6590 | If you want to copy/move a file or folder to another location and also give it a new name at the same time, you can |
6983 |
| 1532 | 6594 | Whenever you make changes in the repository using one of these methods, you will be presented with a log message entry dialog. If you dragged something by mistake, this is also your chance to cancel the action. | 6987 |
| 1533 | 6598 | Sometimes when you try to open a path you will get an error message in place of the item details. This might happen if you specified an invalid URL, or if you don't have access permission, or if there is some other server problem. If you need to copy this message to include it in an email, just right click on it and use |
6991 |
| 1534 | 6602 | Revision Graphs | 6995 |
| 1535 | 6606 | graph | 6999 |
| 1536 | 6610 | revision graph | 7003 |
| 1537 | 6614 | A Revision Graph | 7007 |
| 1538 | 6618 | 7011 | |
| 1539 | 6622 | This command analyses the revision history and attempts to create a tree showing the points at which copies were taken, and when branches/tags were deleted. | 7015 |
| 1540 | 6626 | In order to generate the graph, TortoiseSVN must fetch all log messages from the repository root. Needless to say this can take several minutes even with a repository of a few thousand revisions, depending on server speed, network bandwidth, etc. If you try this with something like the |
7019 |
| 1541 | 6630 | The good news is that if you are using log caching, you only have to suffer this delay once. After that, log data is held locally. Log caching is enabled in TortoiseSVN's settings. | 7023 |
| 1542 | 6634 | Revision Graph Nodes | 7027 |
| 1543 | 6638 | Added or copied items | 7031 |
| 1544 | 6642 | Items which have been added, or created by copying another file/folder are shown using a rounded rectangle. The default colour is green. Tags and trunks are treated as a special case and use a different shade, depending on the |
7035 |
| 1545 | 6646 | Deleted items | 7039 |
| 1546 | 6650 | Deleted items eg. a branch which is no longer required, are shown using an octagon (rectangle with corners cut off). The default colour is red. | 7043 |
| 1547 | 6654 | Renamed items | 7047 |
| 1548 | 6658 | Renamed items are also shown using an octagon, but the default colour is blue. | 7051 |
| 1549 | 6662 | Branch tip revision | 7055 |
| 1550 | 6666 | The graph is normally restricted to showing branch points, but it is often useful to be able to see the respective HEAD revision for each branch too. If you select |
7059 |
| 1551 | 6670 | Working copy revision | 7063 |
| 1552 | 6674 | If you invoked the revision graph from a working copy, you can opt to show the BASE revision on the graph using |
7067 |
| 1553 | 6678 | Modified working copy | 7071 |
| 1554 | 6682 | If you invoked the revision graph from a working copy, you can opt to show an additional node representing your modified working copy using |
7075 |
| 1555 | 6686 | Normal item | 7079 |
| 1556 | 6690 | All other items are shown using a plain rectangle. | 7083 |
| 1557 | 6694 | Each revision graph node represents a revision in the repository where something changed in the tree you are looking at. Different types of node can be distinguished by shape and colour. The shapes are fixed, but colours can be set using |
7087 |
| 1558 | 6698 | Note that by default the graph only shows the points at which items were added, copied or deleted. Showing every revision of a project will generate a very large graph for non-trivial cases. If you really want to see |
7091 |
| 1559 | 6702 | The default view (grouping off) places the nodes such that their vertical position is in strict revision order, so you have a visual cue for the order in which things were done. Where two nodes are in the same column the order is very obvious. When two nodes are in adjacent columns the offset is much smaller because there is no need to prevent the nodes from overlapping, and as a result the order is a little less obvious. Such optimisations are necessary to keep complex graphs to a reasonable size. Please note that this ordering uses the |
7095 |
| 1560 | 6706 | Changing the View | 7099 |
| 1561 | 6710 | Group branches | 7103 |
| 1562 | 6714 | The default behavior (grouping off) has all rows sorted strictly by revision. As a result, long-living branches with sparse commits occupy a whole column for only a few changes and the graph becomes very broad. | 7107 |
| 1563 | 6718 | This mode groups changes by branch, so that there is no global revision ordering: Consecutive revisions on a branch will be shown in (often) consecutive lines. Sub-branches, however, are arranged in such a way that later branches will be shown in the same column above older branches to keep the graph slim. As a result, a given row may contain changes from different revisions. | 7111 |
| 1564 | 6722 | Oldest on top | 7115 |
| 1565 | 6726 | Normally the graph shows the oldest revision at the bottom, and the tree grows upwards. Use this option to grow down from the top instead. | 7119 |
| 1566 | 6730 | Align trees on top | 7123 |
| 1567 | 6734 | When a graph is broken into several smaller trees, the trees may appear either in natural revision order, or aligned at the bottom of the window, depending on whether you are using the |
7127 |
| 1568 | 6738 | Reduce cross lines | 7131 |
| 1569 | 6742 | If the layout of the graph has produced a lot of crossing lines, use this option to clean it up. This may make the layout columns appear in less logical places, for example in a diagonal line rather than a column, and the graph may require a larger area to draw. | 7135 |
| 1570 | 6746 | Differential path names | 7139 |
| 1571 | 6750 | Long path names can take a lot of space and make the node boxes very large. Use this option to show only the changed part of a path, replacing the common part with dots. E.g. if you create a branch |
7143 |
| 1572 | 6754 | Show all revisions | 7147 |
| 1573 | 6758 | This does just what you expect and shows every revision where something (in the tree that you are graphing) has changed. For long histories this can produce a truly huge graph. | 7151 |
| 1574 | 6762 | Show HEAD revisions | 7155 |
| 1575 | 6766 | This ensures that the latest revision on every branch is always shown on the graph. | 7159 |
| 1576 | 6770 | Exact copy sources | 7163 |
| 1577 | 6774 | When a branch/tag is made, the default behaviour is to show the branch as taken from the last node where a change was made. Strictly speaking this is inaccurate since the branches are often made from the current HEAD rather than a specific revision. So it is possible to show the more correct (but less useful) revision that was used to create the copy. Note that this revision may be younger than the HEAD revision of the source branch. | 7167 |
| 1578 | 6778 | Fold tags | 7171 |
| 1579 | 6782 | When a project has many tags, showing every tag as a separate node on the graph takes a lot of space and obscures the more interesting development branch structure. At the same time you may need to be able to access the tag content easily so that you can compare revisions. This option hides the nodes for tags and shows them instead in the tooltip for the node that they were copied from. A tag icon on the right side of the source node indicates that tags were made. | 7175 |
| 1580 | 6786 | Hide deleted paths | 7179 |
| 1581 | 6790 | Hides paths which are no longer present at the HEAD revision of the repository, e.g. deleted branches. | 7183 |
| 1582 | 6794 | Hide unchanged branches | 7187 |
| 1583 | 6798 | Hides branches where no changes were committed to the respective file or sub-folder. This does not necessarily indicate that the branch was not used, just that no changes were made to |
7191 |
| 1584 | 6802 | Show WC revision | 7195 |
| 1585 | 6806 | Marks the revision on the graph which corresponds to the update revision of the item you fetched the graph for. If you have just updated, this will be HEAD, but if others have committed changes since your last update your WC may be a few revisions lower down. The node is marked by giving it a bold outline. | 7199 |
| 1586 | 6810 | Show WC modifications | 7203 |
| 1587 | 6814 | If your WC contains local changes, this option draws it as a separate elliptical node, linked back to the node that your WC was last updated to. The default outline colour is red. You may need to refresh the graph using |
7207 |
| 1588 | 6818 | Filter | 7211 |
| 1589 | 6822 | Sometimes the revision graph contains more revisions than you want to see. This option opens a dialog which allows you to restrict the range of revisions displayed, and to hide particular paths by name. | 7215 |
| 1590 | 6826 | Tree stripes | 7219 |
| 1591 | 6830 | Where the graph contains several trees, it is sometimes useful to use alternating colours on the background to help distinguish between trees. | 7223 |
| 1592 | 6834 | Show overview | 7227 |
| 1593 | 6838 | Shows a small picture of the entire graph, with the current view window as a rectangle which you can drag. This allows you to navigate the graph more easily. Note that for very large graphs the overview may become useless due to the extreme zoom factor and will therefore not be shown in such cases. | 7231 |
| 1594 | 6842 | Because a revision graph is often quite complex, there are a number of features which can be used to tailor the view the way you want it. These are available in the |
7235 |
| 1595 | 6846 | Using the Graph | 7239 |
| 1596 | 6850 | To make it easier to navigate a large graph, use the overview window. This shows the entire graph in a small window, with the currently displayed portion highlighted. You can drag the highlighted area to change the displayed region. | 7243 |
| 1597 | 6854 | The revision date, author and comments are shown in a hint box whenever the mouse hovers over a revision box. | 7247 |
| 1598 | 6858 | If you select two revisions (Use |
7251 |
| 1599 | 6862 | You can view the differences as a Unified-Diff file, which shows all differences in a single file with minimal context. If you opt to |
7255 |
| 1600 | 6866 | If you |
7259 |
| 1601 | 6870 | You can also merge changes in the selected revision(s) into a different working copy. A folder selection dialog allows you to choose the working copy to merge into, but after that there is no confirmation dialog, nor any opportunity to try a test merge. It is a good idea to merge into an unmodified working copy so that you can revert the changes if it doesn't work out! This is a useful feature if you want to merge selected revisions from one branch to another. | 7263 |
| 1602 | 6874 | Learn to Read the Revision Graph | 7267 |
| 1603 | 6878 | First-time users may be surprised by the fact that the revision graph shows something that does not match the user's mental model. If a revision changes multiple copies or branches of a file or folder, for instance, then there will be multiple nodes for that single revision. It is a good practice to start with the leftmost options in the toolbar and customize the graph step-by-step until it comes close to your mental model. | 7271 |
| 1604 | 6882 | All filter options try lose as little information as possible. That may cause some nodes to change their color, for instance. Whenever the result is unexpected, undo the last filter operation and try to understand what is special about that particular revision or branch. In most cases, the initially expected outcome of the filter operation would either be inaccurate or misleading. | 7275 |
| 1605 | 6886 | If you want to check the server again for newer information, you can simply refresh the view using |
7279 |
| 1606 | 6890 | If you are using the log cache and you think the message content or author may have changed, you should use the log dialog to refresh the messages you need. Since the revision graph works from the repository root, we would have to invalidate the entire log cache, and refilling it could take a |
7283 |
| 1607 | 6894 | Pruning Trees | 7287 |
| 1608 | 6898 | A large tree can be difficult to navigate and sometimes you will want to hide parts of it, or break it down into a forest of smaller trees. If you hover the mouse over the point where a node link enters or leaves the node you will see one or more popup buttons which allow you to do this. | 7291 |
| 1609 | 6902 | 7295 | |
| 1610 | 6906 | 7299 | |
| 1611 | 6910 | 7303 | |
| 1612 | 6914 | 7307 | |
| 1613 | 6918 | Click on the graph background for the main context menu, which offers options to |
7311 |
| 1614 | 6922 | Exporting a Subversion Working Copy | 7315 |
| 1615 | 6926 | export | 7319 |
| 1616 | 6930 | unversioned 'working copy' | 7323 |
| 1617 | 6934 | Sometimes you may want a copy of your working tree without any of those |
7327 |
| 1618 | 6938 | The Export-from-URL Dialog | 7331 |
| 1619 | 6942 | 7335 | |
| 1620 | 6946 | Of course you can export directly from the repository too. Use the Repository Browser to navigate to the relevant subtree in your repository, then use |
7339 |
| 1621 | 6950 | If you execute this command on your working copy you'll be asked for a place to save the |
7343 |
| 1622 | 6954 | Another way to export from a working copy is to |
7347 |
| 1623 | 6958 | When exporting from a working copy, if the target folder already contains a folder of the same name as the one you are exporting, you will be given the option to overwrite the existing content, or to create a new folder with an automatically generated name, eg. |
7351 |
| 1624 | 6962 | Exporting single files | 7355 |
| 1625 | 6966 | The export dialog does not allow exporting single files, even though Subversion can. | 7359 |
| 1626 | 6970 | To export single files with TortoiseSVN, you have to use the repository browser ( |
7363 |
| 1627 | 6974 | Exporting a Change Tree | 7367 |
| 1628 | 6978 | If you want to export a copy of your project tree structure but containing only the files which have changed in a particular revision, or between any two revisions, use the compare revisions feature described in |
7371 |
| 1629 | 6982 | Removing a working copy from version control | 7375 |
| 1630 | 6987 | unversion | 7380 |
| 1631 | 6991 | Sometimes you have a working copy which you want to convert back to a normal folder without the |
7384 |
| 1632 | 6995 | The answer is surprisingly simple - export the folder to itself! TortoiseSVN detects this special case and asks if you want to make the working copy unversioned. If you answer |
7388 |
| 1633 | 6999 | Relocating a working copy | 7392 |
| 1634 | 7003 | relocate | 7396 |
| 1635 | 7007 | URL changed | 7400 |
| 1636 | 7011 | repository URL changed | 7404 |
| 1637 | 7015 | server moved | 7408 |
| 1638 | 7019 | moved server | 7412 |
| 1639 | 7023 | The Relocate Dialog | 7416 |
| 1640 | 7027 | 7420 | |
| 1641 | 7031 | You may be surprised to find that TortoiseSVN contacts the repository as part of this operation. All it is doing is performing some simple checks to make sure that the new URL really does refer to the same repository as the existing working copy. | 7424 |
| 1642 | 7035 | The IP address of the server has changed. | 7428 |
| 1643 | 7039 | The protocol has changed (e.g. http:// to https://). | 7432 |
| 1644 | 7043 | The repository root path in the server setup has changed. | 7436 |
| 1645 | 7047 | 7440 | |
| 1646 | 7051 | You want to move to a different Subversion repository. In that case you should perform a clean checkout from the new repository location. | 7444 |
| 1647 | 7055 | You want to switch to a different branch or directory within the same repository. To do that you should use |
7448 |
| 1648 | 7059 | It does not apply if: |
7452 |
| 1649 | 7063 | If you use relocate in either of the cases above, it |
7456 |
| 1650 | 7067 | Integration with Bug Tracking Systems / Issue Trackers | 7460 |
| 1651 | 7071 | bug tracking | 7464 |
| 1652 | 7075 | bug tracker | 7468 |
| 1653 | 7080 | issue tracker | 7473 |
| 1654 | 7084 | bugtracker | 7477 |
| 1655 | 7088 | It is very common in Software Development for changes to be related to a specific bug or issue ID. Users of bug tracking systems (issue trackers) would like to associate the changes they make in Subversion with a specific ID in their issue tracker. Most issue trackers therefore provide a pre-commit hook script which parses the log message to find the bug ID with which the commit is associated. This is somewhat error prone since it relies on the user to write the log message properly so that the pre-commit hook script can parse it correctly. | 7481 |
| 1656 | 7092 | When the user enters a log message, a well defined line including the issue number associated with the commit can be added automatically. This reduces the risk that the user enters the issue number in a way the bug tracking tools can't parse correctly. | 7485 |
| 1657 | 7096 | Or TortoiseSVN can highlight the part of the entered log message which is recognized by the issue tracker. That way the user knows that the log message can be parsed correctly. | 7489 |
| 1658 | 7100 | When the user browses the log messages, TortoiseSVN creates a link out of each bug ID in the log message which fires up the browser to the issue mentioned. | 7493 |
| 1659 | 7104 | TortoiseSVN can help the user in two ways: |
7497 |
| 1660 | 7108 | Adding Issue Numbers to Log Messages | 7501 |
| 1661 | 7112 | You can integrate a bug tracking tool of your choice in TortoiseSVN. To do this, you have to define some properties, which start with |
7505 |
| 1662 | 7116 | Set this property to the URL of your bug tracking tool. It must be properly URI encoded and it has to contain |
7509 |
| 1663 | 7120 | You can also use relative URLs instead of absolute ones. This is useful when your issue tracker is on the same domain/server as your source repository. In case the domain name ever changes, you don't have to adjust the |
7513 |
| 1664 | 7124 | If it begins with the string |
7517 |
| 1665 | 7128 | A URL beginning with the string |
7521 |
| 1666 | 7132 | Set this to |
7525 |
| 1667 | 7136 | There are two ways to integrate TortoiseSVN with issue trackers. One is based on simple strings, the other is based on |
7529 |
| 1668 | 7140 | Issue Number in Text Box | 7533 |
| 1669 | 7144 | This property activates the bug tracking system in |
7537 |
| 1670 | 7148 | This property defines if the bug-ID is appended (true) to the end of the log message or inserted (false) at the start of the log message. Valid values are |
7541 |
| 1671 | 7152 | This text is shown by TortoiseSVN on the commit dialog to label the edit box where you enter the issue number. If it's not set, |
7545 |
| 1672 | 7156 | If set to |
7549 |
| 1673 | 7160 | In the simple approach, TortoiseSVN shows the user a separate input field where a bug ID can be entered. Then a separate line is appended/prepended to the log message the user entered. |
7553 |
| 1674 | 7164 | Issue Numbers Using Regular Expressions | 7557 |
| 1675 | 7168 | This property activates the bug tracking system in |
7561 |
| 1676 | 7172 | If two expressions are set, then the first expression is used as a pre-filter to find expressions which contain bug IDs. The second expression then extracts the bare bug IDs from the result of the first regex. This allows you to use a list of bug IDs and natural language expressions if you wish. e.g. you might fix several bugs and include a string something like this: This change resolves issues #23, #24 and #25 |
7565 |
| 1677 | 7176 | If you want to catch bug IDs as used in the expression above inside a log message, you could use the following regex strings, which are the ones used by the TortoiseSVN project: |
7569 |
| 1678 | 7180 | The first expression picks out issues #23, #24 and #25from the surrounding log message. The second regex extracts plain decimal numbers from the output of the first regex, so it will return 23, 24and 25to use as bug IDs. |
7573 |
| 1679 | 7184 | Breaking the first regex down a little, it must start with the word issue, possibly capitalised. This is optionally followed by an s(more than one issue) and optionally a colon. This is followed by one or more groups each having zero or more leading whitespace, an optional comma or andand more optional space. Finally there is a mandatory #and a mandatory decimal number. |
7577 |
| 1680 | 7188 | If only one expression is set, then the bare bug IDs must be matched in the groups of the regex string. Example: |
7581 |
| 1681 | 7192 | If you are unfamiliar with regular expressions, take a look at the introduction at |
7585 |
| 1682 | 7196 | In the approach with |
7589 |
| 1683 | 7200 | If both the |
7593 |
| 1684 | 7204 | Even if you don't have an issue tracker with a pre-commit hook parsing your log messages, you still can use this to turn the issues mentioned in your log messages into links! | 7597 |
| 1685 | 7208 | And even if you don't need the links, the issue numbers show up as a separate column in the log dialog, making it easier to find the changes which relate to a particular issue. | 7601 |
| 1686 | 7213 | Set the Properties on Folders | 7606 |
| 1687 | 7218 | These properties must be set on folders for the system to work. When you commit a file or folder the properties are read from that folder. If the properties are not found there, TortoiseSVN will search upwards through the folder tree to find them until it comes to an unversioned folder, or the tree root (eg. |
7611 |
| 1688 | 7222 | No Issue Tracker Information from Repository Browser | 7615 |
| 1689 | 7226 | Because the issue tracker integration depends upon accessing subversion properties, you will only see the results when using a checked out working copy. Fetching properties remotely is a slow operation, so you will not see this feature in action from the repo browser unless you started the repo browser from your working copy. If you started the repo browser by entering the URL of the repository you won't see this feature. | 7619 |
| 1690 | 7231 | For the same reason, project properties will not be propagated automatically when a child folder is added using the repo browser. | 7624 |
| 1691 | 7235 | This issue tracker integration is not restricted to TortoiseSVN; it can be used with any Subversion client. For more information, read the full |
7628 |
| 1692 | 7239 | Getting Information from the Issue Tracker | 7632 |
| 1693 | 7243 | The previous section deals with adding issue information to the log messages. But what if you need to get information from the issue tracker? The commit dialog has a COM interface which allows integration an external program that can talk to your tracker. Typically you might want to query the tracker to get a list of open issues assigned to you, so that you can pick the issues that are being addressed in this commit. | 7636 |
| 1694 | 7247 | Any such interface is of course highly specific to your issue tracker system, so we cannot provide this part, and describing how to create such a program is beyond the scope of this manual. The interface definition and sample plugins in C# and C++/ATL can be obtained from the |
7640 |
| 1695 | 7251 | Example issue tracker query dialog | 7644 |
| 1696 | 7255 | For illustration purposes, let's suppose that your system administrator has provided you with an issue tracker plugin which you have installed, and that you have set up some of your working copies to use the plugin in TortoiseSVN's settings dialog. When you open the commit dialog from a working copy to which the plugin has been assigned, you will see a new button at the top of the dialog. |
7648 |
| 1697 | 7259 | Integration with Web-based Repository Viewers | 7652 |
| 1698 | 7263 | web view | 7656 |
| 1699 | 7267 | repo viewer | 7660 |
| 1700 | 7279 | There are several web-based repository viewers available for use with Subversion such as |
7672 |
| 1701 | 7283 | You can integrate a repo viewer of your choice in TortoiseSVN. To do this, you have to define some properties which define the linkage. They must be set on Folders: ( |
7676 |
| 1702 | 7287 | Set this property to the URL of your repo viewer to view all changes in a specific revision. It must be properly URI encoded and it has to contain |
7680 |
| 1703 | 7291 | Set this property to the URL of your repo viewer to view changes to a specific file in a specific revision. It must be properly URI encoded and it has to contain |
7684 |
| 1704 | 7295 | You can also use relative URLs instead of absolute ones. This is useful in case your web viewer is on the same domain/server as your source repository. In case the domain name ever changes, you don't have to adjust the |
7688 |
| 1705 | 7299 | Because the repo viewer integration depends upon accessing subversion properties, you will only see the results when using a checked out working copy. Fetching properties remotely is a slow operation, so you will not see this feature in action from the repo browser unless you started the repo browser from your working copy. If you started the repo browser by entering the URL of the repository you won't see this feature. | 7692 |
| 1706 | 7303 | TortoiseSVN's Settings | 7696 |
| 1707 | 7307 | settings | 7700 |
| 1708 | 7311 | To find out what the different settings are for, just leave your mouse pointer a second on the editbox/checkbox... and a helpful tooltip will popup. | 7704 |
| 1709 | 7315 | General Settings | 7708 |
| 1710 | 7319 | sounds | 7712 |
| 1711 | 7323 | The Settings Dialog, General Page | 7716 |
| 1712 | 7327 | 7720 | |
| 1713 | 7331 | Language | 7724 |
| 1714 | 7335 | Selects your user interface language. What else did you expect? | 7728 |
| 1715 | 7339 | Check for updates | |
| 1716 | 7343 | TortoiseSVN will contact its download site periodically to see if there is a newer version of the program available. If there is it will show a notification link in the commit dialog. Use |
|
| 1717 | 7347 | System sounds | 7740 |
| 1718 | 7351 | Error | 7744 |
| 1719 | 7355 | Notice | 7748 |
| 1720 | 7359 | Warning | 7752 |
| 1721 | 7363 | TortoiseSVN has three custom sounds which are installed by default. |
7756 |
| 1722 | 7367 | Global ignore pattern | 7760 |
| 1723 | 7371 | exclude pattern | 7764 |
| 1724 | 7375 | global ignore | 7768 |
| 1725 | 7379 | Global ignore patterns are used to prevent unversioned files from showing up e.g. in the commit dialog. Files matching the patterns are also ignored by an import. Ignore files or directories by typing in the names or extensions. Patterns are separated by spaces e.g. |
7772 |
| 1726 | 7383 | Note that the ignore patterns you specify here will also affect other Subversion clients running on your PC, including the command line client. | 7776 |
| 1727 | 7387 | If you use the Subversion configuration file to set a |
7780 |
| 1728 | 7391 | This ignore pattern will affect all your projects. It is not versioned, so it will not affect other users. By contrast you can also use the versioned |
7784 |
| 1729 | 7395 | Set file dates to the last commit time |
7788 |
| 1730 | 7399 | This option tells TortoiseSVN to set the file dates to the last commit time when doing a checkout or an update. Otherwise TortoiseSVN will use the current date. If you are developing software it is generally best to use the current date because build systems normally look at the date stamps to decide which files need compiling. If you use last commit timeand revert to an older file revision, your project may not compile as you expect it to. |
7792 |
| 1731 | 7403 | Subversion configuration file | 7796 |
| 1732 | 7407 | Use |
7800 |
| 1733 | 7411 | Use |
7804 |
| 1734 | 7415 | VS.NET when used with web projects can't handle the |
7808 |
| 1735 | 7419 | If you want to change the behaviour of Subversion and TortoiseSVN, you can use this checkbox to set the environment variable which controls this. | 7812 |
| 1736 | 7423 | You should note that changing this option will not automatically convert existing working copies to use the new admin directory. You will have to do that yourself using a script (See our FAQ) or simply check out a fresh working copy. | 7816 |
| 1737 | 7427 | Context Menu Settings | 7820 |
| 1738 | 7431 | The Settings Dialog, Context Menu Page | 7824 |
| 1739 | 7435 | 7828 | |
| 1740 | 7439 | There is a special case for |
7832 |
| 1741 | 7443 | If there are some paths on your computer where you just don't want TortoiseSVN's context menu to appear at all, you can list them in the box at the bottom. | 7836 |
| 1742 | 7447 | TortoiseSVN Dialog Settings 1 | 7840 |
| 1743 | 7451 | The Settings Dialog, Dialogs 1 Page | 7844 |
| 1744 | 7455 | 7848 | |
| 1745 | 7459 | Default number of log messages | 7852 |
| 1746 | 7463 | Limits the number of log messages that TortoiseSVN fetches when you first select |
7856 |
| 1747 | 7467 | Font for log messages | 7860 |
| 1748 | 7471 | Selects the font face and size used to display the log message itself in the middle pane of the Revision Log dialog, and when composing log messages in the Commit dialog. | 7864 |
| 1749 | 7475 | Short date / time format in log messages | 7868 |
| 1750 | 7479 | If the standard long messages use up too much space on your screen use the short format. | 7872 |
| 1751 | 7483 | Can double-click in log list to compare with previous revision | 7876 |
| 1752 | 7487 | If you frequently find yourself comparing revisions in the top pane of the log dialog, you can use this option to allow that action on double-click. It is not enabled by default because fetching the diff is often a long process, and many people prefer to avoid the wait after an accidental double-click, which is why this option is not enabled by default. | 7880 |
| 1753 | 7491 | Auto-close | |
| 1754 | 7495 | TortoiseSVN can automatically close all progress dialogs when the action is finished without error. This setting allows you to select the conditions for closing the dialogs. The default (recommended) setting is |
7888 |
| 1755 | 7499 | 7892 | |
| 1756 | 7503 | 7900 | |
| 1757 | 7507 | 7904 | |
| 1758 | 7511 | Always close dialogs for local operations | |
| 1759 | 7515 | Local operations like adding files or reverting changes do not need to contact the repository and complete quickly, so the progress dialog is often of little interest. Select this option if you want the progress dialog to close automatically after these operations, unless there are errors. | |
| 1760 | 7519 | Use recycle bin when reverting | 7908 |
| 1761 | 7523 | When you revert local modifications, your changes are discarded. TortoiseSVN gives you an extra safety net by sending the modified file to the recycle bin before bringing back the pristine copy. If you prefer to skip the recycle bin, uncheck this option. | 7912 |
| 1762 | 7527 | Use URL of WC as the default From:URL |
7916 |
| 1763 | 7531 | In the merge dialog, the default behaviour is for the |
7920 |
| 1764 | 7535 | Default checkout path | 7924 |
| 1765 | 7539 | You can specify the default path for checkouts. If you keep all your checkouts in one place, it is useful to have the drive and folder pre-filled so you only have to add the new folder name to the end. | 7928 |
| 1766 | 7543 | Default checkout URL | 7932 |
| 1767 | 7547 | You can also specify the default URL for checkouts. If you often checkout sub-projects of some very large project, it can be useful to have the URL pre-filled so you only have to add the sub-project name to the end. | 7936 |
| 1768 | 7551 | TortoiseSVN Dialog Settings 2 | 7940 |
| 1769 | 7555 | The Settings Dialog, Dialogs 2 Page | 7944 |
| 1770 | 7559 | Recurse into unversioned folders | 7948 |
| 1771 | 7563 | If this box is checked (default state), then whenever the status of an unversioned folder is shown in the |
7952 |
| 1772 | 7567 | In the |
7956 |
| 1773 | 7571 | Use auto-completion of file paths and keywords | 7960 |
| 1774 | 7575 | The commit dialog includes a facility to parse the list of filenames being committed. When you type the first 3 letters of an item in the list, the auto-completion box pops up, and you can press Enter to complete the filename. Check the box to enable this feature. | 7964 |
| 1775 | 7579 | Timeout in seconds to stop the auto-completion parsing | 7968 |
| 1776 | 7583 | The auto-completion parser can be quite slow if there are a lot of large files to check. This timeout stops the commit dialog being held up for too long. If you are missing important auto-completion information, you can extend the timeout. | 7972 |
| 1777 | 7587 | Only use spellchecker when |
7976 |
| 1778 | 7591 | If you don't wish to use the spellchecker for all commits, check this box. The spellchecker will still be enabled where the project properties require it. | 7980 |
| 1779 | 7595 | Max. items to keep in the log message history | 7984 |
| 1780 | 7599 | When you type in a log message in the commit dialog, TortoiseSVN stores it for possible re-use later. By default it will keep the last 25 log messages for each repository, but you can customize that number here. If you have many different repositories, you may wish to reduce this to avoid filling your registry. | 7988 |
| 1781 | 7603 | Note that this setting applies only to messages that you type in on this computer. It has nothing to do with the log cache. | 7992 |
| 1782 | 7607 | Re-open commit and branch/tag dialog after a commit failed | 7996 |
| 1783 | 7611 | When a commit fails for some reason (working copy needs updating, pre-commit hook rejects commit, network error, etc), you can select this option to keep the commit dialog open ready to try again. However, you should be aware that this can lead to problems. If the failure means you need to update your working copy, and that update leads to conflicts you must resolve those first. | 8000 |
| 1784 | 7615 | Select items automatically | 8004 |
| 1785 | 7619 | The normal behaviour in the commit dialog is for all modified (versioned) items to be selected for commit automatically. If you prefer to start with nothing selected and pick the items for commit manually, uncheck this box. | 8008 |
| 1786 | 7623 | Contact the repository on startup | 8012 |
| 1787 | 7627 | The Check for Modifications dialog checks the working copy by default, and only contacts the repository when you click |
8016 |
| 1788 | 7631 | Show Lock dialog before locking files | 8020 |
| 1789 | 7635 | When you select one or more files and then use |
8024 |
| 1790 | 7639 | If you use the lock command on a folder, you are always presented with the lock dialog as that also gives you the option to select files for locking. | 8028 |
| 1791 | 7643 | If your project is using the |
8032 |
| 1792 | 7647 | TortoiseSVN Colour Settings | 8036 |
| 1793 | 7651 | The Settings Dialog, Colours Page | 8040 |
| 1794 | 7655 | 8044 | |
| 1795 | 7659 | Possible or real conflict / obstructed | 8048 |
| 1796 | 7663 | A conflict has occurred during update, or may occur during merge. Update is obstructed by an existing unversioned file/folder of the same name as a versioned one. | 8052 |
| 1797 | 7667 | This colour is also used for error messages in the progress dialogs. | 8056 |
| 1798 | 7671 | Added files | 8060 |
| 1799 | 7675 | Items added to the repository. | 8064 |
| 1800 | 7679 | Missing / deleted / replaced | 8068 |
| 1801 | 7683 | Items deleted from the repository, missing from the working copy, or deleted from the working copy and replaced with another file of the same name. | 8072 |
| 1802 | 7687 | Merged | 8076 |
| 1803 | 7691 | Changes from the repository successfully merged into the WC without creating any conflicts. | 8080 |
| 1804 | 7695 | Modified / copied | 8084 |
| 1805 | 7699 | Add with history, or paths copied in the repository. Also used in the log dialog for entries which include copied items. | 8088 |
| 1806 | 7703 | Deleted node | 8092 |
| 1807 | 7707 | An item which has been deleted from the repository. | 8096 |
| 1808 | 7711 | Added node | 8100 |
| 1809 | 7715 | An item which has been added to the repository, by an add, copy or move operation. | 8104 |
| 1810 | 7719 | Renamed node | 8108 |
| 1811 | 7723 | An item which has been renamed within the repository. | 8112 |
| 1812 | 7727 | Replaced node | 8116 |
| 1813 | 7731 | The original item has been deleted and a new item with the same name replaces it. | 8120 |
| 1814 | 7735 | Filter match | |
| 1815 | 7739 | When using filtering in the log dialog, search terms are highlighted in the results using this colour. | |
| 1816 | 7743 | Revision Graph Settings | 8124 |
| 1817 | 7747 | The Settings Dialog, Revision Graph Page | 8128 |
| 1818 | 7751 | Classification Patterns | 8132 |
| 1819 | 7755 | The revision graph attempts to show a clearer picture of your repository structure by distinguishing between trunk, branches and tags. As there is no such classification built into Subversion, this information is extracted from the path names. The default settings assume that you use the conventional English names as suggested in the Subversion documentation, but of course your usage may vary. | 8136 |
| 1820 | 7759 | Specify the patterns used to recognise these paths in the three boxes provided. The patterns will be matched case-insensitively, but you must specify them in lower case. Wild cards |
8140 |
| 1821 | 7763 | Modify Colors | 8144 |
| 1822 | 7767 | Colors are used in the revision graph to indicate the node type, i.e. whether a node is added, deleted, renamed. In order to help pick out node classifications, you can allow the revision graph to blend colors to give an indication of both node type and classification. If the box is checked, blending is used. If the box is unchecked, color is used to indicate node type only. Use the color selection dialog to allocate the specific colors used. | 8148 |
| 1823 | 7771 | Revision Graph Colors | 8152 |
| 1824 | 7775 | The Settings Dialog, Revision Graph Colors Page | 8156 |
| 1825 | 7779 | 8160 | |
| 1826 | 7783 | Deleted Node | 8164 |
| 1827 | 7787 | Items which have been deleted and not copied anywhere else in the same revision. | 8168 |
| 1828 | 7791 | Added Node | 8172 |
| 1829 | 7795 | Items newly added, or copied (add with history). | 8176 |
| 1830 | 7799 | Renamed Node | 8180 |
| 1831 | 7803 | Items deleted from one location and added in another in the same revision. | 8184 |
| 1832 | 7807 | Modified Node | 8188 |
| 1833 | 7811 | Simple modifications without any add or delete. | 8192 |
| 1834 | 7815 | Unchanged Node | 8196 |
| 1835 | 7819 | May be used to show the revision used as the source of a copy, even when no change (to the item being graphed) took place in that revision. | 8200 |
| 1836 | 7823 | HEAD node | 8204 |
| 1837 | 7827 | Current HEAD revision in the repository. | 8208 |
| 1838 | 7831 | WC Node | 8212 |
| 1839 | 7835 | If you opt to show an extra node for your modified working copy, attached to its last-commit revision on the graph, use this color. | 8216 |
| 1840 | 7839 | WC Node Border | 8220 |
| 1841 | 7843 | If you opt to show whether the working copy is modified, use this color border on the WC node when modifications are found. | 8224 |
| 1842 | 7847 | Tag Nodes | 8228 |
| 1843 | 7851 | Nodes classified as tags may be blended with this color. | 8232 |
| 1844 | 7855 | Trunk Nodes | 8236 |
| 1845 | 7859 | Nodes classified as trunk may be blended with this color. | 8240 |
| 1846 | 7863 | Folded Tag Markers | 8244 |
| 1847 | 7867 | If you use tag folding to save space, tags are marked on the copy source using a block in this color. | 8248 |
| 1848 | 7871 | Selected Node Markers | 8252 |
| 1849 | 7875 | When you left click on a node to select it, the marker used to indicate selection is a block in this color. | 8256 |
| 1850 | 7879 | Stripes | 8260 |
| 1851 | 7883 | These colors are used when the graph is split into sub-trees and the background is colored in alternating stripes to help pick out the separate trees. | 8264 |
| 1852 | 7887 | Icon Overlay Settings | 8268 |
| 1853 | 7891 | The Settings Dialog, Icon Overlays Page | 8272 |
| 1854 | 7895 | 8276 | |
| 1855 | 7899 | Default | 8292 |
| 1856 | 7903 | Caches all status information in a separate process ( |
8296 |
| 1857 | 7907 | Advantage: the overlays show the status recursively, i.e. if a file deep inside a working copy is modified, all folders up to the working copy root will also show the modified overlay. And since the process can send notifications to the shell, the overlays on the left tree view usually change too. | 8300 |
| 1858 | 7911 | Disadvantage: the process runs constantly, even if you're not working on your projects. It also uses around 10-50 MB of RAM depending on number and size of your working copies. | 8304 |
| 1859 | 7915 | Shell | 8308 |
| 1860 | 7919 | Caching is done directly inside the shell extension dll, but only for the currently visible folder. Each time you navigate to another folder, the status information is fetched again. | 8312 |
| 1861 | 7923 | Advantage: needs only very little memory (around 1 MB of RAM) and can show the status in |
8316 |
| 1862 | 7927 | Disadvantage: Since only one folder is cached, the overlays don't show the status recursively. For big working copies, it can take more time to show a folder in explorer than with the default cache. Also the mime-type column is not available. | 8320 |
| 1863 | 7931 | None | 8324 |
| 1864 | 7935 | With this setting, the TortoiseSVN does not fetch the status at all in Explorer. Because of that, files don't get an overlay and folders only get a 'normal' overlay if they're versioned. No other overlays are shown, and no extra columns are available either. | 8328 |
| 1865 | 7939 | Advantage: uses absolutely no additional memory and does not slow down the Explorer at all while browsing. | 8332 |
| 1866 | 7943 | Disadvantage: Status information of files and folders is not shown in Explorer. To see if your working copies are modified, you have to use the Check for modificationsdialog. |
8336 |
| 1867 | 7947 | Since it takes quite a while to fetch the status of a working copy, TortoiseSVN uses a cache to store the status so the explorer doesn't get hogged too much when showing the overlays. You can choose which type of cache TortoiseSVN should use according to your system and working copy size here: |
8340 |
| 1868 | 7951 | By default, overlay icons and context menus will appear in all open/save dialogs as well as in Windows Explorer. If you want them to appear |
8280 |
| 1869 | 7955 | You can also choose to mark folders as modified if they contain unversioned items. This could be useful for reminding you that you have created new files which are not yet versioned. This option is only available when you use the |
8288 |
| 1870 | 7959 | The next group allows you to select which classes of storage should show overlays. By default, only hard drives are selected. You can even disable all icon overlays, but where's the fun in that? | 8344 |
| 1871 | 7963 | Network drives can be very slow, so by default icons are not shown for working copies located on network shares. | 8348 |
| 1872 | 7967 | USB Flash drives appear to be a special case in that the drive type is identified by the device itself. Some appear as fixed drives, and some as removable drives. | 8352 |
| 1873 | 7971 | The |
|
| 1874 | 7975 | Any path you specify here is assumed to apply recursively, so none of the child folders will show overlays either. If you want to exclude |
|
| 1875 | 7979 | The same applies to the |
8368 |
| 1876 | 7983 | Users sometimes ask how these three settings interact. For any given path check the include and exclude lists, seeking upwards through the directory structure until a match is found. When the first match is found, obey that include or exclude rule. If there is a conflict, a single directory spec takes precedence over a recursive spec, then inclusion takes precedence over exclusion. | |
| 1877 | 7987 | An example will help here: Exclude:\n C:\n C:\\develop\\?\n C:\\develop\\tsvn\\obj\n C:\\develop\\tsvn\\bin\n \n Include:\n C:\\develop\n |
|
| 1878 | 7991 | TSVNCache.exe also uses these paths to restrict its scanning. If you want it to look only in particular folders, disable all drive types and include only the folders you specifically want to be scanned. | 8382 |
| 1879 | 7995 | Exclude |
8386 |
| 1880 | 7999 | SUBST drives | 8390 |
| 1881 | 8003 | It is often convenient to use a subst T: C:\\TortoiseSVN\\trunk\\doc\n |
8394 |
| 1882 | 8007 | An easy way to work around this is to exclude the original path from showing overlays, so that the overlays show up on the |
8401 |
| 1883 | 8011 | Sometimes you will exclude areas that contain working copies, which saves TSVNCache from scanning and monitoring for changes, but you still want a visual indication that such folders are versioned. The |
8405 |
| 1884 | 8015 | As a special exception to this, drives |
8409 |
| 1885 | 8019 | Icon Set Selection | 8413 |
| 1886 | 8023 | The Settings Dialog, Icon Set Page | 8417 |
| 1887 | 8027 | 8421 | |
| 1888 | 8031 | Enabled Overlay Handlers | |
| 1889 | 8035 | The Settings Dialog, Icon Handlers Page | |
| 1890 | 8039 | ||
| 1891 | 8043 | Network Settings | 8425 |
| 1892 | 8047 | proxy server | 8429 |
| 1893 | 8051 | The Settings Dialog, Network Page | 8433 |
| 1894 | 8055 | 8437 | |
| 1895 | 8059 | If you need to set up per-repository proxy settings, you will need to use the Subversion |
8441 |
| 1896 | 8063 | You can also specify which program TortoiseSVN should use to establish a secure connection to a svn+ssh repository. We recommend that you use TortoisePlink.exe. This is a version of the popular Plink program, and is included with TortoiseSVN, but it is compiled as a Windowless app, so you don't get a DOS box popping up every time you authenticate. | 8445 |
| 1897 | 8067 | You must specify the full path to the executable. For TortoisePlink.exe this is the standard TortoiseSVN bin directory. Use the \"C:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe\"\n |
8449 |
| 1898 | 8071 | One side-effect of not having a window is that there is nowhere for any error messages to go, so if authentication fails you will simply get a message saying something like Unable to write to standard output. For this reason we recommend that you first set up using standard Plink. When everything is working, you can use TortoisePlink with exactly the same parameters. |
8456 |
| 1899 | 8075 | TortoisePlink does not have any documentation of its own because it is just a minor variant of Plink. Find out about command line parameters from the |
8460 |
| 1900 | 8079 | To avoid being prompted for a password repeatedly, you might also consider using a password caching tool such as Pageant. This is also available for download from the PuTTY website. | 8464 |
| 1901 | 8083 | Finally, setting up SSH on server and clients is a non-trivial process which is beyond the scope of this help file. However, you can find a guide in the TortoiseSVN FAQ listed under |
8468 |
| 1902 | 8087 | External Program Settings | 8472 |
| 1903 | 8091 | The Settings Dialog, Diff Viewer Page | 8476 |
| 1904 | 8095 | 8480 | |
| 1905 | 8099 | Read |
8484 |
| 1906 | 8103 | Diff Viewer | 8488 |
| 1907 | 8107 | The original file without your changes | 8492 |
| 1908 | 8112 | The window title for the base file | 8497 |
| 1909 | 8116 | Your own file, with your changes | 8501 |
| 1910 | 8121 | The window title for your file | 8506 |
| 1911 | 8125 | An external diff program may be used for comparing different revisions of files. The external program will need to obtain the filenames from the command line, along with any other command line options. TortoiseSVN uses substitution parameters prefixed with |
8510 |
| 1912 | 8129 | The window titles are not pure filenames. TortoiseSVN treats that as a name to display and creates the names accordingly. So e.g. if you're doing a diff from a file in revision 123 with a file in your working copy, the names will be |
8514 |
| 1913 | 8133 | For example, with ExamDiff Pro: C:\\Path-To\\ExamDiff.exe %base %mine --left_display_name:%bname\n --right_display_name:%yname\n C:\\Path-To\\kdiff3.exe %base %mine --L1 %bname --L2 %yname\n C:\\Path-To\\WinMerge.exe -e -ub -dl %bname -dr %yname %base %mine\n C:\\Path-To\\compare.exe /max /wait /title1:%bname /title2:%yname\n %base %mine\n C:\\Path-To\\uc.exe %base %mine -title1 %bname -title2 %yname\n |
8518 |
| 1914 | 8137 | If you use the |
8535 |
| 1915 | 8141 | You can also specify a different diff tool to use on Subversion properties. Since these tend to be short simple text strings, you may want to use a simpler more compact viewer. | 8539 |
| 1916 | 8145 | If you have configured an alternate diff tool, you can access TortoiseMerge |
8543 |
| 1917 | 8149 | Merge Tool | 8547 |
| 1918 | 8153 | the original file without your or the others changes | 8551 |
| 1919 | 8157 | your own file, with your changes | 8555 |
| 1920 | 8161 | the file as it is in the repository | 8559 |
| 1921 | 8165 | The window title for the file in the repository | 8563 |
| 1922 | 8169 | the conflicted file, the result of the merge operation | 8567 |
| 1923 | 8173 | The window title for the merged file | 8571 |
| 1924 | 8177 | An external merge program used to resolve conflicted files. Parameter substitution is used in the same way as with the Diff Program. |
8575 |
| 1925 | 8181 | For example, with Perforce Merge: C:\\Path-To\\P4Merge.exe %base %theirs %mine %merged\n C:\\Path-To\\kdiff3.exe %base %mine %theirs -o %merged\n --L1 %bname --L2 %yname --L3 %tname\n C:\\Path-To\\compare.exe /max /wait /3 /title1:%tname /title2:%bname\n /title3:%yname %theirs %base %mine %merged /a2\n C:\\Path-To\\WinMerge.exe %merged\n |
8579 |
| 1926 | 8185 | Diff/Merge Advanced Settings | 8594 |
| 1927 | 8189 | The Settings Dialog, Diff/Merge Advanced Dialog | 8598 |
| 1928 | 8193 | DiffProgram for |
8602 |
| 1929 | 8197 | To associate using a file extension, you need to specify the extension. Use |
8606 |
| 1930 | 8201 | Unified Diff Viewer | 8610 |
| 1931 | 8205 | A viewer program for unified-diff files (patch files). No parameters are required. The |
8614 |
| 1932 | 8209 | The original Windows NotePad program does not behave well on files which do not have standard CR-LF line-endings. Since most unified diff files have pure LF line-endings, they do not view well in NotePad. However, you can download a free NotePad replacement |
8618 |
| 1933 | 8213 | Saved Data Settings | 8622 |
| 1934 | 8217 | The Settings Dialog, Saved Data Page | 8626 |
| 1935 | 8221 | 8630 | |
| 1936 | 8225 | URL history | 8634 |
| 1937 | 8229 | Whenever you checkout a working copy, merge changes or use the repository browser, TortoiseSVN keeps a record of recently used URLs and offers them in a combo box. Sometimes that list gets cluttered with outdated URLs so it is useful to flush it out periodically. | 8638 |
| 1938 | 8233 | If you want to remove a single item from one of the combo boxes you can do that in-place. Just click on the arrow to drop the combo box down, move the mouse over the item you want to remove and type |
8642 |
| 1939 | 8237 | Log messages (Input dialog) | 8646 |
| 1940 | 8241 | TortoiseSVN stores recent commit log messages that you enter. These are stored per repository, so if you access many repositories this list can grow quite large. | 8650 |
| 1941 | 8245 | Log messages (Show log dialog) | 8654 |
| 1942 | 8249 | TortoiseSVN caches log messages fetched by the Show Log dialog to save time when you next show the log. If someone else edits a log message and you already have that message cached, you will not see the change until you clear the cache. Log message caching is enabled on the |
8658 |
| 1943 | 8253 | Dialog sizes and positions | 8662 |
| 1944 | 8257 | Many dialogs remember the size and screen position that you last used. | 8666 |
| 1945 | 8261 | Authentication data | 8670 |
| 1946 | 8265 | When you authenticate with a Subversion server, the username and password are cached locally so you don't have to keep entering them. You may want to clear this for security reasons, or because you want to access the repository under a different username ... does John know you are using his PC? | 8674 |
| 1947 | 8269 | If you want to clear authentication data for one particular server only, read |
8678 |
| 1948 | 8273 | Action log | 8682 |
| 1949 | 8277 | TortoiseSVN keeps a log of everything written to its progress dialogs. This can be useful when, for example, you want to check what happened in a recent update command. | 8686 |
| 1950 | 8281 | The log file is limited in length and when it grows too big the oldest content is discarded. By default 4000 lines are kept, but you can customize that number. | 8690 |
| 1951 | 8285 | From here you can view the log file content, and also clear it. | 8694 |
| 1952 | 8289 | Log Caching | 8698 |
| 1953 | 8293 | log cache | 8702 |
| 1954 | 8297 | The Settings Dialog, Log Cache Page | 8706 |
| 1955 | 8301 | 8710 | |
| 1956 | 8305 | Enable log caching | 8714 |
| 1957 | 8309 | Enables log caching whenever log data is requested. If checked, data will be retrieved from the cache when available, and any messages not in the cache will be retrieved from the server and added to the cache. | 8718 |
| 1958 | 8313 | If caching is disabled, data will always be retrieved directly from the server and not stored locally. | 8722 |
| 1959 | 8317 | Allow ambiguous URLs | 8726 |
| 1960 | 8321 | Occasionally you may have to connect to a server which uses the same URL for all repositories. Older versions of |
8730 |
| 1961 | 8325 | Allow ambiguous UUIDs | 8734 |
| 1962 | 8329 | Some hosting services give all their repositories the same UUID. You may even have done this yourself by copying a repository folder to create a new one. For all sorts of reasons this is a bad idea - a UUID should be |
8738 |
| 1963 | 8333 | If the repository cannot be contacted | 8742 |
| 1964 | 8337 | If you are working offline, or if the repository server is down, the log cache can still be used to supply log messages already held in the cache. Of course the cache may not be up-to-date, so there are options to allow you to select whether this feature should be used. | 8746 |
| 1965 | 8341 | When log data is being taken from the cache without contacting the server, the dialog using those message will show the offline state in its title bar. | 8750 |
| 1966 | 8345 | Timeout before updating the HEAD revision | 8754 |
| 1967 | 8349 | When you invoke the log dialog you will normally want to contact the server to check for any newer log messages. If the timeout set here is non-zero then the server will only be contacted when the timeout has elapsed since the last time contact. This can reduce server round-trips if you open the log dialog frequently and the server is slow, but the data shown may not be completely up-to-date. If you want to use this feature we suggest using a value of 300 (5 minutes) as a compromise. | 8758 |
| 1968 | 8353 | Days of inactivity until small caches get removed | 8762 |
| 1969 | 8357 | If you browse around a lot of repositories you will accumulate a lot of log caches. If you're not actively using them, the cache will not grow very big, so TortoiseSVN purges them after a set time by default. Use this item to control cache purging. | 8766 |
| 1970 | 8361 | Maximum size of removed inactive caches | 8770 |
| 1971 | 8365 | Larger caches are more expensive to reacquire, so TortoiseSVN only purges small caches. Fine tune the threshold with this value. | 8774 |
| 1972 | 8369 | Maximum number of tool failures before cache removal | 8778 |
| 1973 | 8373 | Occasionally something goes wrong with the caching and causes a crash. If this happens the cache is normally deleted automatically to prevent a recurrence of the problem. If you use the less stable nightly build you may opt to keep the cache anyway. | 8782 |
| 1974 | 8377 | Cached Repositories | 8786 |
| 1975 | 8381 | On this page you can see a list of the repositories that are cached locally, and the space used for the cache. If you select one of the repositories you can then use the buttons underneath. | 8790 |
| 1976 | 8385 | Click on the |
8794 |
| 1977 | 8389 | Click on the |
8798 |
| 1978 | 8393 | Click on |
8802 |
| 1979 | 8397 | Log Cache Statistics | 8806 |
| 1980 | 8401 | The Settings Dialog, Log Cache Statistics | 8810 |
| 1981 | 8409 | The amount of memory required to service this cache. | 8818 |
| 1982 | 8413 | Disk | 8822 |
| 1983 | 8417 | The amount of disk space used for the cache. Data is compressed, so disk usage is generally fairly modest. | 8826 |
| 1984 | 8421 | Connection | 8830 |
| 1985 | 8425 | Shows whether the repository was available last time the cache was used. | 8834 |
| 1986 | 8429 | Last update | 8838 |
| 1987 | 8433 | The last time the cache content was changed. | 8842 |
| 1988 | 8437 | Last head update | 8846 |
| 1989 | 8441 | The last time we requested the HEAD revision from the server. | 8850 |
| 1990 | 8445 | Authors | 8854 |
| 1991 | 8449 | The number of different authors with messages recorded in the cache. | 8858 |
| 1992 | 8453 | Paths | 8862 |
| 1993 | 8457 | The number of paths listed, as you would see using |
8866 |
| 1994 | 8461 | Skip ranges | 8870 |
| 1995 | 8465 | The number of revision ranges which we have not fetched, simply because they haven't been requested. This is a measure of the number of holes in the cache. | 8874 |
| 1996 | 8469 | Max revision | 8878 |
| 1997 | 8473 | The highest revision number stored in the cache. | 8882 |
| 1998 | 8477 | Revision count | 8886 |
| 1999 | 8481 | The number of revisions stored in the cache. This is another measure of cache completeness. | 8890 |
| 2000 | 8485 | 8894 | |
| 2001 | 8489 | Client Side Hook Scripts | 8898 |
| 2002 | 8493 | client hooks | 8902 |
| 2003 | 8497 | The Settings Dialog, Hook Scripts Page | 8906 |
| 2004 | 8501 | 8910 | |
| 2005 | 8505 | One application for such hooks might be to call a program like |
8914 |
| 2006 | 8509 | For various security and implementation reasons, hook scripts are defined locally on a machine, rather than as project properties. You define what happens, no matter what someone else commits to the repository. Of course you can always choose to call a script which is itself under version control. | 8918 |
| 2007 | 8513 | The Settings Dialog, Configure Hook Scripts | 8922 |
| 2008 | 8517 | 8926 | |
| 2009 | 8522 | Start-commit | 8931 |
| 2010 | 8526 | Called before the commit dialog is shown. You might want to use this if the hook modifies a versioned file and affects the list of files that need to be committed and/or commit message. However you should note that because the hook is called at an early stage, the full list of objects selected for commit is not available. | 8935 |
| 2011 | 8531 | Pre-commit | 8940 |
| 2012 | 8535 | Called after the user clicks |
8944 |
| 2013 | 8540 | Post-commit | 8949 |
| 2014 | 8544 | Called after the commit finishes (whether successful or not). | 8953 |
| 2015 | 8549 | Start-update | 8958 |
| 2016 | 8553 | Called before the update-to-revision dialog is shown. | 8962 |
| 2017 | 8558 | Pre-update | 8967 |
| 2018 | 8562 | Called before the actual Subversion update or switch begins. | 8971 |
| 2019 | 8567 | Post-update | 8976 |
| 2020 | 8571 | Called after the update, switch or checkout finishes (whether successful or not). | 8980 |
| 2021 | 8576 | Pre-connect | |
| 2022 | 8580 | Called before an attempt to contact the repository. Called at most once in five minutes. | |
| 2023 | 8584 | There are currently six types of hook script available |
8984 |
| 2024 | 8588 | A hook is defined for a particular working copy path. You only need to specify the top level path; if you perform an operation in a sub-folder, TortoiseSVN will automatically search upwards for a matching path. | 8988 |
| 2025 | 8592 | Next you must specify the command line to execute, starting with the path to the hook script or executable. This could be a batch file, an executable file or any other file which has a valid windows file association, eg. a perl script. Note that the script must not be specified using a UNC path as Windows shell execute will not allow such scripts to run due to security restrictions. | |
| 2026 | 8596 | The command line includes several parameters which get filled in by TortoiseSVN. The parameters passed depend upon which hook is called. Each hook has its own parameters which are passed in the following order: |
8996 |
| 2027 | 8600 | A path to a temporary file which contains all the paths for which the operation was started. Each path is on a separate line in the temp file. | 9000 |
| 2028 | 8604 | The depth with which the commit/update is done. | 9004 |
| 2029 | 8632 | Possible values are: |
9032 |
| 2030 | 8636 | Path to a file containing the log message for the commit. The file contains the text in UTF-8 encoding. After successful execution of the start-commit hook, the log message is read back, giving the hook a chance to modify it. | 9036 |
| 2031 | 8640 | The repository revision to which the update should be done or after a commit completes. | 9040 |
| 2032 | 8644 | Path to a file containing the error message. If there was no error, the file will be empty. | 9044 |
| 2033 | 8648 | The current working directory with which the script is run. This is set to the common root directory of all affected paths. | 9048 |
| 2034 | 8652 | The meaning of each of these parameters is described here: |
9052 |
| 2035 | 8656 | Note that although we have given these parameters names for convenience, you do not have to refer to those names in the hook settings. All parameters listed for a particular hook are always passed, whether you want them or not ;-) | 9056 |
| 2036 | 8660 | If you want the Subversion operation to hold off until the hook has completed, check |
9060 |
| 2037 | 8664 | Normally you will want to hide ugly DOS boxes when the script runs, so |
9064 |
| 2038 | 8668 | Sample client hook scripts can be found in the |
9068 |
| 2039 | 8672 | A small tool is included in the TortoiseSVN installation folder named |
|
| 2040 | 8676 | Issue Tracker Integration | 9072 |
| 2041 | 8680 | TortoiseSVN can use a COM plugin to query issue trackers when in the commit dialog. The use of such plugins is described in |
9076 |
| 2042 | 8684 | The Settings Dialog, Issue Tracker Integration Page | 9080 |
| 2043 | 8688 | 9084 | |
| 2044 | 8692 | This property specifies the COM UUID of the IBugtraqProvider, for example |
9088 |
| 2045 | 8696 | This is the same as |
9092 |
| 2046 | 8700 | This property specifies the parameters passed to the IBugtraqProvider. | 9096 |
| 2047 | 8704 | If you want all users to use the same COM plugin for your project, you can specify the plugin also with the properties |
9100 |
| 2048 | 8708 | TortoiseBlame Settings | 9104 |
| 2049 | 8712 | The Settings Dialog, TortoiseBlame Page | 9108 |
| 2050 | 8716 | 9112 | |
| 2051 | 8720 | Colors | 9116 |
| 2052 | 8724 | TortoiseBlame can use the background colour to indicate the age of lines in a file. You set the endpoints by specifying the colours for the newest and oldest revisions, and TortoiseBlame uses a linear interpolation between these colours according to the repository revision indicated for each line. | 9120 |
| 2053 | 8728 | Font | 9124 |
| 2054 | 8732 | You can select the font used to display the text, and the point size to use. This applies both to the file content, and to the author and revision information shown in the left pane. | 9128 |
| 2055 | 8736 | Tabs | 9132 |
| 2056 | 8740 | Defines how many spaces to use for expansion when a tab character is found in the file content. | 9136 |
| 2057 | 8744 | Subversion Working Folders | 9140 |
| 2058 | 8748 | .svn folder | 9144 |
| 2059 | 8752 | _svn folder | 9148 |
| 2060 | 8756 | VS.NET 2003 when used with web projects can't handle the |
9152 |
| 2061 | 8760 | Note that the bug is fixed in VS2005 and later versions. | 9156 |
| 2062 | 8764 | As of Version 1.3.0 of Subversion and TortoiseSVN, you can set the environment variable |
9160 |
| 2063 | 8768 | For more information, and other ways to avoid this problem in the first place, check out the article about this in our |
9164 |
| 2064 | 8772 | Advanced Settings | 9168 |
| 2065 | 8776 | registry | 9172 |
| 2066 | 8780 | A few infrequently used settings are available only in the advanced page of the settings dialog. These settings modify the registry directly and you have to know what each of these settings is used for and what it does. Do not modify these settings unless you are sure you need to change them. | 9176 |
| 2067 | 8784 | You can specify a different location for the Subversion configuration file here. This will affect all TortoiseSVN operations. | 9180 |
| 2068 | 8788 | Set this to |
9184 |
| 2069 | 8792 | To add a cache tray icon for the TSVNCache program, set this value to |
9188 |
| 2070 | 8796 | This can be useful if you use something other than the windows explorer or if you get problems with the context menu displaying incorrectly. Set this value to |
9192 |
| 2071 | 8800 | If you don't want TortoiseSVN to show icons for the context menus in its own dialogs, set this value to |
9196 |
| 2072 | 8804 | The log dialog shows the revision the working copy path is at in bold. But this requires that the log dialog fetches the status of that path. Since for very big working copies this can take a while, you can set this value to |
9200 |
| 2073 | 8808 | The status list control which is used in various dialogs (e.g., commit, check-for-modifications, add, revert, ...) uses full row selection (i.e., if you select an entry, the full row is selected, not just the first column). This is fine, but the selected row then also covers the background image on the bottom right, which can look ugly. To disable full row select, set this value to |
9204 |
| 2074 | 8812 | The commit and log dialog use styling (e.g. bold, italic) in commit messages (see |
9208 |
| 2075 | 8816 | TortoiseSVN uses accelerators for its explorer context menu entries. Since this can lead to doubled accelerators (e.g. the |
9212 |
| 2076 | 8820 | As with the explorer, TortoiseSVN shows additional commands if the |
9216 |
| 2077 | 8824 | If you don't want the explorer to update the status overlays while another TortoiseSVN command is running (e.g. Update, Commit, ...) then set this value to |
9220 |
| 2078 | 8828 | This value contains the URL from which TortoiseSVN tries to download a text file to find out if there are updates available. This might be useful for company admins who don't want their users to update TortoiseSVN until they approve it. | 9224 |
| 2079 | 8832 | The extra columns the TortoiseSVN adds to the details view in Windows Explorer are normally only active in a working copy. If you want those to be accessible everywhere, not just in working copies, set this value to |
9228 |
| 2080 | 8836 | If an update adds a new file from the repository which already exists in the local working copy as an unversioned file, the default action is to keep the local file, showing it as a (possibly) modified version of the new file from the repository. If you would prefer TortoiseSVN to create a conflict in such situations, set this value to |
9232 |
| 2081 | 8840 | TortoiseSVN checks whether there's a new version available about once a week. If an updated version is found, the commit dialog shows a link control with that info. If you prefer the old behavior back where a dialog pops up notifying you about the update, set this value to |
9236 |
| 2082 | 8844 | TortoiseSVN checks whether there's a new version available about once a week. If you don't want TortoiseSVN to do this check, set this value to |
9240 |
| 2083 | 8848 | The auto-completion list shown in the commit message editor displays the names of files listed for commit. To also include these names with extensions removed, set this value to |
9244 |
| 2084 | 8852 | When you merge revisions from another branch, and merge tracking information is available, the log messages from the revisions you merge will be collected to make up a commit log message. A pre-defined string is used to separate the individual log messages of the merged revisions. If you prefer, you can set this to a value containing a separator string of your choice. | 9248 |
| 2085 | 8856 | TortoiseSVN allows you to assign an external diff viewer. Most such viewers, however, are not suited for change blaming ( |
9252 |
| 2086 | 8860 | By default, TortoiseSVN always runs an update with externals included. This avoids problems with inconsistent working copies. If you have however a lot of externals set, an update can take quite a while. Set this value to |
9256 |
| 2087 | 8864 | In most dialogs in TortoiseSVN, you can use |
9260 |
| 2088 | 8868 | Sometimes multiple users use the same account on the same computer. In such situations it's not really wanted to save the authentication data. Setting this value to |
|
| 2089 | 8872 | Final Step | 9264 |
| 2090 | 8876 | Donate! | 9268 |
| 2091 | 8880 | Even though TortoiseSVN and TortoiseMerge are free, you can support the developers by sending in patches and play an active role in the development. You can also help to cheer us up during the endless hours we spend in front of our computers. | 9272 |
| 2092 | 8884 | While working on TortoiseSVN we love to listen to music. And since we spend many hours on the project we need a |
9276 |
| 2093 | 8888 | The SubWCRev Program | 9280 |
| 2094 | 8892 | version extraction | 9284 |
| 2095 | 8905 | version number in files | 9297 |
| 2096 | 8909 | SubWCRev is Windows console program which can be used to read the status of a Subversion working copy and optionally perform keyword substitution in a template file. This is often used as part of the build process as a means of incorporating working copy information into the object you are building. Typically it might be used to include the revision number in an Aboutbox. |
9301 |
| 2097 | 8913 | The SubWCRev Command Line | 9305 |
| 2098 | 8917 | SubWCRev reads the Subversion status of all files in a working copy, excluding externals by default. It records the highest commit revision number found, and the commit timestamp of that revision, It also records whether there are local modifications in the working copy, or mixed update revisions. The revision number, update revision range and modification status are displayed on stdout. | 9309 |
| 2099 | 8921 | SubWCRev.exe is called from the command line or a script, and is controlled using the command line parameters. SubWCRev WorkingCopyPath [SrcVersionFile DstVersionFile] [-nmdfe]\n |
9313 |
| 2100 | 8925 | 9320 | |
| 2101 | 8929 | If you want SubWCRev to perform keyword substitution, so that fields like repository revision and URL are saved to a text file, you need to supply a template file |
9324 |
| 2102 | 8934 | List of available command line switches | 9329 |
| 2103 | 8941 | Switch | 9336 |
| 2104 | 8949 | Description | 9344 |
| 2105 | 8957 | If this switch is given, SubWCRev will exit with |
9352 |
| 2106 | 8965 | If this switch is given, SubWCRev will exit with |
9360 |
| 2107 | 8973 | If this switch is given, SubWCRev will exit with |
9368 |
| 2108 | 8977 | If this switch is given, SubWCRev will include the last-changed revision of folders. The default behaviour is to use only files when getting the revision numbers. | 9372 |
| 2109 | 8985 | If this switch is given, SubWCRev will examine directories which are included with |
9380 |
| 2110 | 8989 | If this switch is given, SubWCRev will output the revision numbers in HEX. | 9384 |
| 2111 | 8993 | If this switch is given, SubWCRev will output the revision numbers in HEX, with '0X' prepended. | 9388 |
| 2112 | 8997 | There are a number of optional switches which affect the way SubWCRev works. If you use more than one, they must be specified as a single group, eg. |
9392 |
| 2113 | 9001 | Keyword Substitution | 9396 |
| 2114 | 9005 | Keyword | 9400 |
| 2115 | 9009 | Replaced with the highest commit revision in the working copy. | 9404 |
| 2116 | 9025 | online reference | 9420 |
| 2117 | 9029 | Replaced with the commit date/time of the highest commit revision. By default, international format is used: |
9424 |
| 2118 | 9035 | $WCDATE$ | 9430 |
| 2119 | 9039 | Replaced with the current system date/time. This can be used to indicate the build time. Time formatting can be used as described for |
9434 |
| 2120 | 9043 | Replaced with the update revision range in the working copy. If the working copy is in a consistent state, this will be a single revision. If the working copy contains mixed revisions, either due to being out of date, or due to a deliberate update-to-revision, then the range will be shown in the form 100:200 | 9438 |
| 2121 | 9065 | 9462 | |
| 2122 | 9073 | 9470 | |
| 2123 | 9077 | Replaced with the repository URL of the working copy path passed to SubWCRev. | 9474 |
| 2124 | 9085 | 9482 | |
| 2125 | 9093 | 9503 | |
| 2126 | 9097 | Replaced with the lock date. Time formatting can be used as described for |
9507 |
| 2127 | 9101 | Replaced with the name of the lock owner. | 9511 |
| 2128 | 9105 | Replaced with the comment of the lock. | 9515 |
| 2129 | 9109 | If a source and destination files are supplied, SubWCRev copies source to destination, performing keyword substitution as follows: |
9519 |
| 2130 | 9113 | Some of these keywords apply to single files rather than to an entire working copy, so it only makes sense to use these when SubWCRev is called to scan a single file. This applies to |
|
| 2131 | 9117 | Keyword Example | 9527 |
| 2132 | 9121 | The example below shows how keywords in a template file are substituted in the output file. | 9531 |
| 2133 | 9125 | \n // Test file for SubWCRev: testfile.tmpl\n \n char *Revision = \"$WCREV$\";\n char *Modified = \"$WCMODS?Modified:Not modified$\";\n char *Date = \"$WCDATE$\";\n char *Range = \"$WCRANGE$\";\n char *Mixed = \"$WCMIXED?Mixed revision WC:Not mixed$\";\n char *URL = \"$WCURL$\";\n \n #if $WCMODS?1:0$\n #error Source is modified\n #endif\n \n // End of file\n |
9535 |
| 2134 | 9130 | After running |
9555 |
| 2135 | 9134 | \n // Test file for SubWCRev: testfile.txt\n \n char *Revision = \"3701\";\n char *Modified = \"Modified\";\n char *Date = \"2005/06/15 11:15:12\";\n char *Range = \"3699:3701\";\n char *Mixed = \"Mixed revision WC\";\n char *URL = \"http://project.domain.org/svn/trunk/src\";\n \n #if 1\n #error Source is modified\n #endif\n \n // End of file\n |
9559 |
| 2136 | 9139 | A file like this will be included in the build so you would expect it to be versioned. Be sure to version the template file, not the generated file, otherwise each time you regenerate the version file you need to commit the change, which in turn means the version file needs to be updated. | 9579 |
| 2137 | 9143 | COM interface | 9583 |
| 2138 | 9147 | COM SubWCRev interface | 9587 |
| 2139 | 9151 | COM/automation methods supported | 9591 |
| 2140 | 9155 | Method | 9595 |
| 2141 | 9167 | This method traverses the working copy gathering the revision information. Naturally you must call this before you can access the information using the remaining methods. The first parameter is the path. The second parameter should be true if you want to include folder revisions. Equivalent to the |
9607 |
| 2142 | 9175 | The highest commit revision in the working copy. Equivalent to |
9615 |
| 2143 | 9179 | The commit date/time of the highest commit revision. Equivalent to |
9619 |
| 2144 | 9183 | The author of the highest commit revision, that is, the last person to commit changes to the working copy. | 9623 |
| 2145 | 9192 | The minimum update revision, as shown in |
9632 |
| 2146 | 9196 | The maximum update revision, as shown in |
9636 |
| 2147 | 9200 | True if there are local modifications | 9640 |
| 2148 | 9212 | Replaced with the repository URL of the working copy path used in |
9652 |
| 2149 | 9216 | True if the item is versioned. | 9656 |
| 2150 | 9220 | True if the item is locked. | 9664 |
| 2151 | 9224 | String representing the date when the lock was created, or an empty string if the item is not locked. | 9668 |
| 2152 | 9228 | String representing the lock owner, or an empty string if the item is not locked. | 9672 |
| 2153 | 9232 | The message entered when the lock was created. | 9676 |
| 2154 | 9236 | If you need to access Subversion revision information from other programs, you can use the COM interface of SubWCRev. The object to create is |
9680 |
| 2155 | 9240 | \n // testCOM.js - javascript file\n // test script for the SubWCRev COM/Automation-object\n \n filesystem = new ActiveXObject(\"Scripting.FileSystemObject\");\n \n revObject1 = new ActiveXObject(\"SubWCRev.object\");\n revObject2 = new ActiveXObject(\"SubWCRev.object\");\n revObject3 = new ActiveXObject(\"SubWCRev.object\");\n revObject4 = new ActiveXObject(\"SubWCRev.object\");\n \n revObject1.GetWCInfo(\n filesystem.GetAbsolutePathName(\".\"), 1, 1);\n revObject2.GetWCInfo(\n filesystem.GetAbsolutePathName(\"..\"), 1, 1);\n revObject3.GetWCInfo(\n filesystem.GetAbsolutePathName(\"SubWCRev.cpp\"), 1, 1);\n revObject4.GetWCInfo(\n filesystem.GetAbsolutePathName(\"..\\\\..\"), 1, 1);\n \n wcInfoString1 = \"Revision = \" + revObject1.Revision +\n \"\\n Min Revision = \" + revObject1.MinRev +\n \"\\n Max Revision = \" + revObject1.MaxRev +\n \"\\n Date = \" + revObject1.Date +\n \"\\n URL = \" + revObject1.Url + \"\\n Author = \" +\n revObject1.Author + \"\\n HasMods = \" +\n revObject1.HasModifications + \"\\n IsSvnItem = \" +\n revObject1.IsSvnItem + \"\\n NeedsLocking = \" +\n revObject1.IsLocked + \"\\n LockCreationDate = \" +\n revObject1.LockCreationDate + \"\\n LockOwner = \" +\n revObject1.LockOwner + \"\\n LockComment = \" +\n revObject1.LockComment;\n wcInfoString2 = \"Revision = \" + revObject2.Revision +\n \"\\n Min Revision = \" + revObject2.MinRev +\n \"\\n Max Revision = \" + revObject2.MaxRev +\n \"\\n Date = \" + revObject2.Date +\n \"\\n URL = \" + revObject2.Url + \"\\n Author = \" +\n revObject2.Author + \"\\n HasMods = \" +\n revObject2.HasModifications + \"\\n IsSvnItem = \" +\n revObject2.IsSvnItem + \"\\n NeedsLocking = \" +\n revObject2.IsLocked + \"\\n LockCreationDate = \" +\n revObject2.LockCreationDate + \"\\n LockOwner = \" +\n revObject2.LockOwner + \"\\n LockComment = \" +\n revObject2.LockComment;\n wcInfoString3 = \"Revision = \" + revObject3.Revision +\n \"\\n Min Revision = \" + revObject3.MinRev +\n \"\\n Max Revision = \" + revObject3.MaxRev +\n \"\\n Date = \" + revObject3.Date +\n \"\\n URL = \" + revObject3.Url + \"\\n Author = \" +\n revObject3.Author + \"\\n HasMods = \" +\n revObject3.HasModifications + \"\\n IsSvnItem = \" +\n revObject3.IsSvnItem + \"\\n NeedsLocking = \" +\n revObject3.IsLocked + \"\\n LockCreationDate = \" +\n revObject3.LockCreationDate + \"\\n LockOwner = \" +\n revObject3.LockOwner + \"\\n LockComment = \" +\n revObject3.LockComment;\n wcInfoString4 = \"Revision = \" + revObject4.Revision +\n \"\\n Min Revision = \" + revObject4.MinRev +\n \"\\n Max Revision = \" + revObject4.MaxRev +\n \"\\n Date = \" + revObject4.Date +\n \"\\n URL = \" + revObject4.Url + \"\\n Author = \" +\n revObject4.Author + \"\\n HasMods = \" +\n revObject4.HasModifications + \"\\n IsSvnItem = \" +\n revObject4.IsSvnItem + \"\\n NeedsLocking = \" +\n revObject4.IsLocked + \"\\n LockCreationDate = \" +\n revObject4.LockCreationDate + \"\\n LockOwner = \" +\n revObject4.LockOwner + \"\\n LockComment = \" +\n revObject4.LockComment;\n \n WScript.Echo(wcInfoString1);\n WScript.Echo(wcInfoString2);\n WScript.Echo(wcInfoString3);\n WScript.Echo(wcInfoString4);\n \n |
|
| 2156 | 9245 | The following example shows how the interface might be used. |
9815 |
| 2157 | 9249 | \n using LibSubWCRev;\n SubWCRev sub = new SubWCRev();\n sub.GetWCInfo(\"C:\\\\PathToMyFile\\\\MyFile.cc\", true, true);\n if (sub.IsSvnItem == true)\n {\n MessageBox.Show(\"versioned\");\n }\n else\n {\n MessageBox.Show(\"not versioned\");\n }\n |
9819 |
| 2158 | 9254 | The following listing is an example on how to use the SubWCRev COM object from C#: |
9836 |
| 2159 | 9258 | IBugtraqProvider interface | 9840 |
| 2160 | 9262 | plugin | 9844 |
| 2161 | 9270 | To get a tighter integration with issue trackers than by simply using the |
9852 |
| 2162 | 9274 | We can't provide information and tutorials on how you have to implement a COM object in your preferred programming language, but we have example plugins in C++/ATL and C# in our repository in the |
9856 |
| 2163 | 9278 | You should provide both a 32-bit and 64-bit version of your plugin. Because the x64-Version of TortoiseSVN can not use a 32-bit plugin and vice-versa. | 9860 |
| 2164 | 9282 | The IBugtraqProvider interface | 9864 |
| 2165 | 9286 | TortoiseSVN 1.5 and later can use plugins which implement the IBugtraqProvider interface. The interface provides a few methods which plugins can use to interact with the issue tracker. | 9868 |
| 2166 | 9290 | \n HRESULT ValidateParameters (\n // Parent window for any UI that needs to be\n // displayed during validation.\n [in] HWND hParentWnd,\n \n // The parameter string that needs to be validated.\n [in] BSTR parameters,\n \n // Is the string valid?\n [out, retval] VARIANT_BOOL *valid\n );\n |
9872 |
| 2167 | 9295 | This method is called from the settings dialog where the user can add and configure the plugin. The |
9889 |
| 2168 | 9299 | \n HRESULT GetLinkText (\n // Parent window for any (error) UI that needs to be displayed.\n [in] HWND hParentWnd,\n \n // The parameter string, just in case you need to talk to your\n // web service (e.g.) to find out what the correct text is.\n [in] BSTR parameters,\n \n // What text do you want to display?\n // Use the current thread locale.\n [out, retval] BSTR *linkText\n );\n |
9893 |
| 2169 | 9304 | The plugin can provide a string here which is used in the TortoiseSVN commit dialog for the button which invokes the plugin, e.g., \"Choose issue\" or \"Select ticket\". Make sure the string is not too long, otherwise it might not fit into the button. If the method returns an error (e.g., |
9911 |
| 2170 | 9308 | \n HRESULT GetCommitMessage (\n // Parent window for your provider's UI.\n [in] HWND hParentWnd,\n \n // Parameters for your provider.\n [in] BSTR parameters,\n [in] BSTR commonRoot,\n [in] SAFEARRAY(BSTR) pathList,\n \n // The text already present in the commit message.\n // Your provider should include this text in the new message,\n // where appropriate.\n [in] BSTR originalMessage,\n \n // The new text for the commit message.\n // This replaces the original message.\n [out, retval] BSTR *newMessage\n );\n |
9915 |
| 2171 | 9313 | This is the main method of the plugin. This method is called from the TortoiseSVN commit dialog when the user clicks on the plugin button. | 9939 |
| 2172 | 9317 | The |
9943 |
| 2173 | 9321 | The |
9947 |
| 2174 | 9325 | The |
9951 |
| 2175 | 9329 | The |
9955 |
| 2176 | 9333 | The |
9959 |
| 2177 | 9337 | The IBugtraqProvider2 interface | 9963 |
| 2178 | 9341 | In TortoiseSVN 1.6 a new interface was added which provides more functionality for plugins. This IBugtraqProvider2 interface inherits from IBugtraqProvider. | 9967 |
| 2179 | 9345 | \n HRESULT GetCommitMessage2 (\n // Parent window for your provider's UI.\n [in] HWND hParentWnd,\n \n // Parameters for your provider.\n [in] BSTR parameters,\n // The common URL of the commit\n [in] BSTR commonURL,\n [in] BSTR commonRoot,\n [in] SAFEARRAY(BSTR) pathList,\n \n // The text already present in the commit message.\n // Your provider should include this text in the new message,\n // where appropriate.\n [in] BSTR originalMessage,\n \n // You can assign custom revision properties to a commit\n // by setting the next two params.\n // note: Both safearrays must be of the same length.\n // For every property name there must be a property value!\n \n // The content of the bugID field (if shown)\n [in] BSTR bugID,\n \n // Modified content of the bugID field\n [out] BSTR * bugIDOut,\n \n // The list of revision property names.\n [out] SAFEARRAY(BSTR) * revPropNames,\n \n // The list of revision property values.\n [out] SAFEARRAY(BSTR) * revPropValues,\n \n // The new text for the commit message.\n // This replaces the original message\n [out, retval] BSTR * newMessage\n );\n |
9971 |
| 2180 | 9350 | This method is called from the TortoiseSVN commit dialog when the user clicks on the plugin button. This method is called instead of |
10014 |
| 2181 | 9354 | The parameter |
10018 |
| 2182 | 9358 | The parameter |
10022 |
| 2183 | 9362 | The return parameter |
10026 |
| 2184 | 9366 | The |
10030 |
| 2185 | 9370 | \n HRESULT CheckCommit (\n [in] HWND hParentWnd,\n [in] BSTR parameters,\n [in] BSTR commonURL,\n [in] BSTR commonRoot,\n [in] SAFEARRAY(BSTR) pathList,\n [in] BSTR commitMessage,\n [out, retval] BSTR * errorMessage\n );\n |
10034 |
| 2186 | 9375 | This method is called right before the commit dialog is closed and the commit begins. A plugin can use this method to validate the selected files/folders for the commit and/or the commit message entered by the user. The parameters are the same as for |
10049 |
| 2187 | 9379 | For the branch/tag dialog, the |
10053 |
| 2188 | 9383 | The return parameter |
10057 |
| 2189 | 9387 | \n HRESULT OnCommitFinished (\n // Parent window for any (error) UI that needs to be displayed.\n [in] HWND hParentWnd,\n \n // The common root of all paths that got committed.\n [in] BSTR commonRoot,\n \n // All the paths that got committed.\n [in] SAFEARRAY(BSTR) pathList,\n \n \n // The text already present in the commit message.\n [in] BSTR logMessage,\n \n // The revision of the commit.\n [in] ULONG revision,\n \n \n // An error to show to the user if this function\n // returns something else than S_OK\n [out, retval] BSTR * error\n );\n |
10061 |
| 2190 | 9392 | This method is called after a successful commit. A plugin can use this method to e.g., close the selected issue or add information about the commit to the issue. The parameters are the same as for |
10089 |
| 2191 | 9396 | \n HRESULT HasOptions(\n // Whether the provider provides options\n [out, retval] VARIANT_BOOL *ret\n );\n |
10093 |
| 2192 | 9401 | This method is called from the settings dialog where the user can configure the plugins. If a plugin provides its own configuration dialog with |
10103 |
| 2193 | 9405 | \n HRESULT ShowOptionsDialog(\n // Parent window for the options dialog\n [in] HWND hParentWnd,\n \n // Parameters for your provider.\n [in] BSTR parameters,\n \n // The parameters string\n [out, retval] BSTR * newparameters\n );\n |
10107 |
| 2194 | 9410 | This method is called from the settings dialog when the user clicks on the \"Options\" button that is shown if |
10123 |
| 2195 | 9414 | The |
10127 |
| 2196 | 9418 | The |
10131 |
| 2197 | 9422 | Frequently Asked Questions (FAQ) | 10135 |
| 2198 | 9426 | FAQ | 10139 |
| 2199 | 9430 | Because TortoiseSVN is being developed all the time it is sometimes hard to keep the documentation completely up to date. We maintain an |
10143 |
| 2200 | 9434 | We also maintain a project |
10147 |
| 2201 | 9438 | 10151 | |
| 2202 | 9442 | If you want to help out with the development of TortoiseSVN, then you should take part in discussions on |
10155 |
| 2203 | 9446 | If you want to help with the translation of the TortoiseSVN user interface or the documentation, send an e-mail to |
10159 |
| 2204 | 9450 | If you have a question which is not answered anywhere else, the best place to ask it is on one of the mailing lists: |
10163 |
| 2205 | 9454 | How Do I... | 10167 |
| 2206 | 9458 | This appendix contains solutions to problems/questions you might have when using TortoiseSVN. | 10171 |
| 2207 | 9462 | Move/copy a lot of files at once | 10175 |
| 2208 | 9466 | moving | 10179 |
| 2209 | 9470 | reorganize | 10183 |
| 2210 | 9474 | Moving/Copying single files can be done by using |
10187 |
| 2211 | 9478 | The recommended way is by |
10191 |
| 2212 | 9482 | Force users to enter a log message | 10195 |
| 2213 | 9486 | log message | 10199 |
| 2214 | 9490 | commit message | 10203 |
| 2215 | 9494 | empty message | 10207 |
| 2216 | 9498 | There are two ways to prevent users from committing with an empty log message. One is specific to TortoiseSVN, the other works for all Subversion clients, but requires access to the server directly. | 10211 |
| 2217 | 9502 | Hook-script on the server | 10215 |
| 2218 | 9506 | If you have direct access to the repository server, you can install a pre-commit hook script which rejects all commits with an empty or too short log message. | 10219 |
| 2219 | 9510 | In the repository folder on the server, there's a sub-folder |
10223 |
| 2220 | 9514 | This method is the recommended way if your users also use other Subversion clients than TortoiseSVN. The drawback is that the commit is rejected by the server and therefore users will get an error message. The client can't know before the commit that it will be rejected. If you want to make TortoiseSVN have the |
10227 |
| 2221 | 9518 | Project properties | 10231 |
| 2222 | 9522 | TortoiseSVN uses properties to control some of its features. One of those properties is the |
10235 |
| 2223 | 9526 | If you set that property on a folder, then TortoiseSVN will disable the |
10239 |
| 2224 | 9530 | For detailed information on those project properties, please refer to |
10243 |
| 2225 | 9534 | Update selected files from the repository | 10247 |
| 2226 | 9538 | Normally you update your working copy using |
10251 |
| 2227 | 9542 | Use |
10255 |
| 2228 | 9546 | Roll back (Undo) revisions in the repository | 10259 |
| 2229 | 9550 | rollback | 10263 |
| 2230 | 9554 | undo commit | 10267 |
| 2231 | 9558 | undo change | 10271 |
| 2232 | 9562 | Use the revision log dialog | 10275 |
| 2233 | 9566 | The easiest way to revert the changes from a single revision, or from a range of revisions, is to use the revision log dialog. This is also the method to use of you want to discard recent changes and make an earlier revision the new HEAD. | 10279 |
| 2234 | 9570 | Select the file or folder in which you need to revert the changes. If you want to revert all changes, this should be the top level folder. | 10283 |
| 2235 | 9574 | Select |
10287 |
| 2236 | 9578 | Select the revision you wish to revert. If you want to undo a range of revisions, select the first one and hold the |
10291 |
| 2237 | 9582 | Or if you want to make an earlier revision the new HEAD revision, |
10295 |
| 2238 | 9587 | You have reverted the changes within your working copy. Check the results, then commit the changes. | 10300 |
| 2239 | 9591 | Use the merge dialog | 10304 |
| 2240 | 9595 | To undo a larger range of revisions, you can use the Merge dialog. The previous method uses merging behind the scenes; this method uses it explicitly. | 10308 |
| 2241 | 9599 | In your working copy select |
10312 |
| 2242 | 9603 | In the |
10316 |
| 2243 | 9607 | In the |
10320 |
| 2244 | 9611 | make sure the |
10324 |
| 2245 | 9615 | In the |
10328 |
| 2246 | 9619 | Click |
10332 |
| 2247 | 9623 | Use |
10336 |
| 2248 | 9627 | Since TortoiseSVN never loses data, your rolled backrevisions still exist as intermediate revisions in the repository. Only the HEAD revision was changed to a previous state. If you want to make revisions disappear completely from your repository, erasing all trace that they ever existed, you have to use more extreme measures. Unless there is a really good reason to do this, it is |
10340 |
| 2249 | 9631 | The only way to remove data from the repository is to use the Subversion command line tool |
10344 |
| 2250 | 9635 | Compare two revisions of a file or folder | 10348 |
| 2251 | 9639 | compare files | 10352 |
| 2252 | 9643 | compare folders | 10356 |
| 2253 | 9647 | changes | 10360 |
| 2254 | 9651 | If you want to compare two revisions in an item's history, for example revisions 100 and 200 of the same file, just use |
10364 |
| 2255 | 9655 | If you want to compare the same item in two different trees, for example the trunk and a branch, you can use the repository browser to open up both trees, select the file in both places, then use |
10368 |
| 2256 | 9659 | If you want to compare two trees to see what has changed, for example the trunk and a tagged release, you can use |
10372 |
| 2257 | 9663 | Include a common sub-project | 10376 |
| 2258 | 9667 | common projects | 10380 |
| 2259 | 9671 | vendor projects | 10384 |
| 2260 | 9675 | Sometimes you will want to include another project within your working copy, perhaps some library code. You don't want to make a duplicate of this code in your repository because then you would lose connection with the original (and maintained) code. Or maybe you have several projects which share core code. There are at least 3 ways of dealing with this. | 10388 |
| 2261 | 9679 | Use svn:externals | 10392 |
| 2262 | 9683 | Set the |
10396 |
| 2263 | 9687 | Commit the new folder. Now when you update, Subversion will pull a copy of that project from its repository into your working copy. The sub-folders will be created automatically if required. Each time you update your main working copy, you will also receive the latest version of all external projects. | 10400 |
| 2264 | 9691 | Of the three methods described, this is the only one which needs no setup on the client side. Once externals are specified in the folder properties, all clients will get populated folders when they update. | 10404 |
| 2265 | 9695 | Use a nested working copy | 10408 |
| 2266 | 9699 | Create a new folder within your project to contain the common code, but do not add it to Subversion | 10412 |
| 2267 | 9703 | Select |
10416 |
| 2268 | 9707 | The two working copies are independent. When you commit changes to the parent, changes to the nested WC are ignored. Likewise when you update the parent, the nested WC is not updated. | 10420 |
| 2269 | 9711 | Use a relative location | 10424 |
| 2270 | 9715 | If you use the same common core code in several projects, and you do not want to keep multiple working copies of it for every project that uses it, you can just check it out to a separate location which is related to all the other projects which use it. For example: C:\\Projects\\Proj1\n C:\\Projects\\Proj2\n C:\\Projects\\Proj3\n C:\\Projects\\Common\n |
10428 |
| 2271 | 9719 | If your projects are scattered in unrelated locations you can use a variant of this, which is to put the common code in one location and use drive letter substitution to map that location to something you can hard code in your projects, eg. Checkout the common code to SUBST X: \"D:\\Documents\\framework\"\n #include \"X:\\superio\\superio.h\"\n |
10438 |
| 2272 | 9723 | This method will only work in an all-PC environment, and you will need to document the required drive mappings so your team know where these mysterious files are. This method is strictly for use in closed development environments, and not recommended for general use. | 10447 |
| 2273 | 9727 | Create a shortcut to a repository | 10451 |
| 2274 | 9731 | shortcut | 10455 |
| 2275 | 9735 | If you frequently need to open the repository browser at a particular location, you can create a desktop shortcut using the automation interface to TortoiseProc. Just create a new shortcut and set the target to: TortoiseProc.exe /command:repobrowser /path:\"url/to/repository\"\n |
10459 |
| 2276 | 9739 | Ignore files which are already versioned | 10466 |
| 2277 | 9743 | remove versioning | 10470 |
| 2278 | 9747 | detach from repository | 10474 |
| 2279 | 9751 | If you accidentally added some files which should have been ignored, how do you get them out of version control without losing them? Maybe you have your own IDE configuration file which is not part of the project, but which took you a long time to set up just the way you like it. | 10478 |
| 2280 | 9755 | If you have not yet committed the add, then all you have to do is use |
10482 |
| 2281 | 9759 | If the files are already in the repository, they have to be deleted from the repository and added to the ignore list. Fortunately TortoiseSVN has a convenient shortcut for doing this. |
10486 |
| 2282 | 9763 | Unversion a working copy | 10490 |
| 2283 | 9767 | If you have a working copy which you want to convert back to a plain folder tree without the |
10494 |
| 2284 | 9771 | Remove a working copy | 10498 |
| 2285 | 9775 | If you have a working copy which you no longer need, how do you get rid of it cleanly? Easy - just delete it in Windows Explorer! Working copies are private local entities, and they are self-contained. | 10502 |
| 2286 | 9779 | Useful Tips For Administrators | 10506 |
| 2287 | 9783 | This appendix contains solutions to problems/questions you might have when you are responsible for deploying TortoiseSVN to multiple client computers. | 10510 |
| 2288 | 9787 | Deploy TortoiseSVN via group policies | 10514 |
| 2289 | 9792 | group policies | 10519 |
| 2290 | 9805 | domain controller | 10532 |
| 2291 | 9809 | deploy | 10536 |
| 2292 | 9813 | The TortoiseSVN installer comes as an MSI file, which means you should have no problems adding that MSI file to the group policies of your domain controller. | 10540 |
| 2293 | 9817 | A good walk-through on how to do that can be found in the knowledge base article 314934 from Microsoft: |
10544 |
| 2294 | 9821 | Versions 1.3.0 and later of TortoiseSVN must be installed under |
10548 |
| 2295 | 9825 | Redirect the upgrade check | 10552 |
| 2296 | 9829 | upgrade check | 10556 |
| 2297 | 9833 | check new version | 10560 |
| 2298 | 9837 | version | 10564 |
| 2299 | 9841 | TortoiseSVN checks if there's a new version available every few days. If there is a newer version available, a dialog shows up informing the user about that. | 10568 |
| 2300 | 9845 | The upgrade dialog | 10572 |
| 2301 | 9849 | If you're responsible for a lot of users in your domain, you might want your users to use only versions you have approved and not have them install always the latest version. You probably don't want that upgrade dialog to show up so your users don't go and upgrade immediately. | 10576 |
| 2302 | 9853 | Versions 1.4.0 and later of TortoiseSVN allow you to redirect that upgrade check to your intranet server. You can set the registry key 1.4.1.6000\n A new version of TortoiseSVN is available for you to download!\n http://192.168.2.1/downloads/TortoiseSVN-1.4.1.6000-svn-1.4.0.msi\n |
10580 |
| 2303 | 9857 | Setting the |
10589 |
| 2304 | 9869 | ASP projects | 10601 |
| 2305 | 9873 | As of version 1.4.0 and later, the TortoiseSVN installer doesn't provide the user with the option to set the |
10605 |
| 2306 | 9877 | But that option is only hidden for the user. You still can force the TortoiseSVN installer to set that environment variable by setting the msiexec /i TortoiseSVN-1.4.0.msi ASPDOTNETHACK=TRUE\n |
10609 |
| 2307 | 9881 | Disable context menu entries | 10616 |
| 2308 | 9885 | context menu entries | 10620 |
| 2309 | 9889 | disable functions | 10624 |
| 2310 | 9893 | As of version 1.5.0 and later, TortoiseSVN allows you to disable (actually, hide) context menu entries. Since this is a feature which should not be used lightly but only if there is a compelling reason, there is no GUI for this and it has to be done directly in the registry. This can be used to disable certain commands for users who should not use them. But please note that only the context menu entries in the |
10628 |
| 2311 | 9897 | The registry keys which hold the information on which context menus to show are |
10632 |
| 2312 | 9901 | Each of these registry entries is a |
10636 |
| 2313 | 9905 | Menu entries and their values | 10640 |
| 2314 | 9909 | Value | 10644 |
| 2315 | 9913 | Menu entry | 10648 |
| 2316 | 9919 | Checkout | 10654 |
| 2317 | 9925 | Update | 10660 |
| 2318 | 9931 | Commit | 10666 |
| 2319 | 9937 | Add | 10672 |
| 2320 | 9943 | Revert | 10678 |
| 2321 | 9948 | Resolve | 10683 |
| 2322 | 9954 | Export | 10689 |
| 2323 | 9958 | Create Repository here | 10693 |
| 2324 | 9963 | Branch/Tag | 10698 |
| 2325 | 9969 | Merge | 10704 |
| 2326 | 9975 | Delete | 10710 |
| 2327 | 9980 | Rename | 10715 |
| 2328 | 9984 | Update to revision | 10719 |
| 2329 | 9990 | Diff | 10725 |
| 2330 | 9995 | Show Log | 10730 |
| 2331 | 10000 | Edit Conflicts | 10735 |
| 2332 | 10006 | Relocate | 10741 |
| 2333 | 10010 | Check for modifications | 10745 |
| 2334 | 10014 | Ignore | 10749 |
| 2335 | 10018 | Repository Browser | 10753 |
| 2336 | 10024 | Blame | 10759 |
| 2337 | 10029 | Create Patch | 10764 |
| 2338 | 10034 | Apply Patch | 10769 |
| 2339 | 10038 | Revision graph | 10773 |
| 2340 | 10043 | Lock | 10778 |
| 2341 | 10047 | Remove Lock | 10782 |
| 2342 | 10051 | Properties | 10786 |
| 2343 | 10055 | Diff with URL | 10790 |
| 2344 | 10059 | Delete unversioned items | 10794 |
| 2345 | 10063 | Settings | 10798 |
| 2346 | 10075 | Example: to disable the Relocatethe Delete unversioned itemsand the Settingsmenu entries, add the values assigned to the entries like this: 0x0000000000080000\n + 0x0000000080000000\n + 0x2000000000000000\n = 0x2000000080080000\n |
10810 |
| 2347 | 10079 | To enable the menu entries again, simply delete the two registry keys. | 10820 |
| 2348 | 10083 | Automating TortoiseSVN | 10824 |
| 2349 | 10087 | Since all commands for TortoiseSVN are controlled through command line parameters, you can automate it with batch scripts or start specific commands and dialogs from other programs (e.g. your favourite text editor). | 10828 |
| 2350 | 10091 | Remember that TortoiseSVN is a GUI client, and this automation guide shows you how to make the TortoiseSVN dialogs appear to collect user input. If you want to write a script which requires no input, you should use the official Subversion command line client instead. | 10832 |
| 2351 | 10096 | TortoiseSVN Commands | 10837 |
| 2352 | 10102 | automation | 10843 |
| 2353 | 10107 | command line | 10848 |
| 2354 | 10111 | The TortoiseSVN GUI program is called |
10852 |
| 2355 | 10115 | Since some of the commands can take a list of target paths (e.g. committing several specific files) the parameter can take several paths, separated by a |
10856 |
| 2356 | 10119 | TortoiseSVN uses temporary files to pass multiple arguments between the shell extension and the main program. From TortoiseSVN 1.5.0 on and later, parameter is obsolete and there is no need to add it anymore. | 10860 |
| 2357 | 10123 | You can also specify a file which contains a list of paths, separated by newlines. The file must be in UTF-16 format. If you pass such a file, use instead of . To have TortoiseProc delete that file after the command is finished, you can pass the parameter . | 10864 |
| 2358 | 10127 | The progress dialog which is used for commits, updates and many more commands usually stays open after the command has finished until the user presses the |
10868 |
| 2359 | 10131 | To specify a different location of the configuration file, use the parameter . This will override the default path, including any registry setting. | 10872 |
| 2360 | 10135 | don't close the dialog automatically | 10876 |
| 2361 | 10139 | auto close if no errors | 10880 |
| 2362 | 10143 | auto close if no errors and conflicts | 10884 |
| 2363 | 10147 | auto close if no errors, conflicts and merges | 10888 |
| 2364 | 10151 | To close the progress dialog at the end of a command automatically without using the permanent setting you can pass the parameter. |
10892 |
| 2365 | 10155 | The table below lists all the commands which can be accessed using the TortoiseProc.exe command line. As described above, these should be used in the form |
10896 |
| 2366 | 10159 | List of available commands and options | 10900 |
| 2367 | 10163 | Command | 10904 |
| 2368 | 10167 | Shows the about dialog. This is also shown if no command is given. | 10908 |
| 2369 | 10222 | /findstring:\"filterstring\" | 10963 |
| 2370 | 10238 | filter by everything | 10979 |
| 2371 | 10242 | filter by messages | 10983 |
| 2372 | 10246 | filter by path | 10987 |
| 2373 | 10250 | filter by authors | 10991 |
| 2374 | 10254 | filter by revisions | 10995 |
| 2375 | 10258 | filter by bug ID | 10999 |
| 2376 | 10262 | Opens the log dialog. The |
11003 |
| 2377 | 10271 | Opens the checkout dialog. The |
11012 |
| 2378 | 10275 | Opens the import dialog. The |
11016 |
| 2379 | 10299 | Updates the working copy in |
11040 |
| 2380 | 10314 | path | 11055 |
| 2381 | 10318 | /bugid:\"the bug id here\" | 11059 |
| 2382 | 10322 | Opens the commit dialog. The |
11063 |
| 2383 | 10326 | Adds the files in |
11067 |
| 2384 | 10330 | Reverts local modifications of a working copy. The |
11071 |
| 2385 | 10338 | Cleans up interrupted or aborted operations and unlocks the working copy in |
11079 |
| 2386 | 10348 | Marks a conflicted file specified in |
11089 |
| 2387 | 10352 | Creates a repository in |
11093 |
| 2388 | 10356 | Opens the switch dialog. The |
11097 |
| 2389 | 10360 | Exports the working copy in |
11101 |
| 2390 | 10385 | Opens the merge dialog. The |
11126 |
| 2391 | 10389 | Opens the merge all dialog. The |
11130 |
| 2392 | 10393 | Brings up the branch/tag dialog. The |
11134 |
| 2393 | 10397 | Opens the settings dialog. | 11138 |
| 2394 | 10401 | Removes the file(s) in |
11142 |
| 2395 | 10405 | Renames the file in |
11146 |
| 2396 | 10423 | Starts the external diff program specified in the TortoiseSVN settings. The |
11164 |
| 2397 | 10427 | Depending on the URLs and revisions to compare, this either shows a unified diff (if the option is set), a dialog with a list of files that have changed or if the URLs point to files starts the diff viewer for those two files. | 11168 |
| 2398 | 10431 | The options , , and must be specified. The options , , and are optional. | 11172 |
| 2399 | 10435 | Starts the conflict editor specified in the TortoiseSVN settings with the correct files for the conflicted file in |
11176 |
| 2400 | 10439 | Opens the relocate dialog. The |
11180 |
| 2401 | 10443 | Opens the help file. | 11184 |
| 2402 | 10451 | Check repository | 11192 |
| 2403 | 10455 | Opens the check-for-modifications dialog. The |
11196 |
| 2404 | 10464 | /projectpropertiespath:path/to/wc | 11205 |
| 2405 | 10468 | Starts the repository browser dialog, pointing to the URL of the working copy given in |
11209 |
| 2406 | 10476 | Adds all targets in |
11217 |
| 2407 | 10480 | Opens the blame dialog for the file specified in . | 11221 |
| 2408 | 10484 | If the options and are set, then the dialog asking for the blame range is not shown but the revision values of those options are used instead. | 11225 |
| 2409 | 10488 | If the option is set, TortoiseBlame will open with the specified line number showing. | 11229 |
| 2410 | 10492 | The options , and are also supported. | 11233 |
| 2411 | 10496 | /savepath:path | 11237 |
| 2412 | 10504 | Saves a file from an URL or working copy path given in |
11245 |
| 2413 | 10508 | Creates a patch file for the path given in |
11249 |
| 2414 | 10512 | Shows the revision graph for the path given in |
11253 |
| 2415 | 10516 | Locks a file or all files in a directory given in |
11257 |
| 2416 | 10520 | Unlocks a file or all files in a directory given in |
11261 |
| 2417 | 10524 | Rebuilds the windows icon cache. Only use this in case the windows icons are corrupted. A side effect of this (which can't be avoided) is that the icons on the desktop get rearranged. To suppress the message box, pass |
11265 |
| 2418 | 10528 | Shows the properties dialog for the path given in |
11269 |
| 2419 | 10532 | Examples (which should be entered on one line): TortoiseProc.exe /command:commit\n /path:\"c:\\svn_wc\\file1.txt*c:\\svn_wc\\file2.txt\"\n /logmsg:\"test log message\" /closeonend:0\n \n TortoiseProc.exe /command:update /path:\"c:\\svn_wc\\\" /closeonend:0\n \n TortoiseProc.exe /command:log /path:\"c:\\svn_wc\\file1.txt\"\n /startrev:50 /endrev:60 /closeonend:0\n |
11273 |
| 2420 | 10536 | Tsvncmd URL handler | 11287 |
| 2421 | 10540 | URL handler | 11291 |
| 2422 | 10544 | Using special URLs, it is also possible to call TortoiseProc from a web page. | 11295 |
| 2423 | 10548 | TortoiseSVN registers a new protocol |
11299 |
| 2424 | 10552 | The format of the |
11303 |
| 2425 | 10556 | tsvncmd:command:cmd?parameter:paramvalue?parameter:paramvalue | 11307 |
| 2426 | 10560 | with |
11311 |
| 2427 | 10564 | The following commands are allowed with |
11315 |
| 2428 | 10568 | \n <a href=\"tsvncmd:command:showcompare?\n url1:https://stexbar.googlecode.com/svn/trunk/StExBar/src/setup/Setup.wxs?\n url2:https://stexbar.googlecode.com/svn/trunk/StExBar/src/setup/Setup.wxs?\n revision1:188?revision2:189\">compare</a>\n |
11319 |
| 2429 | 10573 | An example URL might look like this: |
11329 |
| 2430 | 10577 | TortoiseIDiff Commands | 11333 |
| 2431 | 10581 | The image diff tool has a few command line options which you can use to control how the tool is started. The program is called |
11337 |
| 2432 | 10585 | The table below lists all the options which can be passed to the image diff tool on the command line. | 11341 |
| 2433 | 10589 | List of available options | 11345 |
| 2434 | 10593 | Option | 11349 |
| 2435 | 10597 | Path to the file shown on the left. | 11353 |
| 2436 | 10602 | A title string. This string is used in the image view title instead of the full path to the image file. | 11358 |
| 2437 | 10606 | Path to the file shown on the right. | 11362 |
| 2438 | 10610 | If specified, the image diff tool switches to the overlay mode (alpha blend). | 11366 |
| 2439 | 10614 | If specified, the image diff tool fits both images together. | 11370 |
| 2440 | 10618 | Shows the image info box. | 11374 |
| 2441 | 10622 | Example (which should be entered on one line): TortoiseIDiff.exe /left:\"c:\\images\\img1.jpg\" /lefttitle:\"image 1\"\n /right:\"c:\\images\\img2.jpg\" /righttitle:\"image 2\"\n /fit /overlay\n |
11378 |
| 2442 | 10626 | Command Line Interface Cross Reference | 11387 |
| 2443 | 10630 | command line client | 11391 |
| 2444 | 10642 | Even though there are CLI equivalents to what TortoiseSVN does, remember that TortoiseSVN does |
11403 |
| 2445 | 10646 | If you think you have found a bug in TortoiseSVN, we may ask you to try to reproduce it using the CLI, so that we can distinguish TortoiseSVN issues from Subversion issues. This reference tells you which command to try. | 11407 |
| 2446 | 10650 | Conventions and Basic Rules | 11411 |
| 2447 | 10654 | In the descriptions which follow, the URL for a repository location is shown simply as |
11415 |
| 2448 | 10658 | Because TortoiseSVN is a Windows Shell Extension, it is not able to use the notion of a current working directory. All working copy paths must be given using the absolute path, not a relative path. | 11419 |
| 2449 | 10662 | Certain items are optional, and these are often controlled by checkboxes or radio buttons in TortoiseSVN. These options are shown in [square brackets] in the command line definitions. | 11423 |
| 2450 | 10666 | \n svn checkout [-depth ARG] [--ignore-externals] [-r rev] URL PATH\n |
11427 |
| 2451 | 10672 | The depth combo box items relate to the |
11435 |
| 2452 | 10677 | If |
11440 |
| 2453 | 10681 | If you are checking out a specific revision, specify that after the URL using |
11444 |
| 2454 | 10685 | \n svn info URL_of_WC\n svn update [-r rev] PATH\n |
11448 |
| 2455 | 10690 | Updating multiple items is currently not an atomic operation in Subversion. So TortoiseSVN first finds the HEAD revision of the repository, and then updates all items to that particular revision number to avoid creating a mixed revision working copy. | 11456 |
| 2456 | 10694 | If only one item is selected for updating or the selected items are not all from the same repository, TortoiseSVN just updates to HEAD. | 11460 |
| 2457 | 10698 | No command line options are used here. |
11464 |
| 2458 | 10702 | Update to Revision | 11468 |
| 2459 | 10706 | \n svn info URL_of_WC\n svn update [-r rev] [-depth ARG] [--ignore-externals] PATH\n |
11472 |
| 2460 | 10711 | In TortoiseSVN, the commit dialog uses several Subversion commands. The first stage is a status check which determines the items in your working copy which can potentially be committed. You can review the list, diff files against BASE and select the items you want to be included in the commit. | 11480 |
| 2461 | 10717 | \n svn status -v PATH\n |
11486 |
| 2462 | 10723 | If |
11494 |
| 2463 | 10727 | If you check any unversioned files and folders, those items will first be added to your working copy. | 11498 |
| 2464 | 10732 | \n svn add PATH...\n |
11503 |
| 2465 | 10737 | When you click on OK, the Subversion commit takes place. If you have left all the file selection checkboxes in their default state, TortoiseSVN uses a single recursive commit of the working copy. If you deselect some files, then a non-recursive commit ( |
11510 |
| 2466 | 10741 | \n svn commit -m \"LogMessage\" [-depth ARG] [--no-unlock] PATH...\n |
11514 |
| 2467 | 10748 | 11523 | |
| 2468 | 10752 | If |
11527 |
| 2469 | 10756 | \n svn diff PATH\n |
11531 |
| 2470 | 10761 | If you use Diff from the main context menu, you are diffing a modified file against its BASE revision. The output from the CLI command above also does this and produces output in unified-diff format. However, this is not what TortoiseSVN is using. TortoiseSVN uses TortoiseMerge (or a diff program of your choosing) to display differences visually between full-text files, so there is no direct CLI equivalent. | 11538 |
| 2471 | 10765 | You can also diff any 2 files using TortoiseSVN, whether or not they are version controlled. TortoiseSVN just feeds the two files into the chosen diff program and lets it work out where the differences lie. | 11542 |
| 2472 | 10769 | \n svn log -v -r 0:N --limit 100 [--stop-on-copy] PATH\n or\n svn log -v -r M:N [--stop-on-copy] PATH\n |
11546 |
| 2473 | 10774 | By default, TortoiseSVN tries to fetch 100 log messages using the --limit method. If the settings instruct it to use old APIs, then the second form is used to fetch the log messages for 100 repository revisions. | 11555 |
| 2474 | 10778 | If |
11559 |
| 2475 | 10782 | \n svn status -v PATH\n or\n svn status -u -v PATH\n |
11563 |
| 2476 | 10787 | The initial status check looks only at your working copy. If you click on |
11572 |
| 2477 | 10791 | Revision Graph | 11576 |
| 2478 | 10795 | The revision graph is a feature of TortoiseSVN only. There's no equivalent in the command line client. | 11580 |
| 2479 | 10799 | What TortoiseSVN does is an svn info URL_of_WC\n svn log -v URL\n |
11584 |
| 2480 | 10803 | Repo Browser | 11592 |
| 2481 | 10807 | \n svn info URL_of_WC\n svn list [-r rev] -v URL\n |
11596 |
| 2482 | 10812 | You can use |
11604 |
| 2483 | 10816 | The |
11608 |
| 2484 | 10820 | This command has no CLI equivalent. It invokes TortoiseMerge or an external 3-way diff/merge tool to look at the files involved in the conflict and sort out which lines to use. | 11612 |
| 2485 | 10824 | Resolved | 11616 |
| 2486 | 10828 | \n svn resolved PATH\n |
11620 |
| 2487 | 10833 | \n svn rename CURR_PATH NEW_PATH\n |
11627 |
| 2488 | 10838 | \n svn delete PATH\n |
11634 |
| 2489 | 10843 | The first stage is a status check which determines the items in your working copy which can potentially be reverted. You can review the list, diff files against BASE and select the items you want to be included in the revert. | 11641 |
| 2490 | 10847 | When you click on OK, the Subversion revert takes place. If you have left all the file selection checkboxes in their default state, TortoiseSVN uses a single recursive ( |
11645 |
| 2491 | 10851 | \n svn revert [-R] PATH...\n |
11649 |
| 2492 | 10856 | \n svn cleanup PATH\n |
11656 |
| 2493 | 10861 | Get Lock | 11663 |
| 2494 | 10865 | The first stage is a status check which determines the files in your working copy which can potentially be locked. You can select the items you want to be locked. | 11667 |
| 2495 | 10869 | \n svn lock -m \"LockMessage\" [--force] PATH...\n |
11671 |
| 2496 | 10874 | 11678 | |
| 2497 | 10878 | If |
11682 |
| 2498 | 10882 | Release Lock | 11686 |
| 2499 | 10886 | \n svn unlock PATH\n |
11690 |
| 2500 | 10891 | \n svn copy -m \"LogMessage\" URL URL\n or\n svn copy -m \"LogMessage\" URL@rev URL@rev\n or\n svn copy -m \"LogMessage\" PATH URL\n |
11697 |
| 2501 | 10896 | Specific revision in repository | 11708 |
| 2502 | 10900 | The Branch/Tag dialog performs a copy to the repository. There are 3 radio button options: |
11712 |
| 2503 | 10904 | \n svn info URL_of_WC\n svn switch [-r rev] URL PATH\n |
11716 |
| 2504 | 10909 | \n svn merge [--dry-run] --force From_URL@revN To_URL@revM PATH\n |
11724 |
| 2505 | 10914 | The |
11731 |
| 2506 | 10918 | \n svn diff From_URL@revN To_URL@revM\n |
11735 |
| 2507 | 10923 | The |
11742 |
| 2508 | 10927 | \n svn export [-r rev] [--ignore-externals] URL Export_PATH\n |
11746 |
| 2509 | 10932 | This form is used when accessed from an unversioned folder, and the folder is used as the destination. | 11753 |
| 2510 | 10936 | Exporting a working copy to a different location is done without using the Subversion library, so there's no matching command line equivalent. | 11757 |
| 2511 | 10940 | What TortoiseSVN does is to copy all files to the new location while showing you the progress of the operation. Unversioned files/folders can optionally be exported too. | 11761 |
| 2512 | 10944 | In both cases, if |
11765 |
| 2513 | 10948 | \n svn switch --relocate From_URL To_URL\n |
11769 |
| 2514 | 10953 | Create Repository Here | 11776 |
| 2515 | 10957 | \n svnadmin create --fs-type fsfs PATH\n |
11780 |
| 2516 | 10962 | If you selected a folder, TortoiseSVN first scans it recursively for items which can be added. | 11787 |
| 2517 | 10966 | \n svn import -m LogMessage PATH URL\n |
11791 |
| 2518 | 10971 | \n svn blame -r N:M -v PATH\n svn log -r N:M PATH\n |
11798 |
| 2519 | 10976 | If you use TortoiseBlame to view the blame info, the file log is also required to show log messages in a tooltip. If you view blame as a text file, this information is not required. | 11806 |
| 2520 | 10980 | Add to Ignore List | 11810 |
| 2521 | 10984 | \n svn propget svn:ignore PATH > tempfile\n {edit new ignore item into tempfile}\n svn propset svn:ignore -F tempfile PATH\n |
11814 |
| 2522 | 10989 | Because the |
11823 |
| 2523 | 10993 | \n svn diff PATH > patch-file\n |
11827 |
| 2524 | 10998 | TortoiseSVN creates a patch file in unified diff format by comparing the working copy with its BASE version. | 11834 |
| 2525 | 11002 | Applying patches is a tricky business unless the patch and working copy are at the same revision. Luckily for you, you can use TortoiseMerge, which has no direct equivalent in Subversion. | 11838 |
| 2526 | 11010 | This appendix contains a more detailed discussion of the implementation of some of TortoiseSVN's features. | 11846 |
| 2527 | 11014 | overlay priority | 11850 |
| 2528 | 11018 | Every file and folder has a Subversion status value as reported by the Subversion library. In the command line client, these are represented by single letter codes, but in TortoiseSVN they are shown graphically using the icon overlays. Because the number of overlays is very limited, each overlay may represent one of several status values. | 11854 |
| 2529 | 11022 | 11858 | |
| 2530 | 11026 | 11862 | |
| 2531 | 11030 | 11866 | |
| 2532 | 11034 | 11870 | |
| 2533 | 11038 | 11874 | |
| 2534 | 11042 | 11878 | |
| 2535 | 11046 | 11882 | |
| 2536 | 11050 | 11886 | |
| 2537 | 11054 | 11890 | |
| 2538 | 11058 | If an item has subversion status |
11894 |
| 2539 | 11062 | An item can only have one Subversion status value. For example a file could be locally modified and it could be marked for deletion at the same time. Subversion returns a single status value - in this case |
11898 |
| 2540 | 11066 | When TortoiseSVN displays the status recursively (the default setting), each folder displays an overlay reflecting its own status and the status of all its children. In order to display a single |
11902 |
| 2541 | 11070 | In fact, you may find that not all of these icons are used on your system. This is because the number of overlays allowed by Windows is limited to 15. Windows uses 4 of those, and the remaining 11 can be used by other applications. If there are not enough overlay slots available, TortoiseSVN tries to be a Good Citizen (TM)and limits its use of overlays to give other apps a chance. |
11906 |
| 2542 | 11074 | 11910 | |
| 2543 | 11078 | 11914 | |
| 2544 | 11082 | 11918 | |
| 2545 | 11086 | 11922 | |
| 2546 | 11090 | 11926 | |
| 2547 | 11094 | Securing Svnserve using SSH | 11930 |
| 2548 | 11098 | This section provides a step-by-step guide to setting up Subversion and TortoiseSVN to use the |
11934 |
| 2549 | 11102 | In this implementation we create a single SSH user account for all subversion users, and use different authentication keys to differentiate between the real Subversion users. | 11938 |
| 2550 | 11106 | In this appendix we assume that you already have the subversion tools installed, and that you have created a repository as detailed elsewhere in this manual. Note that you should |
11942 |
| 2551 | 11110 | Much of the information here comes from a tutorial provided by Marc Logemann, which has been archived at |
11946 |
| 2552 | 11114 | You can also watch a video tutorial created by Maximo Migliari which takes you through all the important steps. Watch it on |
11950 |
| 2553 | 11118 | Setting Up a Linux Server | 11954 |
| 2554 | 11122 | You need to have SSH enabled on the server, and here we assume that you will be using OpenSSH. On most distributions this will already be installed. To find out, type: ps xa | grep sshd\n |
11958 |
| 2555 | 11126 | One point to note is that if you build Subversion from source and do not provide any argument to |
11965 |
| 2556 | 11130 | To check that everything is OK, login in as the target user with SSH and type: which svnserve\n |
11969 |
| 2557 | 11134 | Create a new user which we will use to access the svn repository: useradd -m svnuser\n |
11976 |
| 2558 | 11138 | Setting Up a Windows Server | 11983 |
| 2559 | 11142 | Install Cygwin SSH daemon as described here: |
11987 |
| 2560 | 11146 | Create a new Windows user account |
11991 |
| 2561 | 11150 | If there is no password file yet then create one from the Cygwin console using: mkpasswd -l > /etc/passwd\n |
11995 |
| 2562 | 11154 | SSH Client Tools for use with TortoiseSVN | 12002 |
| 2563 | 11158 | Grab the tools we need for using SSH on the windows client from this site: |
12006 |
| 2564 | 11162 | Creating OpenSSH Certificates | 12010 |
| 2565 | 11166 | The next step is to create a key pair for authentication. There are two possible ways to create keys. The first is to create the keys with PuTTYgen on the client, upload the public key to your server and use the private key with PuTTY. The other is to create the key pair with the OpenSSH tool ssh-keygen, download the private key to your client and convert the private key to a PuTTY-style private key. | 12014 |
| 2566 | 11170 | Create Keys using ssh-keygen | 12018 |
| 2567 | 11174 | Login to the server as ssh-keygen -b 1024 -t dsa -N passphrase -f keyfile\n ls -l keyfile*\n |
12022 |
| 2568 | 11178 | Append the public key to those in the cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n |
12031 |
| 2569 | 11182 | In order to use the private key we generated, we have to convert it to a putty format. This is because the private key file format is not specified by a standards body. After you download the private key file to your client PC, start PuTTYgen and use |
12038 |
| 2570 | 11186 | Create Keys using PuTTYgen | 12042 |
| 2571 | 11190 | Use PuTTYgen to generate a public-key/private-key pair and save it. Copy the public key to the server and append it to those in the cat keyfile.pub >> /home/svnuser/.ssh/authorized_keys\n |
12046 |
| 2572 | 11194 | Test using PuTTY | 12053 |
| 2573 | 11198 | To test the connection we will use PuTTY. Start the program and on the |
12057 |
| 2574 | 11202 | Click on |
12061 |
| 2575 | 11206 | You may need to edit PubkeyAuthentication yes\n PasswordAuthentication no\n PermitEmptyPasswords no\n ChallengeResponseAuthentication no\n |
12065 |
| 2576 | 11210 | Testing SSH with TortoiseSVN | 12075 |
| 2577 | 11214 | So far we have only tested that you can login using SSH. Now we need to make sure that the SSH connection can actually run svnserve. On the server modify |
12079 |
| 2578 | 11218 | Note: This is all on one very long line. command=\"svnserve -t -r <ReposRootPath> --tunnel-user=<author>\",\n no-port-forwarding,no-agent-forwarding,no-X11-forwarding,\n no-pty ssh-rsa <PublicKey> <Comment>\n |
12083 |
| 2579 | 11222 | 12092 | |
| 2580 | 11226 | 12096 | |
| 2581 | 11230 | 12100 | |
| 2582 | 11234 | 12104 | |
| 2583 | 11238 | Right click on any folder in Windows Explorer and select svn+ssh://svnuser@SvnConnection/repos\n |
12108 |
| 2584 | 11242 | Click on |
12115 |
| 2585 | 11246 | Note that by default TortoiseSVN uses its own version of Plink to connect. This avoids a console window popping up for every authentication attempt, but it also means that there is nowhere for error messages to appear. If you receive the error Unable to write to standard output, you can try specifying Plink as the client in TortoiseSVN's network settings. This will allow you to see the real error message generated by Plink. |
12119 |
| 2586 | 11250 | SSH Configuration Variants | 12123 |
| 2587 | 11254 | One way to simplify the URL in TortoiseSVN is to set the user inside the PuTTY session. For this you have to load your already defined session svn+ssh://SvnConnection/repos\n |
12127 |
| 2588 | 11258 | At the time of writing PuTTY does not check all saved configurations, so if you have multiple configurations with the same server name, it will pick the first one which matches. Also, if you edit the default configuration and save it, the auto login user name is |
12134 |
| 2589 | 11262 | Many people like to use Pageant for storing all their keys. Because a PuTTY session is capable of storing a key, you don't always need Pageant. But imagine you want to store keys for several different servers; in that case you would have to edit the PuTTY session over and over again, depending on the server you are trying to connect with. In this situation Pageant makes perfect sense, because when PuTTY, Plink, TortoisePlink or any other PuTTY-based tool is trying to connect to an SSH server, it checks all private keys that Pageant holds to initiate the connection. | 12138 |
| 2590 | 11266 | For this task, simply run Pageant and add the private key. It should be the same private key you defined in the PuTTY session above. If you use Pageant for private key storage, you can delete the reference to the private key file in your saved PuTTY session. You can add more keys for other servers, or other users of course. | 12142 |
| 2591 | 11270 | If you don't want to repeat this procedure after every reboot of your client, you should place Pageant in the auto-start group of your Windows installation. You can append the keys with complete paths as command line arguments to Pageant.exe | 12146 |
| 2592 | 11274 | The last way to connect to an SSH server is simply by using this URL inside TortoiseSVN: svn+ssh://svnuser@100.101.102.103/repos\n svn+ssh://svnuser@mydomain.com/repos\n |
12150 |
| 2593 | 11278 | If you use this last method, be sure you do not have a default username set in PuTTY. We have had reports of a bug in PuTTY causing connections to close in this case. To remove the default user, simply clear |
12158 |
| 2594 | 11282 | Language Packs and Spell Checkers | 12162 |
| 2595 | 11286 | The standard installer has support only for English, but you can download separate language packs and spell check dictionaries separately after installation. | 12166 |
| 2596 | 11290 | Language Packs | 12170 |
| 2597 | 11294 | language packs | 12174 |
| 2598 | 11298 | translations | 12178 |
| 2599 | 11302 | The TortoiseSVN user interface has been translated into many different languages, so you may be able to download a language pack to suit your needs. You can find the language packs on our |
|
| 2600 | 11306 | Each language pack is packaged as a |
|
| 2601 | 11310 | The documentation has also been translated into several different languages. You can download translated manuals from the |
12190 |
| 2602 | 11314 | Spellchecker | 12194 |
| 2603 | 11318 | spellchecker | 12198 |
| 2604 | 11322 | dictionary | 12202 |
| 2605 | 11326 | TortoiseSVN includes a spell checker which allows you to check your commit log messages. This is especially useful if the project language is not your native language. The spell checker uses the same dictionary files as |
12206 |
| 2606 | 11330 | The installer automatically adds the US and UK English dictionaries. If you want other languages, the easiest option is simply to install one of TortoiseSVN's language packs. This will install the appropriate dictionary files as well as the TortoiseSVN local user interface. After the installation finishes, the dictionary will be available too. | |
| 2607 | 11334 | Or you can install the dictionaries yourself. If you have OpenOffice or Mozilla installed, you can copy those dictionaries, which are located in the installation folders for those applications. Otherwise, you need to download the required dictionary files from |
12214 |
| 2608 | 11346 | Once you have got the dictionary files, you probably need to rename them so that the filenames only have the locale chars in it. Example: |
12226 |
| 2609 | 11350 | Check the |
12230 |
| 2610 | 11354 | If no project language is set, or that language is not installed, try the language corresponding to the Windows locale. | 12234 |
| 2611 | 11358 | If the exact Windows locale doesn't work, try the Baselanguage, eg. |
12238 |
| 2612 | 11362 | If none of the above works, then the default language is English, which is included with the standard installation. | 12242 |
| 2613 | 11366 | If you install multiple dictionaries, TortoiseSVN uses these rules to select which one to use. |
12246 |
| 2614 | 11374 | A Subversion command that is used to add a file or directory to your working copy. The new items are added to the repository when you commit. | 12254 |
| 2615 | 11382 | The current base revision of a file or folder in your |
12262 |
| 2616 | 11386 | This command is for text files only, and it annotates every line to show the repository revision in which it was last changed, and the author who made that change. Our GUI implementation is called TortoiseBlame and it also shows the commit date/time and the log message when you hover the mouse of the revision number. | 12266 |
| 2617 | 11402 | A term frequently used in revision control systems to describe what happens when development forks at a particular point and follows 2 separate paths. You can create a branch off the main development line so as to develop a new feature without rendering the main line unstable. Or you can branch a stable release to which you make only bug fixes, while new developments take place on the unstable trunk. In Subversion a branch is implemented as a cheap copy. |
12283 |
| 2618 | 11406 | A Subversion command which creates a local working copy in an empty directory by downloading versioned files from the repository. | 12287 |
| 2619 | 11410 | To quote from the Subversion book: Recursively clean up the working copy, removing locks and resuming unfinished operations. If you ever get aNote that in this context |
12291 |
| 2620 | 11414 | This Subversion command is used to pass the changes in your local working copy back into the repository, creating a new repository revision. | 12295 |
| 2621 | 11422 | When changes from the repository are merged with local changes, sometimes those changes occur on the same lines. In this case Subversion cannot automatically decide which version to use and the file is said to be in conflict. You have to edit the file manually and resolve the conflict before you can commit any further changes. | 12303 |
| 2622 | 11430 | In a Subversion repository you can create a copy of a single file or an entire tree. These are implemented as cheap copieswhich act a bit like a link to the original in that they take up almost no space. Making a copy preserves the history of the item in the copy, so you can trace changes made before the copy was made. |
12311 |
| 2623 | 11434 | When you delete a versioned item (and commit the change) the item no longer exists in the repository after the committed revision. But of course it still exists in earlier repository revisions, so you can still access it. If necessary, you can copy a deleted item and resurrectit complete with history. |
12315 |
| 2624 | 11438 | Shorthand for Show Differences. Very useful when you want to see exactly what changes have been made. |
12319 |
| 2625 | 11442 | This command produces a copy of a versioned folder, just like a working copy, but without the local |
12323 |
| 2626 | 11450 | A proprietary Subversion filesystem backend for repositories. Can be used on network shares. Default for 1.2 and newer repositories. | 12331 |
| 2627 | 11454 | Group policy object | 12335 |
| 2628 | 11458 | HEAD revision | 12339 |
| 2629 | 11462 | The latest revision of a file or folder in the |
12343 |
| 2630 | 11466 | Subversion command to import an entire folder hierarchy into the repository in a single revision. | 12347 |
| 2631 | 11470 | When you take out a lock on a versioned item, you mark it in the repository as non-committable, except from the working copy where the lock was taken out. | 12351 |
| 2632 | 11478 | Show the revision history of a file or folder. Also known as History. |
12359 |
| 2633 | 11486 | Show the revision history of a file or folder. Also known as Log. |
12367 |
| 2634 | 11490 | The process by which changes from the repository are added to your working copy without disrupting any changes you have already made locally. Sometimes these changes cannot be reconciled automatically and the working copy is said to be in conflict. | 12371 |
| 2635 | 11494 | Merging happens automatically when you update your working copy. You can also merge specific changes from another branch using TortoiseSVN's Merge command. | 12375 |
| 2636 | 11498 | Patch | 12379 |
| 2637 | 11502 | If a working copy has changes to text files only, it is possible to use Subversion's Diff command to generate a single file summary of those changes in Unified Diff format. A file of this type is often referred to as a Patch, and it can be emailed to someone else (or to a mailing list) and applied to another working copy. Someone without commit access can make changes and submit a patch file for an authorized committer to apply. Or if you are unsure about a change you can submit a patch for others to review. |
12383 |
| 2638 | 11510 | In addition to versioning your directories and files, Subversion allows you to add versioned metadata - referred to as propertiesto each of your versioned directories and files. Each property has a name and a value, rather like a registry key. Subversion has some special properties which it uses internally, such as |
12391 |
| 2639 | 11514 | If your repository moves, perhaps because you have moved it to a different directory on your server, or the server domain name has changed, you need to relocateyour working copy so that its repository URLs point to the new location. |
12395 |
| 2640 | 11518 | Note: you should only use this command if your working copy is referring to the same location in the same repository, but the repository itself has moved. In any other circumstance you probably need the Switchcommand instead. |
12399 |
| 2641 | 11526 | A repository is a central place where data is stored and maintained. A repository can be a place where multiple databases or files are located for distribution over a network, or a repository can be a location that is directly accessible to the user without having to travel across a network. | 12407 |
| 2642 | 11530 | When files in a working copy are left in a conflicted state following a merge, those conflicts must be sorted out by a human using an editor (or perhaps TortoiseMerge). This process is referred to as Resolving Conflicts. When this is complete you can mark the conflicted files as being resolved, which allows them to be committed. |
12411 |
| 2643 | 11534 | Subversion keeps a local pristinecopy of each file as it was when you last updated your working copy. If you have made changes and decide you want to undo them, you can use the revertcommand to go back to the pristine copy. |
12415 |
| 2644 | 11542 | Every time you commit a set of changes, you create one new revisionin the repository. Each revision represents the state of the repository tree at a certain point in its history. If you want to go back in time you can examine the repository as it was at revision N. |
12423 |
| 2645 | 11546 | In another sense, a revision can refer to the set of changes that were made when that revision was created. | 12427 |
| 2646 | 11550 | Revision Property (revprop) | 12431 |
| 2647 | 11554 | Just as files can have properties, so can each revision in the repository. Some special revprops are added automatically when the revision is created, namely: |
12435 |
| 2648 | 11562 | A frequently-used abbreviation for Subversion. | 12443 |
| 2649 | 11566 | The name of the Subversion custom protocol used by the svnserverepository server. |
12447 |
| 2650 | 11570 | Just as Update-to-revisionchanges the time window of a working copy to look at a different point in history, so Switchchanges the space window of a working copy so that it points to a different part of the repository. It is particularly useful when working on trunk and branches where only a few files differ. You can switch your working copy between the two and only the changed files will be transferred. |
12451 |
| 2651 | 11574 | This Subversion command pulls down the latest changes from the repository into your working copy, merging any changes made by others with local changes in the working copy. | 12455 |
| 2652 | 11578 | This is your local sandbox, the area where you work on the versioned files, and it normally resides on your local hard disk. You create a working copy by doing a Checkoutfrom a repository, and you feed your changes back into the repository using Commit. |
12459 |
| 2653 | 11583 | translator-credits | 12464 |
| 2654 | 11588 | translator-translation | 12469 |
Total:2654
String marked as fuzzy is not in final shape.
| Index | Line | English | Line | Native |
| 1 | - | TortoiseSVN integrates seamlessly into the Windows shell (i.e. the explorer). This means you can keep working with the tools you're already familiar with. And you do not have to change into a different application each time you need the functions of version control. | 122 | Το TortoiseSVN ενσωματώνεται απρόσκοπτα στο κέλυφος των Windows (δηλ. στον εξερευνητή). Αυτό σημαίνει ότι μπορείτε να συνεχίσετε να εργάζεστε με τα εργαλεία που είστε συνηθισμένοι. Δεν χρειάζεται να μεταβείτε σε διαφορετική εφαρμογή κάθε φορά που πρέπει να χρησιμοποιήσετε λειτουργίες για έλεγχο εκδόσεων! |
| 2 | - | Both TortoiseSVN and Subversion are developed by a community of people who are working on those projects. They come from different countries all over the world, working together to create great software. | 227 | Το TortoiseSVN και το Subversion έχουν αναπτυχθεί από μια κοινότητα ανθρώπων που εργάζονται σε αυτά τα έργα. Προέρχονται από διαφορετικές χώρες ανά τον κόσμο και εργάζονται μαζί για να δημιουργήσουν εκπληκτικά προγράμματα. |
| 3 | - | for the hard work to get TortoiseSVN to what it is now, and his leadership of the project | 264 | για την σκληρή δουλειά του να κάνει το TortoiseSVN αυτό που είναι τώρα |
| 4 | - | for maintaining the documentation | 281 | για τη βοήθεια στην τεκμηρίωση και την εύρεση λαθών |
| 5 | - | This book is written for computer-literate folk who want to use Subversion to manage their data, but prefer to use a GUI client rather than a command line client. TortoiseSVN is a windows shell extension and it is assumed that the user is familiar with the windows explorer and how to use it. | 330 | Το βιβλίο αυτό έχει γραφτεί για χρήστες / γνώστες υπολογιστών που θέλουν να χρησιμοποιήσουν το Subversion για την διαχείριση των δεδομένων τους, αλλά δεν είναι τους είναι εύχρηστη η γραμμή εντολών για να το κάνουν. Εφόσον το TortoiseSVN είναι επέκταση στο κέλυφος των Windows θεωρούμε ότι ο χρήστης είναι εξοικιωμένος με την εξερεύνηση των windows και γνωρίζει πως να τη χρησιμοποιήσει. |
| 6 | - | Creating a Repository | 513 | Αποθήκη |
| 7 | - | Checking out a Working Copy | 547 | Αντίγραφο Εργασίας |
| 8 | - | Berkeley DB. A well tested database backend for repositories, that cannot be used on network shares. Default for pre 1.2 repositories. | 12274 | Βάση Δεδομένων Berkeley |
Total:8
This test check if all escaped chars are known and its using match with English. Even you get red here it may be legal for your language.
This test is in developing now. Ignored are: \r \n (wee new line style test) and \".
PASS
PASS
Next few sections informs about duplicate accelerators in translation. There is no reason to be stressed about this, but some translators like to know it. In a fact even English translation contains duplicate.
RC checking is currently off for this language. If you like enable it for your translation drop me an email.