mercurial

Which SCM can comfortably handle 90,000 files

I have a folder which contains a whitelabel-esque system; theres way over 90,000 files in there. Currently its stored in SVN and we just checkout the sub-folders as required. Would mercurial or another SCM be able to handle having the lot checked out at once without it dying when you try to commit. ...

Mirroring static websites to Google App Engine using a Mercurial repository

Hi there everybody. I would like to know if something like Drydrop, but using a Mercurial repository instead of a Git one, exists. (I know that I could just mirror my original repository to Github or some other Git hosting service, I only wanted to be sure there was not a more direct alternative). Thank you. ...

Is there a way to have Eclipse automatically detect and import/delete projects in workspace?

I have a Mercurial repository with a lot of projects and a lot of branches in it. Some branches do not contain some of those projects (because they branched before those projects were created) and some branches contain extra projects. Consequently, if I do a switch from branch A to branch B, I sometimes end up with some projects "closed...

Serving multiple repos with hg serve. How?

The wiki mentions it's possible to do this under hg serve, but there aren't any examples (such as a sample webdir-conf file). Yes I know it would be better to do this all under Apache, but this is a local machine and hg serve just makes sense for us. ...

Mercurial share extension: how to unshare?

Hi, I'm using the Mercurial share extention in the Mercurial 1.6.4 supplied with TortoiseHG 1.1.1 on Windows (XP 32 bit). More info at: http://mercurial.selenic.com/wiki/ShareExtension I've been using the share extention, works nice, in both directions. The main repo is on a local harddisk, the shared repo is on a network share (Samba...

What files are generated by Xcode when compiling and linking?

Since I'm used to developing in Java, I'm familiar with what files get generated by the build process and can tell what files to exclude from SVN and HG when I do comits. I'm just starting out learning some iOS app building using XCode. With XCode and Objective-C on a Mac, I don't know what files get generated. If there are files sp...

CruiseControl.NET's Filtered Source Control Provider Not Detecting Modifications When Using Mercurial

We are in the process of switching to Mercurial. Our repository has a number of different projects, so we are using the filtered source control so that only changes to a project’s files trigger a build. I’m seeing in my ccnet.log that CruiseControl is correctly grabbing the modification list from Mercurial, but it always reports "No mo...

How to find the diffrence between two directory using byondcompare or kdiff exe

Hi all, i have a local and remote repository and have to find the difference between them by using byond compare or kdiff. i made changes in hgrc as well mercurial.ini file as below. [extensions] hgext.extdiff= [extdiff] cmd.bc3diff = C:\Program Files\Beyond Compare 3\BCompare.exe opts.bc3diff = -f '+next' '+execute "DirDiff ".argv...

Mercurial commit messages from local to central repository

I recently started using Mercurial and like the way I have VCS protection for my individual development without checking it in to the central repository, then I push to the central repo when I have something ready for the rest of the team. When I "hg commit" I write a commit message relevant to the addition since the last time I committ...

How can I build a version tagged in Mercurial with Hudson?

I'm using Hudson to build my project from my Mercurial repository. There are two jobs: One builds the tip, the other should build the latest release. When I tag a release and then use that tag in the field "branch", I get this error: [workspace] $ hg update --clean --rev Release_1_2_beta1 abort: unknown revision 'Release_1_2_beta1'! W...

Convert a SVN repo to a HG repo and discard revision comments

I want to create a HG repository from a SVN repository, but I do not want the HG repository to have any of the commit comments. What would be the easiest way to do this? ...

git clone with different file permissions

On our server are three (in reality: thousands of) text files stored in a bare git repository: A.txt, B.txt, C.txt. User "admin" should view/edit them all. User "Foo" should view/edit "A.txt" and "B.txt" but he is not allowed to see the content of "C.txt". User "guest" should only be allowed to view/edit "A.txt". All three users sho...

Mercurial templates: have "{branches}" return "default"?

What's the simplest way to have hg ... --template '{branches}' return default instead of an empty string when the changeset being printed is part of the default branch? ...

What is the best Mercurial clone / repository strategy?

There can be: 1) just clone from remote repo as needed (each new one can take 20 minutes and 500MB) 2) clone 2 local ones from remote repo, both 500MB, total 1GB, so always have 2 local repo to work with 3) clone 1 local one from remote repo, called it 'master', and then don't touch this master, but clone other local ones from this m...

How can I sync my custom CodePlex Mercurial fork against the main trunk?

Hi folks, I've made a fork of some codeplex project. Done some extra code, etc and have even pulled my custom code into the source control repo. In those few weeks and months since i was working on my own fork, their main trunk has been updated. how can i sync my code with that of the trunk? (the main reason for me wanting to sync my...

mecurial HG problem case-folding collision ?

1.first i have a file name readme 2.then i change it to readme 3.commit 4.push ok the problem is there is two readme and README how do i delete the readme on the repository ? when i do update i get this error abort: case-folding collision between readme and README Thanks Adam Ramadhan ...

Relational database backend for mercurial or git

What I like about fossil is that it uses plain old sqlite to store changesets, files, etc. I can use its command line tool to query the repository, but if I want something not supported by it, I can fallback to writing an sql query. Mercurial and git are more mature, they have more libraries, more momentum, but they use their own reposi...

Using Mercurial hgsubversion extension with SVN Externals

I'm using mercurial to talk to a SVN repository, and the repository is currently using SVN externals to pull in another repository. hgsubversion works really well for communicating with the repository, but it doesn't seem to work with SVN Externals. Is there a way to configure it to work with this? EDIT: Partial Solution SVN External...

Mercurial and Bitbucket: how to structure repos

I'd like to move from Subversion to Mercurial, and specificially to start hosting all my private stuff on Bitbucket. I'd like to know how adapt a large SVN repo to hg repos. I'm new to mercurial, too, but I think I understand the basics. I've currently got a single, large SVN repo. I have over 150 projects, most of them very small, all ...

Modify behavior of core Mercurial commands using extensions?

Is it possible to modify the behavior of a core Mercurial command (e.g. hg commit or hg status) by creating an extension? For example, would it be possible to modify hg commit to ask the user to enter an issue tracking ID? I understand that hook scripts could be used, but such scripts are not distributed via hg pull and need to be conf...