mercurial

What files will be changed vs added when I do an hg pull and hg update

So in Subversion when I do an svn up I get a list of files that were added, modified, deleted, and conflicted. When I do an hg pull then hg up -v it just displays a list of: getting file.ext but I have no way of know if that file is new or already existed. Is there a way to have Mercurial display the same sort of meta about if the file ...

Using teamcity on a Project with multiple Mercurial Repos

So why working on improving some of the development habits at the company that I work for I've decided to attempt to create a CI process using TeamCity. It was fairly straight forward until I got to the point where I was trying to set up my Build Agent to build a .sln that is comprised from about 11 mercurial repos (1 for each project). ...

Can I use Mercurial for multiple projects (in an approximately the same way as SVN)?

I have a private SVN repository that I use for all of my projects. It is backed up regularly, and I like being able to browse it over the web, when I need a little snippet of code. Now, I would like to move to a more modern platform for source control (say, Git or Mercurial), but I also like having all of my projects in one place. Is ...

Verifying Mercurial Changesets are from who they say they're from

I'm investigating using Mercurial in a corporate environment. The plan is to use central repositories hosted by a webserver (IIS) which developers will push to once they've tested changes locally or within their teams. I have IIS configured to authenticate users against Active Directory, but there seems to be a hole in that while I can...

Mercurial - keeping deployed and development repositories

I am working on a PHP website where I have just added a switch for what environment it is running in - development for when it is running on my local site, and production when it is running live on the web host: <?php define('ENV','development'); //or define('ENV','production'); I have the site under VC with Mercurial, and usually sim...

Mercurial: extdiff makes an unnecessary snapshot of the working directory?

Here's what I have in my Mercurial.ini ... [extdiff] cmd.bcomp = C:\Program Files\Beyond Compare 3\BCompare.exe opts.bcomp = /leftreadonly So, the extdiff extension is working fine except that even when one side of the comparison is my working directory, as in the case where I only give one revision argument, e.g. hg bcomp -r 25 to g...

How to use Mercurial from Visual Studio 2010?

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...

How to keep a Mercurial repository small?

My central repository is stored on an 8GB USB stick. I accidentally committed some big files, so the repository doesn't fit on the stick anymore. Is there a way to correct this situation? ...

Git (or Hg) plugin for dealing with Microsoft Word and/or OpenOffice files

Has anyone come across a Git or Hg plugin for "meaningful" diffs/merging/branching of OpenOffice or Microsoft word files. I know I can 'checkin' .doc files but both Git and Hg treat them as binary blobs. I'd like to be able to do all (or at least many) of the normal revision based operations on the text of the file. And yes, I do know...

Mercurial/extdiff not changing to temp dir (as I THINK it's supposed to)...

Using Windows, Mercurial, and the extdiff extension (for Mercurial). I was trying to set up extdiff to use WinDiff as an external diff tool, but I think I've narrowed the problem down enough to say that the trouble is before I'm even getting that far. From what I understand of extdiff, it merely calls your cmd.winmerge program, and pas...

TortoiseHg: Push Branch

I am working on some bugs in our code base and I have created separate branches for each bug. I have rebased one of the branches on top of default. I generally use the mercurial plugin for Eclipse and I would do a push (when I am in the default branch). This pushes my changes on the default branch. I tried to do the same thing with Tort...

How/Where to back up local checkout of a DVCS between pushes to the server?

Do you (and your team) back up your local checkouts of your DVCS (Git, Mercurial) repository between pushes? How do you do so? If your hard drive were to fail after writing a bunch of code that was not yet stable (therefore not yet pushed), how would you get it back? ...

How to push code to multiple servers by Mercurial ?

Hi, How can we push code to multiple servers? We have many servers which needs to have the same copy of the code. It is difficult to push to individual server. I know mercurial has hooks but none of them gives a proper solution. ...

How do you search across multiple mercurial repositories

I'm setting up multiple Mercurial repositories for all of our different projects, probably close to 50. Is there a way to search across multiple repos for a specific file or string? For example, say that a database column is renamed, how would I search each repository for any reference to the old column name? I know that I can do this fo...

TortoiseHg: Has a changeset been pushed?

I have been working on a branch and have made some commits. Now is there some way I can see in TortoiseHg if those commits have been pushed or are they still just local? ...

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

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 ac...

Can you prevent default-push, but allow pull?

I want to know if there's a way to turn off the default push, but keep the default pull when using Mercurial. I don't want to accidentally pollute the master repository by inadvertently pushing from a an experimental repository. ...

How can I permanently forget T4 generated files from being version control using Mercurial?

How can I permanently forget T4 generated files from being version control using Mercurial? It seems that Visual Studio (VisualHG) automatically adding them to version control. ...

Ignore files in Mercurial using Glob syntax

I'm using Mercurial and I have a following structure: files test demo.jpg video.flv video.doc sport demo2.jpg picture.jpg text.txt demo3.jpg demofile3.doc I want to make a glob filter that only ignore all "jpg" files in all directory that are children of "files" directory I tried with ...

Getting Mercurial in-process hook to run on Windows

I'm trying to get a Mercurial in-process hook to run on Windows. The problem is not how to write the hook (I want to use an existing one, in this case BugTracker.Net's hook for Mercurial integration - I didn't find a direct link to the file, but you can see it if you download BT.net here, it's in the "mercurial" subfolder). The problem i...