mercurial

Mysql Backup with Mercurial

Hi friends, is it possible to take ? I researched at Google, I found few articles, but in German and other langs, so didnt understand well. It would be great if we could get mysql back-up from server to localhost with Mercurial [at localhost]. maybe with Remote Mysql Connection, etc. do you know any way of doing this? is it possible? ...

GUI for mercurial on Snow Leopard

Recently my IT guy decided to move over from SVN to mercurial, now I need a good GUI tool that will do the remote clone and so on. I tried murky and macMerial, I can't figure out how to get them either to work. I've been using "versions" for svn. Thanks ...

What's the feature in Mercurial that gives me "checkpoints" that I can diff against without commiting frequent, breaking, small changes?

I'm developing a project, and I am making small, exploratory changes. After each change, I'd like to diff against the previous version I had. However, I don't want to commit each of these small changes to the permanent history until I'm satisfied that the final change should be made permanent. Then I'd like to commit it in one go. What'...

Place the repository not in the same directory as the working copy

Is there a way to place the repository (.hg/) not in the same directory as the working copy? Like you can in Git by using GIT_DIR and GIT_WORK_TREE environment variables. Background: I want to use Mercurial to keep track of modifications in important directories on Linux and Solaris servers. But I want to avoid polluting delicate direc...

Ignoring files/paths with RegEx in VisualHG

I am using VisualHG 1.0.7 and cannot seem to ignore the files that I want. The behavior I am experiencing is the RegEx values I enter for ignoring files appears to only be applied to items marked as ?: unknown. What I am looking for is a way to add RegEx values to ignore the following: files in any bin directory files in any obj ...

Search a Batch of Files for a Line of Text

I have a Mercurial Repository for a code project and I want to search all of the files, in all directories and sub-directories, for a given string. What is the best method, or program to do so? I can conduct this search in Ubuntu Linux or a Windows environment. ...

Is it possible to checkout a single directory from a Mercurial (HG) repository?

So, I'm trying to checkout just the TestNG plugin from the Netbeans contrib repository. (Or is it module? I'm new to Mercurial, so I don't really know the lingo yet.) When I run the following command... hg clone http://hg.netbeans.org/main/contrib/ ...I get the entire repository, which contains all of the the contrib plug-ins. Is i...

Mercurial error: abort no username supplied

Problem on WindowsXP (likely will happen on all Win installs), first time using Mercurial. I found the answer in an inobvious place so I'm asking/answering the question myself so others don't have to search like I did. First time using Mercurial on machine. Add new repoz: c:\bla\>hg add no problem. Next, commit: c:\bla\hg commit ...

Secure Repositories by User in Mercurial

I have followed the many helpful ideas presented in this SO question. Now the last thing I'm wrestling with is how to allow certain people to access and view the contents of certain repositories. I want to have a central Repos folder on my machine, where all Hg Repos will live, but I would like to say that Person X can see Repos A, B a...

real-word use of Mercurial with a Team Foundation Server?

My shop uses TFS & is generally happy with it with the exception of the lack of local repository commits/reverts. I'm starting to use Mercurial locally myself to help manage smaller chunks of changes, then posting them to TFS. I see that Subversion has a 'bridge' component to automagically enable this if the central VCS is Subversion. I ...

Mercurial: Acl Extension Sample Of Preventing Web Access

I can see how you can use the Acl Extension to control the push/pull to a particular repository by certian users, but can you control "WEB" access to a repository using the Acl Extenstion? I would like certain repositories to only show up for certain users. I am deploying on IIS7, so the solution will need to work in that environment. ...

hg archive to Remote Directory

Is there any way to archive a Mercurial repository to a remote directory over SSH? For example, it would be nice if one could do the following: hg archive ssh://[email protected]/path/to/archive However, that does not appear to work. It instead creates a directory called ssh: in the current directory. I made the following quick-and-...

Can TeamCity pull from a tag instead of the tip when retrieving files from a Mercurial repository?

This is with version 5.0.2 of TeamCity. ...

Is there any way to delete local commits in Mercurial?

So I keep making a silly mistake in Mercurial. Often times, I'll start work without doing an "hg pull" and an "hg update." When I try to push my changes, I get an error. Is there any way to delete my local commits so I can avoid creating multiple heads, branches, ect? I just want to delete my local commits, merge my changes with the ...

.hgignore no working. + mercurial

Hi friends, I use mercurial for php projects at localhost. and my .hgignore is not working :/ we host it under .hg/ folder, dont we? I googled so much for the issue, my code is exactly same with other examples, but mine is not working :/ /.hg/.hgignore file # Allow *. syntax syntax:glob # Ignore these files .hgignore .htaccess .hg/...

Mercurial workflow for ~15 developers - Should we use named branches?

My team's just starting out with Mercurial and a central repository. We have Hudson building the tip of the "default" branch - which is basically our mainline. We had a check-in policy with our old VCS that code reviews, testing, etc. must be done before you check-in to the mainline. So, let's say you are working on feature X. You wo...

About Mercurial, .hgignore file and glob syntax

Is it possible, while using glob syntax for an .hgignore file, to recursively ignore certain files and folders, except one? Assuming that you have: a/ a/b a/c a/d Something like: syntax globe: a ^a/b This should ideally ignore c and d and keep b. I know this has been discussed in other SO questions, but it seems they're all using...

Have you converted from subversion to mercurial? Was it worth the effort?

I am in the process of knowing Mercurial versioning system better, and I am considering convert from SVN. Anyone already converted? Was that difficult for you and your team to switch? Can you give any advice to stay with SVN or go for Mercurial? Thanks ...

How to best set up Mercurial on a Clearcase static view? (Set up "checkout" hooks?)

I'd like to set up a mercurial repository in a clearcase static view directory. My plan is to clone from that directory, do all my real work in a mercurial repo and then push my changes back to the shared Hg/Clearcase dir. I'd like to hear general suggestions on how this might work best, but I foresee one specific problem: Clearcase lo...

Pushing Mercurial changesets from my local clone to "the real" clone?

Hi, I created a project at Google code, and am using Mercurial for it. I made a clone of the project: farm-myclone up on Google code. I pull out a copy of farm-myclone, and start adding files, modifying files, etc. I use hg commit, then hg push to get changes back into my clone's repository. Now I want to move these changes into the...