Hi,
Is there any way to verify/authenticate checkins in Mercurial? I'd like to roll out HG across our organisation (60+ developers) and I'd like a way to ensure everyone's checkins are from the correct user and that they are all in the correct format.
During trials we found that some users checked in under completely different username...
I am trying to get mercurial to ignore hidden files for a specific user. I used the directions here:
http://stackoverflow.com/questions/2395179/how-to-make-mercurial-ignore-all-hidden-files
and got it to ignore files in a specific repo. I want to extend this behavior to all hg repos for a specific user.
The hgrc man page says yo...
I understand this question is on the edge of being acceptable for stackoverflow, but still, I feel it is worth asking.
I've started using bitbucket.org a couple of days ago, attracted by mercurial hosting, 1 free private repository, a wiki and an issue tracker. Just what I needed for my project.
I have to say, the features offered and ...
We started using Mercurial a several weeks ago. Most developers follow this workflow:
work on a feature
commit -m "Worked on feature ABC"
pull -u
If branch
merge
commit -m "Merge"
push
Today, one of our developer suggested that we do:
work on a feature
pull -u
if branch
merge
commit -m "Worked on feature ABC"
push
That way, w...
Is there any Mercurial extension that can grep for "console.log" that might have been accidentally left over as debugging code?
Right now this is what I am doing:
1) hg out ssh://....
the above is to see what is the first committed revision in my local repo, say, the smallest revision is 3456
2) hg diff -r 3455 | grep "^+" | grep ...
Using Mercurial, I need to ignore all files and directories except directories "tests" and "languages" and files in those directories. That all must be done with regex and .hgignoere
Files:
tests\junk.txt
cms\tests\some_file.txt
cms\languages\users\lang.txt
languages\lang2.txt
tests.txt
proba/tests.txt
I tried with this:
^(?!tes...
We are in the process of upgrading from Windows XP x86 to Windows 7 x64, and I'm testing for compatibility problems with our current workflow.
Currently, we store central Mercurial repositories on a network share, clone copies to our workstations, and push our changes back to the network-based repositories. This works perfectly in WinX...
So I accidentally included a config file (different for each machine) into our mercurial repositories.
How can I get Mercurial to not include it in version control? I don't want to delete the file since I still want it. And I don't want to cause the file to get deleted on other developer's working directories either.
And how do I do...
Merging in my Mercurial repository is not working like I expected.
Several days ago I started work on a feature then realized I could not finish it before sprint end. I updated back to the point in time that I started work and continued from there (effectively creating a branch). Now I am ready to merge the changes from that branch ba...
I have a bug that is present in one changeset but not its parent. Is there some functionality in mercurial where I can "update" in smaller increments, to see where the problem starts?
For example, if the diff is a change in functions A, B, and C, I would run the test suite after making each of those changes, to try to diagnose the probl...
I have reccently setup Hg on my server and my hgweb.config contains this:
[paths]
repo = C:\HgRepositories\*
In the web browser, where it shows all the repos in that directory, each one has a name that is prefixed with "repo". For example repo/MyProject
I don't want that. Is there a way just have have all the repos accessible purely ...
We're getting migrated from Subversion to Perforce at work. I've been using git-svn and it's kept me very productive. I want to keep using a DVCS for my own development.
Which works best with Perforce in your experience, git-p4, Perfarce (hg) or something else I've never heard of?
What works well (and what doesn't)?
...
We got all psyched about from from svn to hg and as the development workflow is more or less flushed out, here remains the most difficult part - staging and integration system.
Hopefully this question goes a bit further then your common 'how do I move from xxx to Mercurial'. Please forgive long and probably poorly written question :)
W...
I want to keep Mercurial servers at four different locations, and want them to be identical at any given time. Meaning, any change to any of them must be propagated to all other servers. How to do that?
...
I really can't figure it out. I'm new to Mercurial and TortoiseHg. Read alot of docs and still cant find answer. I know that one way of branching is making a copy. Thats clear but there is another way called "named branches" but this is one thing i can't understand.
For example i I have new repo first branch is called "default". Then i ...
Hi friends,
I need to start using version control system for my Drupal projects, and I decided on Mercurial.
During last 2 days I have been googling to find some tutorials, guides, tips, anything about "how to use mercurial for my drupal projects", but I just can't find anything! :/
Can you advise any link or tutorial or anything fo...
Hi friends,
Here is a real version control system dummy! proper new starter!
The way I have worked so far:
I have a Drupal-6 web project www.blabla.com and making development under www.blabla.com/beta . I'm directly working on blabla.com/beta on server. nothing at my local, nothing at anywhere else. Only taking backup to local, time...
I'm really quite frustrated at this point. I have an existing hg repository that has months of coding history in it, and I want to get this into a private Github repository so I can work on it from there. Unfortunately I use Windows and I can't seem to find any way to convert the repository that I can actually get to work properly. Pract...
I've a mercurial repository to which I push my changes with eclipses MercurialEclipse plugin, using Team -> Push. Now the repository URL has changed, and eclipse always remembers the old url in the input field, which is preselected as default, and I need to select the new one from the pull down list. Very small problem, but annoying none...
Hi,
I have successfully installed mercurial on media temple grid server. But I can not find any information about setting up a mercurial server on grid so I can push/pull multiple repositories on my grid server.
How can I setup a mercurial server with multiple repositories on media temple grid server?
Thanks.
...