Reputation: 51951
I am looking for a step-by-step Mercurial guide for iPhone projects. Please assume:
hg
already installed As a newbie, I am particular interested in:
Please do not discuss how hg
is better/worse than any other SCS. This is a how-to question, not a why question.
Thanks!
Upvotes: 2
Views: 721
Reputation: 70976
A more general exclusion tip that applies to all source-control systems is that it's really useful to set up Xcode to use a shared build directory somewhere away from the source code. I prefer to use /Users/Shared/builds/ but it could go anywhere. The nice thing is that you don't need to bother excluding build products from hg, and it makes it convenient to exclude them from backups as well.
You can set this up in Xcode's preferences, under "building".
Upvotes: 2
Reputation: 6721
Files you should exclude are: .DS_Store build *.mode1v3 *.pbxuser
. You can also always ignore stuff from other SCSs like .git
and .svn
. I also ignore .LSOverride
which is in some of my projects since I have multiple installs of the developer tools (for SDK betas) and sometimes want to override the standard launch service behavior.
These files can be ignored by listing them in a .hgignore
file in the root of the working directory. The .hgignore
file must be created manually. It is typically put under version control, so that the settings will propagate to other repositories with push and pull [1].
Upvotes: 1