mercurial

Mercurial commit messages and log, what encoding is supported, does Hg care at all?

╄→гoц情女王★ 提交于 2019-12-22 05:39:14
问题 I tried doing a simple commit through my wrapper library for Mercurial, using the simple text of Unicode:æøåÆØÅ as my commit message. This is written to a text file and given to Mercurial with the appropriate parameter: hg commit --logfile FILE If I subsequently look at the repository with TortoiseHg, the characters are reproduced correctly. On the Console, they are mangled: [C:\Temp] :hg log changeset: 0:6a0911410128 tag: tip user: Lasse V. Karlsen date: Wed Dec 01 21:48:54 2010 +0100

How do I delete/remove a push from Bitbucket?

房东的猫 提交于 2019-12-22 05:14:47
问题 I pushed on the wrong repo, and now the admin wants me to remove my last push. I can't just delete the repo. How do I remove my push from the repo? 回答1: In the admin settings of each repository, there's a menu item called Strip commits : To delete your complete push, you need to strip the first (oldest) revision that you pushed. Bitbucket will then remove this revision and all its descendants: 来源: https://stackoverflow.com/questions/22976506/how-do-i-delete-remove-a-push-from-bitbucket

How do I clone a repository and preserve the file time stamps?

房东的猫 提交于 2019-12-22 05:14:34
问题 How can you get a copy of the source code from the server on a new machine, but preserve the file time stamps? With the following procedure, all the time stamps are set to the current date/time. Manually create the root folder for the repository CD into it Perform an hg init Use TortiseHg to clone the repository from the server to the folder. Is there an option, or different procedure that will preserve the time stamps? In this specific case, using Kiln with TortoiseHg. 回答1: You could use the

How to remove largefiles from Mercurial repo

谁说胖子不能爱 提交于 2019-12-22 04:53:06
问题 See also this question. Without knowing what I was doing, I enabled the largefiles extension, committed a file and pushed it to kiln. Now I know the error of my ways, and I need to permanently revert this change. I followed the guidance from SO on the subject; and I can remove largefiles locally, but this doesn't affect the remote repos in kiln. I have tried opening the repo in KilnRepositories on the Kiln server and nuking the largefiles folder (as well as deleting 'largefiles' from the

Get my database under Version Control using a DVCS [Mercurial]

扶醉桌前 提交于 2019-12-22 04:47:11
问题 What would be the best approach for versioning my whole database ? Creating a file for each database object (table,view,procedsure..) or rather having one file for all DDL scripts and any new change will be put in a separate file ? What about handling changes made in a Database manager tool ? I'd like to have a generic solutions for any kind of RDBMS. Are there any other options ? 回答1: I'm a huge VCS fan in general and a big Mercurial booster, but I really think you're going down the wrong

How to use Mercurial from Visual Studio 2010?

蹲街弑〆低调 提交于 2019-12-22 04:08:12
问题 Version Control noob alert I've already installed both Mercurial, TortoiseHg and VisualHG into Visual Studio 2010. I've set in Visual Studio my source control to Mercurial. When I right click on my solution, I already see HG's buttons in the context menu that appears there. My question now is, how do I make this version control thing work? It seems I'll have to make some kind of configuration before, as it tells me "Solution is not under Mercurial version control" when I click in "HG Status".

Mercurial Commit Charts / Graphs [closed]

北城以北 提交于 2019-12-22 04:02:00
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Is there anything that can produce pretty charts / graphs for Mercurial commit history in a repository? I'm thinking something like

Has anyone had success with TortoiseHg's “Auto Exclude List”?

依然范特西╮ 提交于 2019-12-22 03:50:51
问题 I have a config file which I often modify in order to do some testing. About 95% of the time I modify this file, I do not wish to commit to the repo. It's a nuisance to always be on the lookout during commits. I discovered this supposedly nifty feature in TortoiseHg called "Auto Exclude List" which is supposed to take a comma-separated list of files that you want to default to unchecked (on commits, reverts, shelves). This sounded like a perfect, non-hackish way to make my life simpler. The

Mercurial .hgignore Negative Lookahead

自作多情 提交于 2019-12-22 03:46:49
问题 Using Mercurial, I need to ignore all files except for those in a certain directory called "keepers". On the face of things, this seemed easy using Regex and Negative Lookahead; however, although I am able to verify my regex in Regex Buddy and other tools, in TortoiseHg, it doesn't work as expected. Files: junk\junk.txt junk\text keepers\test\test keepers\test\test2\hi.txt keepersblah.txt Only the two files under keepers should be not be ignored. Here is the regex I hoped would work: ^(?

How do clone a Mercurial repository into a directory that already exists?

╄→гoц情女王★ 提交于 2019-12-22 03:38:20
问题 I have a client's Django project that I'm developing locally, using Mercurial for version control. I push my local repository to my personal remote server (where I keep all my projects) and then when I come to deploy it (on whichever web server) I clone that respository there from my personal server. This works fine on most servers (where I have total control) but I have a few projects where I'm deploying on to WebFaction. WebFaction is great, but a little unusual with it's setup, as I need