![]() ![]() Advanced repository management capabilities The TortoiseHg Workbench is the application that enables you to browse multiple local repositories, perform data searches, make commits, load and view all the file revisions. It enables you to review the modifications that a file suffered and retrieve a previous version from the repository in case you need to. The main purpose of this application is to allow the management of files and directories over time. It supports overlay handlers for easier identification of newly added and unversioned files. Shell extension for quick access to Mercurial It installs as a Windows shell extension, providing quick and convenient access to options for creating new repositories, adding new files to existing ones, performing synchronizations, view a file's history, create clones, remove files from the repository or rename them. With its help, you can easily view the content of multiple repositories, sync data and perform basic management tasks. However, the cost of repairing a damaged repositories is a new ID that will be assigned to a new change set.TortoiseHg is a repository explorer for Mercurial, enabling you to easily maintain and manage historical file versions. ![]() ![]() If the repositories is damaged for whatever reason, this feature can help to recreate the changeset without losing the histories from previous changeset. Fix Repositories (Version 2.1.0 onwards)Īdded new function to repair damaged repositories with status " ERROR" during repositories verification. ![]() This is handy to sync between multiple repositories on local machine and remote server or external storage. New Features Push and Pull Changes (Version 2.0 onwards)Īdded new function to push or pull changes from multiple repositories with alias named " default". This option is settable from the track bar located on the upper left of the Application's Main Form with max thread limited to 8. To optimize the performance, we limit the threads in the Parallel.For by setting the MaxDegreeofParallelism property in ParallelOption. It will run even slower when there are too many threads running at once. Verifying N repositories with N threads doesn't sound practical. If (VerifyRepository(Repositories, ref errorMessage)) Parallel.For( 0,, taskOption, rowIndex =>ĭataGridViewRow ptrRow = dgRepo.Rows The Mercurial verification function is used to verify each repository as shown in the TortoiseHg Workbench. TortoiseHgManager retrieves the repositories information from this file. The TortoiseHg repository registry is stored in the following location: "%APPDATA%\TortoiseHg\thg-reporegistry.xml". Load Repositories from Repository Registry The number of repositories which failed verification are shown in the status bar as below: This tool will perform repository verification on all repositories and report its status. TortoiseHgManager is created to automate the repository verification for all Mercurial repositories registered under the TortoiseHg Repository Registry. However, it is very tedious to verify all repositories as there isn't any function to do this in one click. This function works fine for one repository at a time. The verification function can be accessed from the TortoiseHg Workbench under Repository -> Verify. Mercurial and TortoiseHg do provide a verification function to verify the integrity of a repository. One may still be able to commit to a damaged repository but getting an earlier revision may no longer work. There is a chance that files in the repository folder will get corrupted due to either a hardware or software error. The integrity of this folder is important for the repository to work properly. This folder contains multiple files which hold the status and history for each tracked file. BackgroundĬontents of a Mercurial repository are stored as a sub folder named ". I assumed that you have a basic knowledge of TortoiseHg and Mercurial. This tip presents a repository tool named TortoiseHgManager created for TortoiseHg to verify all repositories in one click. TortoiseHg is a Windows shell extension and a series of applications for the Mercurial distributed revision control system. Download TortoiseHg_V2.1.0_bin - 18.1 KB. ![]()
0 Comments
Leave a Reply. |