![]() However the fact that it works from the command-line and not from the plug-in makes me think it's a bug with the plug-in. I have tried every combination of \ and / possible. $ "C:\Program Files\TortoiseHG\hg.exe" -debug clone -rev default -noupdate \\MACHINENAME\Path\To\Repo "C:\Program Files (x86)\Jenkins\workspace\TestProject"Ībort: repository \\MACHINENAME\Path\To\Repo not found!ĮRROR: Failed to clone \\MACHINENAME\Path\To\Repo but when I configure the Mercurial plugin to use this path, I get the following error:īuilding in workspace C:\Program Files (x86)\Jenkins\workspace\TestProject The problem I have is that the following command WORKS from the command line: I realize that this is not the recommended setup (ssh or https is preferred), but being on the LAN, the security concerns are not an issue. TODO : continue and maybe add more images.We use Mercurial for source control and have a central repository located on a server on the network that we access directly via the file system. You will then have an opportunity to commit it into your local repo. In the same repository explorer, select ' Import' from the ' Synchronize' menu and point to the patch. TortoiseHg is a GUI front-end for Mercurial that runs on Microsoft Windows (on which it integrates directly with File Explorer 2 ), Mac OS X, 3 and Linux. Next, open the repository explorer ( context menu -> Hg Repository Explorer), right click the changeset you wish to create a patch from, and select Export -> Export Patch : To create a patch of your local change, first commit it into your local repository. It does not automatically upload things to the server. The Commit action is different in mercurial. ![]() ![]() To do that, go to Context Menu -> Repository Settings -> Synchronize (from left menu list) -> Set the default repository path to (or whichever connection mode you're using). If you do this, you might want to make the second clone independent of the first. It will greatly reduce the amount of data you have to fetch from the ogre servers. Clone the repository somewhere else (using the destination path of the first checkout as the source path), then switch to the desired branch in the new directory. After fetching the code once, you can use the local path of the ogre sources as the source directory for your next clone. Installation TortoiseHg Windows installers come with the python-git bindings (named dulwich) and hg-git. It can also be used to do straight conversions of Git repositories into Mercurial. You can also easily have multiple branches on your computer. Mercurial for Git users hg-git, as its name implies, allows you to use Mercurial as a client to a git server. Tortoisehg context menu -> update -> select desired branch in menu. Using Mercurial Since we have installed TortoiseHg, when you right click on the project folder, you will have the option to create a Mercurial repository. And having done that, you can now push to your git repository, with the following simple command: hg push path \to\gitrepo. The hg-git documentation says you need to run the following one-time configuration: hg bookmarks hg. You now have the OGRE sources checked out! Here are some additional operations you might want to do : Navigate to the mercurial repository you wish to convert. ![]() Source path should be, and it will get checked out to the dest dir. Right click in a folder -> tortoisehg -> clone repository. As mentioned in 'Mercurial not working after TortoiseHg update', TortoiseHg v2.X.X no longer uses the hg command, but rather thg. i think I use Mercurial for my project on my laptop. (If using a fresh install, the only line in the file should be # Generated by tortoisehg-config ) # Reject commits which would introduce windows-style text files Make repo compatible with Mercurial <1.7 If selected TortoiseHg creates an older format Mercurial repository. Download the client from and install it.Īfter installation, right click in a windows folder -> tortoisehg -> Global Settings -> Click "Edit file", and paste these contents to it :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |