mercurial

How to commit and push projects in mercurial using MacOSx

Hi friends how to commit and push projects in bitbucket using MacOSx $ hg commit abort: no username supplied In windows hg clients it ask username and password in pop up windows. How does this hapen on macosx? I did supply commands to terminal but no luck. ...

How to get the tag changeset after you clone or pull to a tag using mercurial?

As the definite guide aptly points out (search for "Tags and cloning"): When you run hg clone -r foo to clone a repository as of tag foo, the new clone will not contain any revision newer than the one the tag refers to, including the revision where the tag was created. The result is that you'll get exactly the right subset of t...

problem using VCSCommand Vim plugin with Mercurial

I just installed VCSCommand and I'm getting an error of "No suitable plugin" whenever I try to run a command. I have a filed loaded in Vim that is in a directory with a mercurial repository. I found some explanations that the "No suitable plugin" error may be displayed if you're not in a "working directory", which I took to mean that t...

Is it a good idea to create a Mercurial repository in a screwturn wiki site?

I have two ScrewTurn wiki documentation sites that are used for our system and user documentation. My idea is to create a Mercurial repository in each wiki site root directory. Then on a daily basis have a scheduled process add new files and commit changes to the repository and push the changeset to a backup repository. I realize that...

Does branching in Mercurial work as nice as Git?

I have read nice things about "branch" in Git recently. It seems like Mercurial's way may be to clone a local repo? But Mercurial has branch too. Does it work as nice as Git? What about saving disk space in Mac / Linux / Windows? Do they all do links on Mac and Linux but make a copy on Windows? ...

Pushing changes in mercurial central repository changes the owner and group

I have a central repository and 3 users with local repositories that pull and push code to the central one. I have a defined user hg and a group called hgusers to which all the 3 users belong to. Every time a user pushes code, some directories and files get their owner and group changed from hg and hgusers to userName and userGroup res...

How to merge to a revision using VisualHG

This one should be easy, however, it has escaped me: Is there a way to merge revisions using VisualHG? I know I can resort to TortoiseHg, but I wanted to merge from within Visual Studio. Thanks a lot! ...

How to get mercurial to emit base revision of conflicted file as well as modified version?

I'm trying to merge two branches together using mercurial and there are some conflicts. When working in Subversion, merge conflicts would result in the conflicted file being replaced by a unified diff, my own version of the file with the ".mine" extension added as well as the last checked in version of the file with the ".rxxx" extension...

how cut the mercurial repository from certain revision / push

I have broken some code in my last 4-5 revisions / pushes to main repository. At now I want to completely delete this pushes and start HEAD of my repository from that point. How can I do that? In SVN there is dump command, which copies whole repository from one revision to another. There is some substitute in Mercurial or oher way? ...

Enforce mercurial commit message policies via pretxnchangegroup?

As described in: http://hgbook.red-bean.com/read/handling-repository-events-with-hooks.html I thought I could write a small hook which rejects checkins with malformed commit messages. Thats no problem, the issue I encounter is the following work flow: If a developer makes let's say 10 local commits, some of them are malformed, and then ...

Mercurial - all files that changed in a changeset?

How can you determine all the files that changed in a given changeset? I'm not looking for a diff in this case, just a list of add/remove/modifications. hg log -vprX does a list of diffs but I just want the files. ...

Migrate from CVS to Mercurial: Separating projects

We have a CVS repository with years of development history and 3 projects under one project (CVS folder). Those should be different repositories in a Mercurial repo. They are in the following scheme: Project ---Sub Project 1 ---Sub Project 2 ---Sub Project 3 Is there a way to automate this during the cvs2hg process? If not, what would...

Simple question on TortoiseHg

Say one cloned a repository and his main job is to edit it locally. What is the proper operation to follow so that he can just merge with the initial upstream while keeping his changes? i.e. like 'Update' in TortoiseSVN. ...

Advanced Mercurial Tutorial

I've already read through some basic Mercurial tutorials. Are there any advanced tutorials? ...

How set the default repository

How can I set default remote repository for mercurial local repository? ...

Problems configuring eol extension in Mercurial

Hi. I'm trying to clone a unix-hosted Mercurial repository to a Windows computer. I'm hoping to use the eol extension so that my text files with LF endings on the server have CRLF when cloned to a Windows computer. Previously I've used the win32text extension which has worked fine, but since the general consensus seems to be that the e...

Shared directories in Mercurial

I have a development project in Mercurial. In the project I have multiple directories scattered about which all should contain the same basic files (CSS, images, etc). I'd like to have all of the directories point to the same underlying directory, so that if I edit a file in one place, it is updated everywhere else. Basically a UNIX so...

please help regarding bitbucket

I have mistakenly sent API username and password in bitbucket code, how do i delete that line ? Please help, it's in public repo. ...

Continuous Integration with Mercurial, MSBuild, ASP.NET

I recently moved from Subversion to Mercurial. I'd like to setup Continuous Integration (CI), but I'm unsure how a DVCS CI differs from an Subversion CI implementation. I'd like to hear how others have implemented their DVCS CI implementations and what tool sets were used. ...

Have Mercurial completely forget a file and history

I am trying to have Mercurial forget a file, and all the history of that file. I have been tracking some binary files that have been changing a lot, and so my .hg/store/data folder now consists of 660MB of data that I don't want to keep pushing around. I have considered just starting a new repository, but then I would lose all my code ...