I've recently started using mercurial for version control in a Java project. When I run my program, the input parameters it has used to produce certain a output, are written to a specific file. It would be nice if I could add the current mercurial changeset number (indicating the version of my program) to that output file as well.
What ...
I am looking for a step-by-step Mercurial guide for iPhone projects. Please assume:
hg already installed
the audience is comfortable with command line operations
everything is on OS X
As a newbie, I am particular interested in:
what files should be excluded
how to exclude above files
guideline/suggestion of naming builds
any rel...
The scenario is that I arrive at work one morning and pull, update, merge my mercurial tree. From the now latest revision I begin working on todays task. I reach a logical milestone and does a commit. The tree now looks like this:
* <- my first commit for the day
|
* <- merge commit from shared repos by team
Now the boss comes along...
I have a local machine ("laptop") and a shared Mercurial repository on another machine ("server").
The shared repository is set up as a multi-repository as described in the Mercurial documentation using Apache, the hgwebdir.cgi script and Mercurial 1.4.
The setup works in the sense that I can browse the projects (repositories) in the ...
I am trying to use Beyond Compare for Visual Diff in TortoiseHg. eg Right click on a modified file in explorer and select Visual Diff from TortoiseHg context menu...
BeyondCompare opens but only shows the 'welcome' screen and not the file I want to diff. Am I missing something?
I have setup the mercurial.ini file as follows:
[extens...
Hi,
Mercurial supports a handy archive command which allows you to export all files as they were in a specific revision (thanks to Ry4an for pointing this out in a comment) to another folder/zip file etc. This is done as follows:
hg archive -r REV destination
Is there a way to export only the files changed since a certain revision an...
I have 2 servers with same cloned Mercurial repo but with different config lines in some files in this repo. How can I control this files via Mercurial but haven't problem when pull/puss between servers?
...
I don't see the options to accomplish this. I want to only push changesets related to my default branch, not any other local branches I have.
I thought I could do this by using the Repository Explorer like so: On the toolbar below the repository address, the first combo box allows me to select a branch. I set this to default. However o...
I'm trying to understand why the below is occuring:
It appears that I have started another branch, but it has no name, and I do not remember creating a new branch. Why did this new head(branch) get created? How do I keep it from happening?
...
Is there a way to make Mercurial treat a file as if it matches the source control copy even if it has been altered? This was an easy trick to do with Team Foundation Server / Source Safe where just making the file writable through explorer would make those systems ignore that file on check ins.
(Note this is a file that is checked in an...
There are a few different tools for Subversion that run in the background, pinging the central repository every few minutes, and will alert you if any changes are detected (I'm using Windows 7, but this is true for OS X and Linux as well).
Is there anything like that for Mercurial, that will watch a specific repository and alert me to a...
The context: i have a project, that contains configs/ directory, which contains (surprise-surprise!) a set of config files: database.php, facebook.php, twitter.php, cache.php, etc
What I did in svn: I have created branches per specific file and made changes there (changed database connections, facebook API keys, etc). So they were store...
Is there any option to restrict a user to use hg push -f? Because it will remove intermediate commits by other users.
...
I created a hello world app with rails HelloWorld command. I ended up with many directories:
app
config
db
doc
lib
log
public
script
test
tmp
vendor
Should all this be under sources control? What would be a good default .hgignore file for a Ruby on Rails app folder?
...
For example, I add new file forget about hg add, the folder is green but file status show one file with question mark.
...
I deleted a project in my solution, committed many times and now found out that I still need that deleted project. Is there a way to restore it with keeping it's history?
...
Is there a way to automatically run the update command after issuing the Team -> Share -> Pull from default command from the menu? TortoiseHg has a configure repository option for the Synchronize command, but I believe this will only apply when using the Hg Explorer Integration.
...
I need to be able to update my ec2 instance from a label in mercurial when it resets so my application is always set at the right revision.
It'd be great to be able to push my changes to a mercurial host and have my instances automatically update across the ec2 network when they are reset!
I really don't want to host mercurial on the s...
design sync uses RCE as a backend store. RCE is supposed to be the next version of RCS.
Does anyone has any experience with migration of design sync or RCE to any of the newer version control system?
...
Can Mercurial print command success messages instead of no response in the output prompt?
...