mercurial-extension

Merging mercurial repo after lfconvert

江枫思渺然 提交于 2020-01-16 21:55:49
问题 I want to use the largefiles extension to track binary data in my repos. The documentation states that you have to convert your "normal" repo to a "largefiles" repo. Like so: hg lfconvert normal_repo largefiles_repo Is it possible to merge two repos after they have been converted to a largefiles repo without both of this repos to have been converted at the some "time". Or do all repos have to share a common "lfconvert event" to be able to merge between them? 回答1: It looks like lfconvert

Automatic conversion of specific binary files to text to compare (diff) in Mercurial

白昼怎懂夜的黑 提交于 2020-01-04 13:49:31
问题 I have several -small- binary files added in my Mercurial repository. The files are the "source" files of one of my development tools (report / form / class definitions). I made a program that dumps this binary files to a text file to allow easy diffs between them. Is there any way to tell Mercurial that certain file extensions need to run this conversion before running the diff program? Or I have to set my conversion program as the main diff tool and run the conversion -or not- and then run

Automatic conversion of specific binary files to text to compare (diff) in Mercurial

不想你离开。 提交于 2020-01-04 13:47:05
问题 I have several -small- binary files added in my Mercurial repository. The files are the "source" files of one of my development tools (report / form / class definitions). I made a program that dumps this binary files to a text file to allow easy diffs between them. Is there any way to tell Mercurial that certain file extensions need to run this conversion before running the diff program? Or I have to set my conversion program as the main diff tool and run the conversion -or not- and then run

Syncing SVN to Mercurial using svnsync & hg convert — misses svn:externals?

泄露秘密 提交于 2019-12-23 19:28:05
问题 I've created a Mercurial mirror of an SVN repository (using this tutorial: http://oreilly.com/opensource/excerpts/opensource-mercurial/migrating-to-mercurial.html). The sync works great, except I've noticed it's not picking up an external repository that is referenced in the main SVN repo... I'd ideally like to be able to pull everything as a single repo into Mercurial (along with changesets if possible). What I'm not sure of is: is the missing external a limitation of svnsync, or a

How to use Visual Studio (vsdiffmerge) as external diff tool in SourceTree for Mercurial?

筅森魡賤 提交于 2019-12-20 17:34:14
问题 I am using Mercurial for my source control and SourceTree to manage it. I want to use Visual Studio's built in diff and merge tool (vsdiffmerge) for comparing files however this is not working. I am currently using the following: Diff Commands: \"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsdiffmerge.exe\" Diff Arguments: \"$LOCAL\" \"$REMOTE\" //t Merge Commands: \"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsdiffmerge.exe\" Merge Arguments: \"

Mercurial sparse checkout

一世执手 提交于 2019-12-11 02:18:34
问题 In this F8 conference video(starting 8:40) from 2015 they speak about the advantages of using Mercurial and a single repository across facebook. How does this work in practice? Using Mercurial, can i checkout a subdirectory (live in SVN)? If so, how? Do i need a facebook-mercurial-extension for this P.S.: I only found answers like this or this from 2010 on SO where i am not sure if the answers still apply with all the efforts FB put into it. 回答1: From your question it is not clear if you are

What is the status of the Mercurial Shallow Clone extension?

半城伤御伤魂 提交于 2019-12-11 01:58:12
问题 Talk of Shallow Clone Extension There had been some talk about work on an unofficial Shallow Clone extension for Mercurial. This extension would function similarly to the git clone --depth X extension, but would provide better push support and merge safety. Basically, it would let users clone a smaller sub-set of history to save time and space, but still benefit from all the other benefits of hg. After all, not all developers need the whole history back to changeset 0 to be productive. Links

How do you specify authentication information for Mercurial as part of Jenkins? (mercurial_keyring)

独自空忆成欢 提交于 2019-12-10 15:03:56
问题 I've got my code in a Mercurial repository (secured with a self-signed certificate) and I'm trying to set up Jenkins to work with it. I've got the Mercurial plugin installed in Jenkins (pointing to an install of TortoiseHg on the Jenkins Server/Slaves) and the Jenkins Job is properly configured to grab the source from the repository. When I build manually (ie, via the web interface) everything works as expected. However, it seems like the polling of the repository does not succeed as I get

How do I safely disable/remove the largefiles directory from a mercurial repository?

雨燕双飞 提交于 2019-12-07 09:38:53
问题 In the past, I have been working with the largefiles extension in mercurial to save data together with the code I have been working on. I think this was a mistake and I would like to remove the "largefiles" directory (8GB). Our network user directories are limited to 10 GB, and I need space. I have not used any large files for a long time now. I will not miss them when they are gone forever. So my questions are Can I remove the largefiles directory under .hg without damaging the repo? If I do

How do I safely disable/remove the largefiles directory from a mercurial repository?

廉价感情. 提交于 2019-12-05 14:39:29
In the past, I have been working with the largefiles extension in mercurial to save data together with the code I have been working on. I think this was a mistake and I would like to remove the "largefiles" directory (8GB). Our network user directories are limited to 10 GB, and I need space. I have not used any large files for a long time now. I will not miss them when they are gone forever. So my questions are Can I remove the largefiles directory under .hg without damaging the repo? If I do, will I be able to check out old code, even if some large datafiles are missing? Should I remove those