tortoisehg

What is the tortoisehg gui equivalent of doing “hg push -r”

*爱你&永不变心* 提交于 2019-12-10 03:59:43
问题 I don't see the options to accomplish this. I want to only push changesets related to my default branch, not any other local branches I have. I thought I could do this by using the Repository Explorer like so: On the toolbar below the repository address, the first combo box allows me to select a branch. I set this to default. However once I push outgoing, it wants to flag local changesets not in default. Any ideas? 回答1: Aufter you determine the outgoing revisions with the green up-arrow, the

Mercurial and TortoiseHG - Update remote repository after pushing changes

安稳与你 提交于 2019-12-10 03:52:26
问题 When pushing changes to a remote repository, is it not possible to automatically run update there so the changes/files are available? 回答1: Use changegroup hook on the remote side, as described in the Mercurial FAQ. 回答2: Edit .hg/hgrc on the remote repository and add: [hooks] changegroup.UpdateOnPush = hg update 来源: https://stackoverflow.com/questions/6924143/mercurial-and-tortoisehg-update-remote-repository-after-pushing-changes

What's the best way to version control graphical assets on Windows?

[亡魂溺海] 提交于 2019-12-10 03:15:05
问题 I'm a web developer / designer, and I want to be able to version control graphic files (Photoshop / Fireworks / Illustrator / Stock Photos / etc). This would normally be fine but some of the files I have tip the scales at around 800MB, which TortoiseHG chokes on. I currently have a server I put all my files on so all my computers can access (it's my work computer and I have some flexibility as to installing some linux packages). Any advice on the best way to go about this would be appreciated

HG Convert on SVN gives “does not look like a Subversion Repository”

≡放荡痞女 提交于 2019-12-09 18:29:17
问题 I just installed TortoiseHG v2.11 with Mercurial-2.9 I am attempting to convert my local Subversion repositories created with TortoiseSVN 1.8. 4, Subversion 1.8.5 To be sure that my old Subversion repositories don't have any weird quirks I created a new SVN repo called test_repo with the default folder structure, performed a Checkout to test_repowc, then added some text files to the trunk, then modified and committed the files a few times to provide some history. I then opened cmd.exe,

How to remove accidental branch in TortoiseHg?

痞子三分冷 提交于 2019-12-09 07:50:36
问题 (I am a relative newcomer to TortoiseHg, so bear with me :-) I use TortoiseHg on two machines to talk to my remote source repository. I made changes on one machine, committed them, and attempted to push them to the remote repository BUT I forgot to first do a pull to get the latest code first. The push gave me a few lines of output, suggesting I may have forgotten to pull first (true!) and mentioned something like "abort: push creates new remote branches...". So I did a pull, which added

How to see Mercurial commands issued by Tortoise HG?

ぃ、小莉子 提交于 2019-12-08 17:12:01
问题 I there a way to see what Mercurial commands are issued by Tortoise HG? For instance, if I use the Shelve command in Tortoise, I'd like to see how (and if) it calls 'hg shelve' under the hood. 回答1: In some tools, there's a "View->Always Show Output" option. It causes commands to run in a console window. Though often the displayed command line is truncated because it could contain passwords. TortoiseHg uses Mercurial at multiple API layers, so there's no universal place to get all the commands

Apply patches in branch

荒凉一梦 提交于 2019-12-08 16:16:02
问题 I receive a patches from a contributor. Apparently, he produces the patches in trunk. However, I would like to commit his changes to a new branch. May I know how I can do so through Tortoise-Hg? 回答1: The directions found below assume you want the patches isolated on a named branch . Using the command-line, it is easy to apply patches to a new named branch. However if you want to do this using TortoiseHg only, you must create the named branch with an empty commit prior to applying the patches.

TortoiseHg update fails with “Access is denied”, how to work around that?

好久不见. 提交于 2019-12-08 13:46:09
问题 I've pulled in some changes to read-only files from a remote repository and I'm trying to update my working area, but I get [Errno 13] ... Access is denied errors when TortoiseHg tries to update the read-only files. I'm wondering if there's a command, option, or setting that will solve this problem in the TortoiseHg GUI. I can't seem to updated read-only files from the command line, either, so I'm also interested command-line solutions as well. 回答1: On Windows, attrib -r * /s from the

Mercurial Repository Nightly Pull from a subdirectory on a server

一笑奈何 提交于 2019-12-08 08:32:28
问题 I am attempting to run a Windows batch script nightly to pull a fresh copy of data to my local hard drive from a Mercurial repository, overwriting any data I have locally. The server on which the repository is located has many repos, so is located in a sub-directory on the server. I have set up PuTTY to use an RSA key so when I log onto the server with PuTTY, I need only enter my username. The batch script has a command: hg pull ssh://myusername@mydomain.com/targetrepo/ ...but this only opens

Mercurial Repository Nightly Pull from a subdirectory on a server

那年仲夏 提交于 2019-12-08 04:59:28
I am attempting to run a Windows batch script nightly to pull a fresh copy of data to my local hard drive from a Mercurial repository, overwriting any data I have locally. The server on which the repository is located has many repos, so is located in a sub-directory on the server. I have set up PuTTY to use an RSA key so when I log onto the server with PuTTY, I need only enter my username. The batch script has a command: hg pull ssh://myusername@mydomain.com/targetrepo/ ...but this only opens a prompt for me to enter my password. Normally, this would be fine but because the pull will be