I know how to view all changes in a changeset..
But let's say you update your source, you do a pull and you get 3 new changesets. How can you compare the current state of the remote repository (with the 3 changesets checked in) vs. the current source (on your local machine)?
I'd like to do this using the visual diff tool which I cur...
I have successfully converted my svn repository into mercurial, however when I clone this repo the default branch is given the project name instead of "default".
examples:
on remote server:
hg branch
default
on local machine:
hg clone http://server/hg/coolProject
hg branch
coolProject
I would expect the hg branch on my local mac...
I created a new branch using this command:
hg branch new_branch
After the first commit to the new branch, the default branch becomes inactive. If this is pushed the central repository will have only one head which belongs to the new branch.
When my colleague pushes his commits on the default branch, he will get this error:
pushing to...
I've installed Mercurial per MT's knowledge base file here.
Working with it server side using ssh from my Mac works fine. I can initialize repositories and the like, but pulling from the server or pushing from my Mac produces an error I don't understand.
Here's what I get when call hg push from my local installation (hash marks represe...
Hi,
I'm using mercurial for a project. I want to ignore a file within the project folder so it cannot be added to source control accidentally. Looks like:
/myproject
/src
private.cpp
public.cpp
so I want to explicitly ban private.cpp from ever being added, is that possible?
Thanks
...
Ok, so we recently converted from SVN to Mercurial.
We are using TortoiseHG normally.
In our one repository we have all of our projects, C++ / .NET / ASP. We have about 100 projects, all using common library projects.
So it would be quite difficult task to create multiple repo's for each project.
Now, we have the default branch, and l...
Is there a conversion utility from svn to hg that can deal with a branch hierarchy that's more complex than just a flat list of branches under /branches?
My repository has a directory that looks (conceptually) like this:
/branches
/projectA
/v1.x
/v1.1
/v1.2
etc..
IOW I need a tool that can get a tree structur...
Hi,
Just started working with Mercurial a few days ago and there's something I don't understand.
I have an experimental thing I want to do, so the normal thing to do would be to clone my repository, work on the clone and if eventually I want to keep those changes, I'll push them to my main repository.
Problem is cloning my repository...
I have imported our SVN repository into Mercurial and now we have entries for the same user that don't match.
e,g, for me I have
Sam Mackrill
smackrill
SMackrill
is there are way to merge these into one user?
...
I'm assigned the development of a feature for a project. I'm going to work on that feature for several days over a period of a few weeks. I'll clone the central repo. Then I'm going to work locally for 3 weeks. I'll commit my progress to my repo several times during that process. When I'm done, I'm going to pull/merge/commit before I pus...
I there a way to see what Mercurial commands are issued by Tortoise HG? For instance, if I use the Shelve command in Tortoise, I'd like to see how (and if) it calls 'hg shelve' under the hood.
...
The scope of this is that we have three main projects. Some of the source files are shared between the projects. There are nearly 3 million lines of code (not including comments or spaces) that has grown over 20 years. We currently use Source Safe for our version tracking. But this is starting to fail us as we expand not only our pro...
Is copying the .hg directory to another directory the same as cloning in Mercurial (using TortoiseHg although I think that's irrelevant) or does the cloning command in Mercurial do something special during that process?
...
I know how to configure the Mercurial signing extension. The problem that I'm having is that I don't want to sign each individual change set, I only want to sign revisions that introduce new version tags.
That's easily accomplished locally, however I can't come up with a way to enforce this on the remote server. I'd like people to conti...
correct me if im wrong, but isn't distributed SCMs for OS projects while centralized SCMs are better for corporate/private projects?
cause with eg. mercurial anyone gets an exact copy of the repository with FULL history features, while with centralized you only get the latest working copy.
im more focused on private projects so i wonde...
I read at Joel on Software:
With distributed version control, the
distributed part is actually not the
most interesting part.
The interesting part is that these
systems think in terms of changes, not
in terms of versions.
and at HgInit:
When we have to merge, Subversion
tries to look at both revisions—my
modifi...
Hi all.
I need some opinions here.
I'm working on a Django project using buildout to get the dependencies, etc...
I use mercurial as DVCS.
Now... I need to customize one of the dependencies, so I can do one of the following:
(* The changes may not be useful for everyone else.)
1- Do a fork of the project in (github, bitbucket, etc......
With Subversion, I used the Visual SVN server to get it up and serving in a few minutes. Is there an equivalent for Mercurial, so I can run hg.mydomain.com?
...
Is there a way to rewrite the hg commit message if the wrong information was entered? We always include our Bug ID when we commit a changeset. For instance:
hg commit -m "Bug 14585: LastName field should be mandatory"
But If I put the wrong bug ID, is there a way (through an extension maybe) to fix the comment once the changeset has be...
I am working on a system that performs continuous integration and I am looking for a method I can use to get the most recent changeset from a Mercurial repository without creating a repository locally.
I have considered using clone but this method will only work if you have set a working directory locally (since this will be occurring o...